[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Customizing html/head/title in chunked output
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJP4I6+AAoJEMHeSXG7afUhkMkIAIFSH8RFvrOP72h91IiHLgRT HPhVawSmyWzPEHgb7tnPhPpMj3VPcqijox1gZrTPjQLWo9LZ+OB7WQ1D+gS6P51z 1ca0FFT1vJaHMuKDrTpRtg+mRfv56DdJl/KyyuCap1QBbKArK4OAiHd+ZQa0xm4t hqBI9Zz+6Mwm3zemTUTHrJhu6ZLrrjVUYmodVkN2oW84nQLuXwMuMSkK1F7QDjYf 0eO2jporlsoiya56aDvGU4SUPAUyemK4n0kUxNEFS575YlrsBJtrcv7ngEq5Bsiq TdPY9CcJ8iuuDGwd+vuJ1aslv+20RzIT23c8kBpPLd8DUzVzUP3aovBxEuCgETQ= =q/ni -----END PGP SIGNATURE-----
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]