Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Smart quotes in RSS

Hello,

Just noticed a site that appears to be driven by CityDesk has ill-formed smart quotes crammed into it.

http://salsa.bbh.com/news/index.html
http://www.syndic8.com/feedinfo.php?FeedID=19742

http://feeds.archive.org/validator/check?url=http%3A%2F%2Fsalsa.bbh.com%2Fnews%2Fxmlindex.xml

Check this page for an explanation:
http://www.fourmilab.ch/webtools/demoroniser/

Can efforts be taken to assure that CityDesk's RSS output complies with XML specifications?

Bill Kearney
Monday, November 04, 2002

CityDesk doesn't have any special ability to create RSS feeds. Instead, you can make a template which (using the built-in scripting support) can create RSS feeds (or anything, really).

There are some limitations to CityDesk, but in this case the author can create his template to wrap the description field in CDATA, or manually encode his smart quotes.

This could be captured as a feature request for the future. If CityDesk had a way to encode characters from within the UI, one could make sure that valid characters are outputted. In this regard, I think CityDesk is similar to other weblog tools that could do a better job of filtering input.

Checking this feed today, it validates correctly. Perhaps the site's owner fixed it or the offending channels were older and are now dropped.

Brian Cantoni
Thursday, November 07, 2002

*  Recent Topics

*  Fog Creek Home