Thanks again Gergely, and again my fault for not giving all relevant details. There are multiple contributors to the markdown files and that is why running Pandoc locally is not the best solution. I want to generate the HTML file whenever someone pushes a changed markdown file into the Github repo.

I'm happy to build something that listens to Github webhooks, converts the changed markdown file to html and pushes this back to Github. I'm currently using Jekyll to do this locally, so I would probably do this in Ruby, e.g. as a Sinatra app with a minimal API around the jekyll build command. But before I embark on this I want to make sure someone hasn't done this already.

Best, 

Martin

Am Donnerstag, 27. Februar 2014 10:26:24 UTC+1 schrieb daroczig:
Well, that makes sense. Then another slightly off-topic idea: you could set up a pre-commit hook in your local git repository, so that it could convert your md files to HTML automatically before commiting the changes.

I promise I won't bother you with any other alternate solution :)

Best,
Gergely


On Thu, Feb 27, 2014 at 9:56 AM, Martin Fenner <m...-+Z+QprJ1jbpwFuiNLMe2Ig@public.gmane.org> wrote:
Gergely,

thank you for your answer, but I should have been clear that I need to use Pandoc as markdown to HTML converter - I use citations (and some other Pandoc-specific features).

Best, 

Martin

Am Donnerstag, 27. Februar 2014 09:25:53 UTC+1 schrieb daroczig:
Dear Martin,

slightly off-topic, but if you are using GH pages, there is no real need to turn md to HTML as Jekyll does that.

Best,
Gergely


On Thu, Feb 27, 2014 at 8:19 AM, Martin Fenner <m...-+Z+QprJ1jbpwFuiNLMe2Ig@public.gmane.org> wrote:
Dear list,

I am currently using pandoc locally on my computer to convert md to html files to be hosted by Github Pages - for a book on Open Science hosted at http://book.openingscience.org. I would like to do the same with a Pandoc webservice that ideally is triggered every time a markdown file changes or every 24 hours. I'm pretty sure someone has done this before. Can you provide some pointers and/or feedback?

Thanks,

Martin

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
To post to this group, send email to pandoc-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f8e94a93-3328-4fbb-bc43-8814a41bd956%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discus...@googlegroups.com.
To post to this group, send email to pandoc-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/ffebb980-69e3-4ecb-adf2-c583274d6bd4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/b07aeeba-daa9-4e7b-9120-66fd183de64c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.