in the rss.lua file it does not appear that the CDATA tags get properly cleaned from the description tags, or at least they do not get cleaned completely...
if you load up
sports.espn.go.com/espn/rss/news into the RSS reader you can see that at the end of the description there is always a trailing "]]>" on all the descriptions.
a method similar to the one which is used to clean the title of the CDATA tags should do the trick to fix it.
also, it would be nice if in the "clean the data" function at the bottom of rss.lua similar functionality was added for the following:
elseif (str == "#38") then return "&"
not sure why some sites use the HTML Number, but at least the & is the only one i have run into it with.
i also run into the <em> tag occasionally. the "clean the data" function may not be the best place for it but the functionality i am looking for is something like:
s = string.gsub(s, "<em>", "")
s = string.gsub(s, "</em>", "")
i run into both the #38 and <em> tags quite a bit with the slashdot rss feed (one feed i would think would be quite popular among people using rainlendar). feel free to handle the em tags properly, but for me just removing them works fine. seems like removing any tag that is not a link would be a good thing...
at some point you may want to just go ahead and implement cleaning of at least everything with an HTML Name (
www.ascii.cl/htmlcodes.htm).
thanks. i love rainlendar and have used it for years.