Skip Menu |

This queue is for tickets about the XML-RSS CPAN distribution.

Report information
The Basics
Id: 2198
Status: resolved
Priority: 0/
Queue: XML-RSS

People
Owner: Nobody in particular
Requestors: wftk [...] vivtek.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.02
Fixed in: (no value)



Subject: dc:date not in correct format
The dc:date element generated isn't in the W3C's required format: it produces 2003-03-10 05:24:08Z where http://www.w3.org/TR/NOTE-datetime indicates that 2003-03-10T05:24:08Z is required. (The w3.org webpage does say that the date format should conform to ISO 8601 (which reports that the delimiting T isn't necessary) but the text otherwise indicates that the T *is* necessary.) Michael
Hi Michael, I'm a little confused by,"the dc:date element generated isn't in the W3C's required format". Currently XML::RSS doesn't include *any* date parsing or generating code. I can only assume you're suggesting that XML::RSS should be validating the date format? Or perhaps parsing incoming dates and re-formatting them? If I'm misunderstanding, could you tell me a little bit more about what you're trying to do. Also DateTime::Format::W3CDTF might be of interest, though 0.3 which fixes a couple of dumb bugs and is still waiting to be uploaded. Thank, Kellan