FreeBSD Bugzilla – Attachment 43109 Details for
Bug 67042
FreeBSD rdf feed not valid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
news-rdf.xsl.diff
news-rdf.xsl.diff (text/plain), 1.52 KB, created by
Tilman Keskinoz
on 2004-05-22 15:10:16 UTC
(
hide
)
Description:
news-rdf.xsl.diff
Filename:
MIME Type:
Creator:
Tilman Keskinoz
Created:
2004-05-22 15:10:16 UTC
Size:
1.52 KB
patch
obsolete
>Index: news-rdf.xsl >=================================================================== >RCS file: /home/ncvs/www/en/news/news-rdf.xsl,v >retrieving revision 1.5 >diff -u -r1.5 news-rdf.xsl >--- news-rdf.xsl 15 Aug 2003 17:35:42 -0000 1.5 >+++ news-rdf.xsl 22 May 2004 13:33:33 -0000 >@@ -2,7 +2,10 @@ > > <!-- $FreeBSD: www/en/news/news-rdf.xsl,v 1.5 2003/08/15 17:35:42 simon Exp $ --> > >-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> >+<xsl:stylesheet version="1.0" >+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >+ xmlns="http://purl.org/rss/1.0/"> > > <xsl:import href="includes.xsl"/> > >@@ -12,13 +15,13 @@ > > <!-- Generate the main body of the RDF file --> > <xsl:template match="news"> >- <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" >- xmlns="http://my.netscape.com/rdf/simple/0.9/"> >+ <rdf:RDF> > >- <channel> >+ <channel rdf:about="http://www.FreeBSD.org/news/"> > <title>FreeBSD Project News</title> > <link>http://www.FreeBSD.org/news/</link> > <description>News from the FreeBSD Project</description> >+ <items></items> > </channel> > > <!-- Only include the last 10 events --> >@@ -29,7 +32,7 @@ > > <!-- Generate the <item> elements and their content --> > <xsl:template match="event"> >- <item> >+ <item rdf:about="http://www.FreeBSD.org/news/newsflash.html"> > <xsl:choose> > <xsl:when test="count(child::title)"> > <title><xsl:value-of select="normalize-space(title)"/></title>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 67042
: 43109