Bob Stayton wrote:
Hi Dave,
I don't know about the "description" element in website or DocBook.
Where does that come from?
Ah!!! Quite possibly me.
From input
<keywords> Dave Pawson, home page,...</
<description>Dave Pawson, home page, .....
As the html output is of the form
<meta name="keywords" content="Dave Pawson, home page, ....">
then
<meta name="description" content="Dave Pawson's home page .... ">
Which combination is used by search engines...
I decided that both would be of use.
Nothing more complex than that.
regards
Hi,
This was noticed some time ago, and fixed in the SVN source tree in
March 2006. However, there has not been a new release of website
since 2005.
Adding this to your customization layer will fix it:
<xsl:template match="keywords" mode="head.mode">
<meta name="keywords" content="{.}"/>
</xsl:template>
Bob Stayton
Sagehill Enterprises
[email protected]
Bob, in head.xsl I have updated to that.
I also added
<xsl:template match="description" mode="head.mode">
<meta name="description" content="{.}"/>
</xsl:template>
Which might imply that the description element isn't processed?
regards
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
regards
--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]