Hi Rob,

The generate.meta.abstract parameter is described here:

http://www.sagehill.net/docbookxsl/HtmlHead.html

The text is copied from the abstract element in the document's info element.

If you want to pull it from an external file, you would need to customize the template named 'head.content.abstract' in html/docbook.xsl.

Bob Stayton
Sagehill Enterprises
b...@sagehill.net

On 5/22/2018 11:52 AM, Rob Flynn wrote:
Generating HTML meta description tags

I'd like my HTML output to include a meta tag that describes the book to aid in SEO. Something like this:

<meta name="description" content="Describes the tasks required to set up and maintain a store built with XYZ Commerce Cloud, for example creating the product catalog, editing page layouts, configuring payment methods, and managing shopper communications. Intended for all audiences."/>

Where in the transform is this pulled? Could I put this in a property file instead of the source file? I can't quite see where you turn on generate.meta.abstract, and where it gets the content.

I'm using docbook-xsl-ns-1.76.1, docbook-5, fop-1.1, apache-ant-1.8.1, and saxon-9-2-1-1.

Rob Flynn

///Principal Technical Writer/


Reply via email to