We have a project on PubPub that is a book in chapters. Possibility to download pubs is now functioning (great!), but still with some difficulty. What I want is to set up a system where I can download chapters (i.e. pubs) programmatically - preferably as markdown. Preferably also images and references (citations) in some structured, standard way (e.g. as bibtex). I then could manipulate the downloads in
R/bookdown to auto compile a good looking PDF or ePub when needed.
I was wondering if there was some system/APIs in place to allow for this, or whether I could hack it up somehow. I have fair
R skills and some
perl but perhaps there will be a better way.