On 22 February 2013 14:01, Nathan Van Gheem <[email protected]> wrote:
> Very cool.
>
> FWIW, we use https://github.com/vangheem/princexmlserver to convert docs
> with prince on remote servers.

I wrote something similar a couple of years ago:

   https://github.com/malthe/prince-wsgi-server

It's not built on a framework, just plain WSGI.

It actually (optionally) integrates with webkit (using the
Python-bindings to libwebkit) such that it can process Javascript on
included <iframe> content. I needed this at some point to publish
graphs generated from SAS (which can export into dynamic HTML).

But ultimately, for `collective.ebook`, I decided on the arguably
cleaner approach of just embedding everything into a single HTML
document (it inlines images using base64-encoding) and pipe it to
PrinceXML using a standard subprocess.

\malthe
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to