OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook] Generating HTML meta description tags

Title: Generating HTML meta description tags

Hi Rob,

The generate.meta.abstract parameter is described here:


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
On 5/22/2018 11:52 AM, Rob Flynn wrote:

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

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]