Skip to search.
nanoblogger

Group Information

  • Members: 98
  • Category: Open Source
  • Founded: Oct 28, 2003
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Messages

  Messages Help
Advanced
RSS problem because of special character in BLOG_DESCRIPTION   Message List  
Reply Message #989 of 1225 |
Hi,

I use special characters like "í" in my BLOG_DESCRIPTION and
because of that the rss.xml file was beeing generated with problems.

In order to fix that, I have added a "CDATA" tag in the rss2.sh
script. The diff file is:

--- rss2.sh.orig Fri Apr 11 18:40:03 2008
+++ /usr/local/share/nanoblogger/plugins/rss2.sh Fri Apr 11
18:50:12 2008
@@ -64,7 +64,7 @@
<channel>
<title>$NB_RSS2Title</title>
<link>$BLOG_FEED_URL</link>
- <description>$BLOG_DESCRIPTION</description>
+
<description><![CDATA[$BLOG_DESCRIPTION]]></description>
<dc:language>$BLOG_FEED_LANG</dc:language>
<dc:creator>$NB_RSS2Author</dc:creator>
<dc:date>$NB_RSS2ModDate</dc:date>

Thanks!

Kind regards,
Marcelo Gardini do Amaral





Mon Apr 14, 2008 5:43 pm

billgardini@...
Send Email Send Email

Message #989 of 1225 |
Expand Messages Author Sort by Date

Hi, I use special characters like "&iacute;" in my BLOG_DESCRIPTION and because of that the rss.xml file was beeing generated with problems. In order to fix...
Marcelo Gardini
billgardini@... Send Email
Apr 14, 2008
5:43 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help