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] Customizing html/head/title in chunked output


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Btw., I created a template named user.head.title for this:

http://docbook.svn.sourceforge.net/viewvc/docbook/trunk/xsl/html/docbook.xsl?r1=9396&r2=9432

David

On 06/19/2012 12:38 PM, Bob Stayton wrote:
> Hi David, I think that is a good idea.  Go for it.
> 
> Bob Stayton Sagehill Enterprises bobs@sagehill.net
> 
> 
> ----- Original Message ----- From: "David Cramer"
> <david@thingbag.net> To: "DocBook Apps"
> <docbook-apps@lists.oasis-open.org> Sent: Tuesday, June 19, 2012
> 7:37 AM Subject: [docbook-apps] Customizing html/head/title in
> chunked output
> 
> 
> Hi there, I needed to modify the content of html/head/title in
> chunked output and ended up overriding the named template
> head.content. It would be nice not to have to override such a big
> template to modify the content of the <title> of each html page.
> Should we instead do a call-template and provide a named template
> so the user can more easily customize this?
> 
> I notice that the content of the title ultimately comes from 
> <xsl:apply-templates select="$node" 
> mode="object.title.markup.textonly"/>, so I could also override a 
> template matching * in the mode object.title.markup.textonly, but
> I suspect that would have undesired side effects beyond the content
> of html/head/title.
> 
> Btw., my modification is to add the book title to the
> html/head/title. When you host several chunked books on a single
> domain, some of which contain sections with the same title, then
> the Google search results end up showing several hits in that
> domain with the same title. Adding the book/document title to each
> chunk's html/head/title provides more context in the Google
> results.
> 
> David
> 
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
>> For additional commands, e-mail:
>> docbook-apps-help@lists.oasis-open.org
>> 
>> 
>> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
> For additional commands, e-mail:
> docbook-apps-help@lists.oasis-open.org
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJP46ATAAoJEMHeSXG7afUh4d4H/jeksSZFFZC1mrtN8eMyh1k1
V/Z+eGiINIrWzbqAFMNhGWU7BacM1gGGT6Qf3UaO3BYhQPauCt6lBQppZLFgerLW
/2tU5+4L+REyyK7vwLHpaHaowtrRtpCkYGgjWomAIEA6jXVujEolt43X8NJ4e4Vz
KP7/iPL9AmgIR4UBrXpkbrc8893Wtki2z4m3u2sLEeR6TaPqlVy9Fs3oeBsh6IAp
Ix1wYrYRuh0ihQV5gtgKbCDgdHje8vhwY1gtniu63nRFBQ/TvGdfXoHiOnM6dCCa
XpSA1RSeJum1IB8e1sZYkZKgpqAY3xLW5r8GZuOVam64C5D2QAKYTCX/XrAqA3s=
=hn00
-----END PGP SIGNATURE-----


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