Personal tools
Help keep us online!
$ 

We accept Bitcoins :-)





Creating a PDF book from a DPL query

From OrganicDesign Wiki

Jump to: navigation, search
Book.svg This selection of articles can be downloaded as a PDF book by logged in users
(see Pdf Book extension for details about this functionality)

This is an example which shows how to use the Pdf Book extension to generate a book from the results of a DPL query. The results of the query are the list of articles below which will be used by Pdf Book in constructing the output, the query used to generate this list is as follows:

{{#dpl:titleregexp=\.php$|category=Extensions|format=,\n*[[%NAMESPACE%:%TITLE%]],,}}

The format parameter is required because Pdf Book uses only title-links which are part of wikitext bullet lists in the page as its content for generating the book, but the DPL extension by default returns its results as HTML bullet list format, not wikitext.


The GNU Project Debian Linux Ubuntu Linux


Content under the www.organicdesign.co.nz domain is available under the Creative Commons Attribution-ShareAlike License