However, when this page is made live, the description and keyword meta info is not included. For example, the live page html might have:
<title>test-document-title</title>

But it does not have:
<meta name="keywords" content="testkeyword1 testkeyword2 testkeyword3" />
<meta name="description" content="test description for this page" />

This magic happens in page2xhtml where lenya writes the head tags

try something like

<html>
<head>
<title><xsl:value-of select="//lenya:meta/dc:title"/></title>
<meta name="description" content="{//lenya:meta/dc:description}" />
<meta name="keywords" content="{//lenya:meta/dc:subject}" />
<meta name="created" content="{//lenya:meta/dc:date}" />

or /and output rdf (you will need to change strip namespaces to get browsers not to panic about the rdf markup

<!-- output metadata as rdf xml data island -->

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
<rdf:Description rdf:about="http://your-server/{$url}";>
<dc:language><xsl:value-of select="//lenya:meta/dc:language"/></dc:language>
</rdf:Description>
<rdf:Description rdf:about="http://your-server/{$url}";>
<dc:subject><xsl:value-of select="//lenya:meta/dc:subject"/></dc:subject>
</rdf:Description>
<rdf:Description rdf:about="http://your-server/{$url}";>
<dc:title><xsl:value-of select="//lenya:meta/dc:title"/></dc:title>
</rdf:Description>
<rdf:Description rdf:about="http://your-server/{$url}";>
<dc:description><xsl:value-of select="//lenya:meta/dc:description"/></dc:description>
</rdf:Description>
<rdf:Description rdf:about="http://your-server/{$url}";>
<dc:date><xsl:value-of select="//lenya:meta/dc:date"/></dc:date>
</rdf:Description>
</rdf:RDF>


</head>


lee c

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to