Make PDF Newspaper

Overview

‘Make PDF Newspaper’ replaces the Make Tabbloid Plugin to automatically create printer friendly ‘tabloid’ editions of your WordPress blog in an attractive 2 column magazine/newspaper format.

Development of the original plugin has stopped after HP removed API access to their service Tabbloid. The new plugin uses code developed for the Five Filters PDF Newspaper project, which in itself pulls together code from a number of other open source projects including TCPDF,HTML Purifier, SimplePie and SmartyPants

The plugin includes a widget to let you control how you advertise your ‘tabloid edition’. You can also choose to display a thumbnail of your custom newsletter (powered by Bluga.net Webthumb) to let your readers see what they are missing.

Key features

  • NEW Option to generate PDF from externally hosted versions of the Five Filters code (if you are hosting a version of the Five Filters code and would be happy for other people to generate PDFs using it please leave its url in the comments ;-)
  • NEW Option to generate PDF editions of selected categories or archives
  • PDF generation entirely self-hosted removing reliance on 3rd party services and making it suitable for Intranet installations of WordPress
  • Option to include QR codes for each post
  • Customisable banner text and logo
  • Option to automatically footnote all the links which appear in a post (using tinyurl or bitly to shorten long links)
  • Integrated widget to display thumbnail of your publication
  • User controlled production of PDF

Click here to download

Thanks to

This plugin is made possible by the hard work of Keyvan Minoukadeh creator of Five Filters PDF Newspaper and Jonathan Lyon who nudged me on.

Useful links

Screenshot

Click to enlarge

Any comments or suggestions very welcome.

Last updated by at .

164 Responses to “Make PDF Newspaper”


  • Martin,
    I am very close to getting this to work within an University setting. Can you tell me a few things?

    Are there any particular IP’s or URL’s that I need to provide to the I.T. department to put a pinhole in the firewalls?

    Also, are there any particular libraries that the I.T. department needs to load on the servers instead of trying to pull all of the information from your plugin?

    • The info the plugin potentially goes and gets from external sites would be:

      * url shortening from tinyurl or bit.ly,
      * QR Code from Google Chart API
      * thumbnail from Bluga.net

      The plugin uses PHP 5.2> and comes packaged with: TCPDF, HTML Tidy, HTML Purifier, SimplePie, PHP Typography, OPML Parser and PHP Hooks

      Hope this helps,
      Martin

  • Hi, I finish to make this plugin perfecly working with my site (tidy-html was in cause). When I make a pdf with the last month news there is only 15 news in the pdf … how and where it is possible to change that kind of limitation ???

    • @achel I think if you increase the number of rss items (Syndication feeds show the most recent) in the General Reading settings of your blog you should be able to get more items

  • It works, but not fine : when I go up to 32 news in the rss feed my server make an internal error (quadcore xeon with php 5.3.6 and the vhost have a max time limit of 90 sec and an allowed memory of 90Mo). I precise that the generation of the pdf take in count all the pictures.

    I was thinking firstly that the plugin parsed the pages of the archives when I use the last option …

    In a second time, it’s not really practical … to make the pdf I need to put in the wordpress option that my feed publish x articles and flush the cache of the website … and after the pdf construction, return to the normal number (15) … Is it possible to dump the feed variable in an option of the plugin ???

  • I would to precise that it works perfectly and fastly without images …

    • I can add item number to the to do (there is a new version of the five filter pdf engine in the pipeline so going to wait until that is ready). In the meantime you can manually override by opening rss-make-pdf-newspaper.php in the plugin editor and replace
      while( have_posts()) : the_post();
      with (where posts_per_page is how many items you want to include)

      $my_query = new WP_Query('posts_per_page=10');
      while ($my_query->have_posts()) : $my_query->the_post();

  • Thks, I have tried your replacement code but it generate a pdf with only the header and no news inside.

  • Hi Martin,
    i’ve installed Make PDF Newspaper and configured it,
    but if i try to make pdf obtain this messages:

    Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /home/w95594/domains/patriziacallegarini.it/public_html/wp-content/plugins/make-pdf-newspaper/makepdf.php on line 36

    Fatal error: Remote source didn’t return any data. in /home/w95594/domains/patriziacallegarini.it/public_html/wp-content/plugins/make-pdf-newspaper/makepdf.php on line 120

    is this a provider limitation?

    many many thanks!

  • Thanks for your reply,
    i’ve enabled the “Use external service ” options and now it works fine” ;-)

    But, another question (the last): In addition to articles is it possible can get all the pages of the site?

    many many thanks!

  • ..GASP!
    is really a shame, really good plug-formatted file and I liked it

  • what kind of address i must write in external engine
    i always have error 404 with http://fivefilters.org/pdf-newspaper/makepdf.php?

  • sorry was a mistake in cutting and coping here
    the problem 404 is always true
    any solution?

  • Is there a file or function within the plugin users can change to display more than 10 posts in a PDF? It seems to just stop at 10, no matter if I am using the Category or if using the Digest feature.

    • @Kevin the easy way is to go to Settings > Reading and increase ‘Syndication feeds show the most recent’ (the more complicated way is to change the loop in rss-make-pdf-newspaper.php to:

      and changing the showposts number

      @nico 404 could mean one of the plugin files is missing or something wrong with the read/write properties for the pdf folder

      Martin

  • every folder have write permission but there is always the same mistake
    “page not found” with the template of my blog
    and there isn’t a pd in the folder pdf

  • Love your plugin, simply awesome. I was using this to make the pdf’s and up till the latest wordpress update 3.3.1 it worked, now it appears to be broke. What happens now instead of making 7 pdf’s from the last few blogs it only makes one for the current blog, there are no errors it just will not make more than one, any help would be greatly appreciated. Orion Quest

  • Hi Martin,
    I’d like to export in pdf just the excerpt (not the complete post). Is there a way to do that?

  • Safe for install with WordPress 3.3.x or better?

Leave a Reply

About

This blog is authored by Martin Hawksey Google+

JISC CETIS Learning Technology Advisor (OER Programme Support)
jisc cetis logo

The MASHezine (tabloid)

It's back! A tabloid edition of the latest posts in PDF format (complete with QR Codes). Click here to view the MASHezine

Preview powered by:
Bluga.net Webthumb

The MASHebook

You can also download this post as:

Subscribe to monthly email digest of posts

Loading...Loading...


Subscribe to per post email updates

Enter your email address:

Delivered by FeedBurner

Copyright License

Creative Commons Licence
This work is licensed under a Creative Commons Attribution 3.0 Unported License. CC-BY mhawksey

Privacy /Cookies

This blog uses Google Analytics (which makes use of 'cookie' technologies) to provide information on usage. Here's an overview of Google Analytics Privacy and how to opt-out (other 3rd party services like Twitter might also be tracking you via this site, but as far as possible I try and prevent this by removing official tweet buttons).

Badges

. . .