RSS.cfc Update
I've been working on a single CFC to handle RSS work for about 6 months now. (Not straight of course, off and on.) The parsing bit is working quite well I think (with a lot of help from Roger B), but the generating part has been going slowly. I did a bit more work on it today and have got it now generating valid RSS 0.91, RSS 0.92, and RSS 1.0 feeds. It doesn't support all the options available in these feeds, but the idea was to keep it simple. I assume most folks will use it to syndicate simple content. There are no docs - and this is not the 1.0 release (so excuse any guly code), but I thought I'd share what I have so far. The code, and a badly documented example, can be downloaded here.
Comments
<cfhttp url="#arguments.data#">
The tag needs closing:
<cfhttp url="#arguments.data#" />
I develop in cfeclipse and without closing the chttp tag it doesn't realise the tag had finished, so it was unable to read all the methods/functions.
and their seems to be an issue with the dateformat
****validator response****
line 59, column 37: dc:date must be an W3CDTF date (20 occurrences) [help]
<dc:date>2005-05-12T00:00:00+-02:00</dc:date>
**************************
the genrated file is at
http://www.avguide.ch/rss/avguideRSS.xml
also my rss reader mentions invalid dateformat, but I can't figute at what is wrong. Code in RSS.cfc at line 177 seems ok.
This has been very helpful. How would I limit the amount of characters in the description that are in the output?
Thanks.
Thanks
