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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: [docbook-apps] <h1> headers in html and webhelp output of <book>


Hi, 

We don't use numbered sect tags, only <section>s, so it's not a problem.
Our web team notified us that having multiple h1 tags in the html is not really SEO-friendly, that's why I'd like to change it.

In the webhelp output we have a custom h1 tag that includes the name of the book and the chunk, so tags in the content of the page could start with h2.

Thanks for your reply!

Robert

On Wed, Jul 27, 2016 at 9:23 PM, Warren Young <wyml@etr-usa.com> wrote:
On Jul 27, 2016, at 6:38 AM, Fekete, Róbert <robert.fekete@balabit.com> wrote:
>
> We produce single-page HTML and chunked webhelp output from our DocBook files. I have noticed that for books, the title of high-level elements (chapter, appendix, and so on) receives an <h1> tag. Is there a way to change it to <h2>? I suspect that the components.xsl is responsible for calculating the header levels, but couldn't customize it to work for me.

Changing that would ripple all the way down through <sect1> and such.

Why do you believe you need this?  For example, if all you’re trying to do is reduce the font size, you can do that in CSS.  The stock DocBook HTML output is *heavily* tagged, so that you could even target particular flavors of <h1> separately.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org




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