Creating a PDF book from a DPL query

From Organic Design wiki
Revision as of 22:43, 12 October 2011 by Lucachi88 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Book.svg This selection of articles can be downloaded as a PDF book (or as html only)
(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.