Update of /cvsroot/fink/web/xml/news
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv23266

Modified Files:
        finknews-rdf.i18n.xsl 
Log Message:
Make feeds validate.  Thanks to dak180 from #fink


Index: finknews-rdf.i18n.xsl
===================================================================
RCS file: /cvsroot/fink/web/xml/news/finknews-rdf.i18n.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- finknews-rdf.i18n.xsl       21 Jun 2006 16:08:12 -0000      1.4
+++ finknews-rdf.i18n.xsl       28 Jan 2013 18:36:06 -0000      1.5
@@ -66,8 +66,24 @@
 
 
<guid><xsl:text>http://fink.sourceforge.net/news/#</xsl:text><xsl:call-template 
name="url-encode"><xsl:with-param name="str" select="$headline-uri" 
/></xsl:call-template></guid>
 <!-- <dc:date><xsl:value-of select="date" /></dc:date> -->
-<description><xsl:apply-templates select="body" /></description>
-<content:encoded><xsl:apply-templates select="body" /></content:encoded>
+<description>
+       <xsl:text disable-output-escaping="yes">
+               &lt;![CDATA[
+       </xsl:text>
+       <xsl:apply-templates select="body" />
+       <xsl:text disable-output-escaping="yes">
+               ]]&gt;
+       </xsl:text>
+</description>
+<content:encoded>
+       <xsl:text disable-output-escaping="yes">
+               &lt;![CDATA[
+       </xsl:text>
+       <xsl:apply-templates select="body" />
+       <xsl:text disable-output-escaping="yes">
+               ]]&gt;
+       </xsl:text>
+</content:encoded>
 
 </item>
 


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to