Menu

#175 website: add a title.priority parameter

output: Website
open
nobody
XSL (399)
5
2005-11-16
2003-10-16
No

The 'title.priority' parameter is to resolve the conflict
with <head> title and first docbook title element.
The 'title.priority' parameter values could be 'webpage'
to prefer the webpage title inside <head>, or 'content'
to prefer the DocBook content title.

If the parameter is set to 'content', and if the first
element after <head> has a title, then that title is used
and the <head> title is suppressed. If the first element
doesn't have a title, then the <head> title is used.

If set to 'webpage', then the <head> title is used. If the
first element after <head> has a title, then that element
title is suppressed. I'm not sure how easy this will be
to implement, though.

This parameter will be both a <config> parameter that
can
apply to the whole website or an individual webpage,
and it will be an XSL parameter to change the default
setting.
I think the default should be 'content'.

Discussion

  • Michael(tm) Smith

    • labels: 340797 -->
    • summary: add a title.priority parameter --> website: add a title.priority parameter
     
  • Michael(tm) Smith

    • labels: --> XSL
    • milestone: --> output: Website
     
MongoDB Logo MongoDB