www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/rss whatsnew.rss whatsnew.xslt


From: Yavor Doganov
Subject: www/rss whatsnew.rss whatsnew.xslt
Date: Mon, 19 Apr 2010 13:17:07 +0000

CVSROOT:        /web/www
Module name:    www
Changes by:     Yavor Doganov <yavor>   10/04/19 13:17:07

Modified files:
        rss            : whatsnew.rss whatsnew.xslt 

Log message:
        Don't prepend http://www.gnu.org to mailto links (RT #561371).

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/rss/whatsnew.rss?cvsroot=www&r1=1.118&r2=1.119
http://web.cvs.savannah.gnu.org/viewcvs/www/rss/whatsnew.xslt?cvsroot=www&r1=1.11&r2=1.12

Patches:
Index: whatsnew.rss
===================================================================
RCS file: /web/www/www/rss/whatsnew.rss,v
retrieving revision 1.118
retrieving revision 1.119
diff -u -b -r1.118 -r1.119
--- whatsnew.rss        29 Mar 2010 23:00:53 -0000      1.118
+++ whatsnew.rss        19 Apr 2010 13:16:59 -0000      1.119
@@ -11,7 +11,7 @@
 <item><pubDate>25 March 2009</pubDate><title>CREDIL is hosting a contest where 
you ca...</title><description>CREDIL is hosting a contest where you can win 
prize money for working on free software. It's been going for a couple of days 
already, but the deadline isn't until Sunday, March 28th, so there's still 
time. Read 
more.</description><link>http://www.fsf.org/blogs/community/credil-contest-2009</link><pubDate>25
 March 2009</pubDate></item>
 <item><pubDate>24 March 2009</pubDate><title>Wietse Venema and Creative 
Commons were ...</title><description>Wietse Venema and Creative Commons were 
announced as winners of the annual free software awards at LibrePlanet last 
weekend. Read more about their work and the 
awards.</description><link>http://www.fsf.org/news/2008_free_software_awards</link><pubDate>24
 March 2009</pubDate></item>
 <item><pubDate>23 March 2009</pubDate><title>Help spring the Javascript Trap! 
During ...</title><description>Help spring the Javascript Trap! During the 
LibrePlanet conference, Richard Stallman announced a plan of action for 
addressing the problem of non-free Javascript, Flash and Silverlight programs. 
Read more about this threat to user freedom and how you can 
help.</description><link>http://www.gnu.org/philosophy/javascript-trap.html</link><pubDate>23
 March 2009</pubDate></item>
-<item><pubDate>7 March 2009</pubDate><title>More and more students are 
considering w...</title><description>More and more students are considering 
whether a university teaches computer  science and software development using 
Free Software when deciding where they  will study. If you know of a 
Free-Software-oriented university then  email 
us.</description><link>http://www.gnu.orgmailto:address@hidden</link><pubDate>7 
March 2009</pubDate></item>
+<item><pubDate>7 March 2009</pubDate><title>More and more students are 
considering w...</title><description>More and more students are considering 
whether a university teaches computer  science and software development using 
Free Software when deciding where they  will study. If you know of a 
Free-Software-oriented university then  email 
us.</description><link>mailto:address@hidden</link><pubDate>7 March 
2009</pubDate></item>
 <item><pubDate>24 February 2009</pubDate><title>New Zealanders, please support 
the Creat...</title><description>New Zealanders, please support the Creative 
Freedom 
Foundation.</description><link>http://creativefreedom.org.nz/</link><pubDate>24 
February 2009</pubDate></item>
 <item><pubDate>16 February 2009</pubDate><title>Europeans, please attend this  
conferenc...</title><description>Europeans, please attend this  conference on 
the Telecom package, called "Who wants to control the 
Internet?".</description><link>http://www.greens-efa.org/cms/default/dok/270/address@hidden</link><pubDate>16
 February 2009</pubDate></item>
 </channel></rss>

Index: whatsnew.xslt
===================================================================
RCS file: /web/www/www/rss/whatsnew.xslt,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -b -r1.11 -r1.12
--- whatsnew.xslt       5 May 2005 19:37:19 -0000       1.11
+++ whatsnew.xslt       19 Apr 2010 13:16:59 -0000      1.12
@@ -54,7 +54,8 @@
 
     <xsl:template match="@href">
        <xsl:choose>
-           <xsl:when test="starts-with(., 'http://')">
+           <xsl:when test="starts-with(., 'http://')
+                           or starts-with(., 'mailto:')">
                <xsl:value-of select="."/>
            </xsl:when>
            <xsl:otherwise>http://www.gnu.org<xsl:value-of select="."/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]