Here be questions and here be answers.
Maybe I am totally missing the boat here, but is there a way to control the date associated with each entry in an RSS feed?http://docs.vaeplatform.com/v_rss
To clarify, I know I can create my own rss feed (http://cyber.law.harvard.edu/rss/rss.html) using v:collection, etc., but what I am getting at is a simple attribute for v:rss that lets me show a pubDate for each item.This isn't a biggie, mostly curious if that attribute is available for v:rss.
Here's how we do it:<v:rss> <pubDate> <v:text path="posted_on" strftime="%a, %d %b %Y %H:%M:%S %z" /> </pubDate></v:rss>Yeah, that should probably be built-in somehow. But this works!
<v:rss> <pubDate> <v:text path="posted_on" strftime="%a, %d %b %Y %H:%M:%S %z" /> </pubDate></v:rss>
Worked like a charm. Thanks.
Btw... for anyone else checking this out. Be sure to the v:rss tag rather than constructing your own rss feed using something like v:collection. The advantage to using the v:rss tag - aside from the fact that its less code to write - is that it strips out the html characters that are not valid in an rss feed (e.g. the non-breaking space character is not valid in an rss feed).
It looks like you're new here. If you want to get involved, click one of these buttons!
Apply for Membership