• Hi!
    I’ve created a small script that converts WordPress Blog entries to PDF files. I thought someone might find it useful, so I created a public version of it. You can download it at
    https://www.thewalrus.info/wp2pdf/wp2pdf.tgz
    I would be very grateful for bug “reports”. It’s still a preview release, which means lots of things do not work yet or work different than they should, but you can already create quite good looking PDFs out of it and get an idea what it will look like when it’s finished. All you need is a webserver with PHP 4.x, WordPress 1.x and WP2PDF – that’s it.
    Thanks,
    René

Viewing 14 replies - 1 through 14 (of 14 total)
  • This seems pretty interesting. Do you have a demo of it? I couldn’t find one on your site.

    Try This thread for the LJ Book effort at making a book, with chapters and index and all. Pretty neat, and free.

    Thread Starter thewalrus

    (@thewalrus)

    LJ Book is an external service which, even though it is free, is controlled by a third person. You also can’t use it to create a PDF file of a certain post on demand – that’s the main purpose of WP2PDF.

    Thread Starter thewalrus

    (@thewalrus)

    OK…I’ve created a demo version (including a demo blog) which should give you a good impression what the software acts like. You can also change the settings and experiment a bit. Have fun!
    https://www.thewalrus.info/wp2pdf/

    @thewalrus: Schon im Wiki verewigt? ;o)
    https://wiki.www.ads-software.com

    Thread Starter thewalrus

    (@thewalrus)

    @tigerde2: ?hm…was denn verewigt? Stehe auf dem Schlauch. Sollte vielleicht mal schlafen ??

    It’s cool, but at all times, it just puts a number of posts in there equal to the number of post on the front page.
    for example:
    wp2pdf.php?m=2004
    still gives me just 8 posts, and not ALL my 2003 posts.
    But, other than that, just great !!

    Thread Starter thewalrus

    (@thewalrus)

    Looks like I forgot to mention that in the Readme-file…
    Add the variable ‘showposts’ followed by the number of posts you’d like to convert.
    For example…
    wp2pdf.php?m=2003&showposts=100000
    …will convert the last 100000 posts of the year 2003. I think that should be enough ??

    Ok, now I got the following errors:
    in my 2003 posts are post with broken image links (images are not there…) so I got an error.
    in my 2004 posts are gif files, and that doesn’t work… also an error.
    Are there ways to go around these errors?

    Thread Starter thewalrus

    (@thewalrus)

    Checking whether or not an image exists – that is something I simply forgot.
    GIFs are not supported by the FPDF-library and I’m writing a function to convert all images (PNGs with alpha channel are not supported either) to JPEG. I’m going to include that in the next public release, which will follow this weekend.
    Unfortunately there is no other workaround ??

    Thread Starter thewalrus

    (@thewalrus)

    OK, update: I made a quick (and dirty) update. It will now check whether or not the image exists and it will simply ignore all images that are not JPEGs.
    https://www.thewalrus.info/wp2pdf/wp2pdf.tgz

    what about this?
    Warning: fopen(“blog.pdf”, “wb”) – Permission denied in /var/www/virtual/www.blogo.net/gat/wp2pdf/fpdf.php on line 1044
    FPDF error: Unable to create output file: blog.pdf

    sorry, forgot to log in ??

    Thread Starter thewalrus

    (@thewalrus)

    Did you chmod the directory to 666?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘WP2PDF (WordPress to PDF Converter) Preview Releas’ is closed to new replies.