WordPress.org

Ready to get started?Download WordPress

Forums

Export WordPress contents to a PDF (6 posts)

  1. lxg
    Member
    Posted 7 years ago #

    I've created a new plugin that allows exporting WordPress contents to a PDF file at the push of a button. It is also possible to customize the PDF output according to own needs and taste. The PDF rendering is done by DOMPDF and the R&OS class, so my work was mainly the the WordPress integration.

    Apart from the plugin, there also is a demo theme and a detailed Howto, which should make integration into own templates as easy as possible.

    Please try it and tell me what you think.

  2. lxg
    Member
    Posted 7 years ago #

    Geez... the good ideas always come late!

    Today I made friends with a little fellow whose name is "template_redirect" and who is a plugin hook It allowed me to redevelop the ContuttoPDF plugin. Now you don't need to edit your template files anymore, but there are special template files delivered with the plugin. Integration is now as easy as possible, while it is still possible to customize the template.

    Check it out once more.... ;-)

  3. snowcrash
    Member
    Posted 7 years ago #

    Been waiting for something like this that works.
    It looks good. Will try it out :)

    Thanks!

  4. Iva
    Member
    Posted 7 years ago #

    Ditto:) Thank you!

  5. Trent Adams
    Member
    Posted 7 years ago #

    This is amazing how this works so seemlessly! I just wish that it worked on php 4 and not just with php 5......Is there anyway to get it working with 5 or the packages required are only packaged with 5 and not able to be compiled on 4?

  6. lxg
    Member
    Posted 7 years ago #

    Hey, good to see that some people finally took notice of it. :-D

    Trent: Sorry, this only works on PHP5, because the underlying DOMPDF is designed for it. The author of DOMPDF says he won't port it back to 4; and to be honest, I also don't feel much joy thinking about that. Sorry.

Topic Closed

This topic has been closed to new replies.

About this Topic