diff options
Diffstat (limited to 'xml/htdocs/xsl/rdf.xsl')
-rw-r--r-- | xml/htdocs/xsl/rdf.xsl | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/xml/htdocs/xsl/rdf.xsl b/xml/htdocs/xsl/rdf.xsl deleted file mode 100644 index 6b76cef06d..0000000000 --- a/xml/htdocs/xsl/rdf.xsl +++ /dev/null @@ -1,46 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" - xmlns="http://purl.org/rss/1.0/" - xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" - xmlns:admin="http://webns.net/mvcb/" - xmlns:dc="http://purl.org/dc/elements/1.1/"> -<xsl:output encoding="UTF-8" method="xml" indent="yes" cdata-section-elements="description" /> - -<xsl:template match="/rdffeed"> - -<rdf:RDF> - <channel> - <xsl:attribute name="rdf:about"><xsl:value-of select="link" /></xsl:attribute> - <title><xsl:value-of select="title" /></title> - <link><xsl:value-of select="link" /></link> - <description><xsl:value-of select="description" /></description> - <dc:creator>rajiv@gentoo.org</dc:creator> - <dc:language>en-US</dc:language> - <admin:errorReportsTo rdf:resource="mailto:rajiv@gentoo.org" /> - <items> - <rdf:Seq> - <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()<11]/text()"> - <xsl:sort select="position()" order="ascending" /> - <rdf:li> - <xsl:attribute name="rdf:resource">http://www.gentoo.org<xsl:value-of select="." /></xsl:attribute> - </rdf:li> - </xsl:for-each> - </rdf:Seq> - </items> - </channel> - - <xsl:for-each select="document('/dyn/news-index.xml')/uris/uri[position()<11]/text()"> - <item> - <xsl:attribute name="rdf:about">http://www.gentoo.org<xsl:value-of select="." /></xsl:attribute> - <title><xsl:value-of select="document(.)/news/title" /></title> - <link>http://www.gentoo.org<xsl:value-of select="." /></link> - <dc:subject><xsl:value-of select="document(.)/news/@category" /></dc:subject> - <dc:creator><xsl:value-of select="document(.)/news/poster" /></dc:creator> - <!-- <dc:date><xsl:value-of select="document(.)/news/date" /></dc:date> --> - <description><xsl:value-of select="document(.)/news/body" /></description> - </item> - </xsl:for-each> -</rdf:RDF> - -</xsl:template> -</xsl:stylesheet> |