Fix the GNOME project news feed to point to gnomedesktop.org.
This commit is contained in:
parent
4ad9f1b468
commit
6438157904
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=15011
1 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $FreeBSD: www/en/gnome/index.xsl,v 1.29 2002/09/15 19:21:54 marcus Exp $ -->
|
||||
<!-- $FreeBSD: www/en/gnome/index.xsl,v 1.30 2002/10/14 03:58:32 marcus Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
|
@ -9,7 +9,7 @@
|
|||
<xsl:import href="includes.xsl"/>
|
||||
|
||||
<xsl:variable name="base" select="'..'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/en/gnome/index.xsl,v 1.29 2002/09/15 19:21:54 marcus Exp $'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/en/gnome/index.xsl,v 1.30 2002/10/14 03:58:32 marcus Exp $'"/>
|
||||
<xsl:variable name="title" select="'FreeBSD GNOME Project'"/>
|
||||
|
||||
<xsl:output type="html" encoding="iso-8859-1"
|
||||
|
@ -179,18 +179,18 @@
|
|||
|
||||
<p><font size="+1" color="#990000"><b>GNOME Project News</b></font><br/>
|
||||
<font size="-1">
|
||||
<xsl:for-each select="document('http://news.gnome.org/gnome-news/rdf')/rdf:RDF/*[name() = 'item'][position() < 10]">
|
||||
<xsl:for-each select="document('http://gnomedesktop.org/backend.php')/rss/channel/*[name() = 'item'][position() < 10]">
|
||||
· <a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="rdf1:link"/>
|
||||
<xsl:value-of select="link"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="rdf1:title"/><br/>
|
||||
<xsl:value-of select="title"/><br/>
|
||||
</a>
|
||||
</xsl:for-each>
|
||||
<a>
|
||||
<xsl:for-each select="document('http://news.gnome.org/gnome-news/rdf')/rdf:RDF/*[name() = 'channel'][position() = 1]">
|
||||
<xsl:for-each select="document('http://gnomedesktop.org/backend.php')/rss/*[name() = 'channel'][position() = 1]">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="rdf1:link"/>
|
||||
<xsl:value-of select="link"/>
|
||||
</xsl:attribute>More...
|
||||
</xsl:for-each>
|
||||
</a>
|
||||
|
|
Loading…
Reference in a new issue