Recent Changes
Recent Changes · Search:

The Book Guide documents use of hidden Page Text Variables to set metadata values on a book’s trail page. It is useful to make these visible, without having to edit the page. This recipe provides (:bookmetadata TrailPage :) markup, which lists all metadata options and their values. An enhanced version of this recipe, which supports form-based metadata editing, is included in the Publish PDF library version 2.2.34.

Download bookmetadata.php Δ, place it in the cookbook/ directory and add the following line to local/config.php after loading the Cookbook:PublishPDF library:


To use this markup, write:

(:bookmetadata BookGuide:)

Metadata for How to Produce a Book
titleHow to Produce a Book
descriptionEdited with an introduction by John Rankin
blurbPublisher Blurb “Praise for Wikipublisher and”
dedicationTo the software giants on whose shoulders Wikipublisher stands
epigraphThe designer of a new system must not only be the implementor and the first large-scale user; the designer should also write the first user manual… If I had not participated fully in all these activities, literally hundreds of improvements would never have been made, because I would never have thought of them or perceived why they were important. — Donald E. Knuth
rightscc by-sa

Note that the (:description:) directive sets the book’s publisher field.

Contributor: John Rankin, Friday, 17 December 2010

« Advanced Table Heads | Cookbook | Checkbox Lists »

Page last modified on 28 January 2011 at 10:34 AM