Don't ask to ask, just ask | |
PerlMonks |
Re: Using XML::RSS to produce an RSS 2.0 feed with Dates within Itemsby Anonymous Monk |
on Nov 18, 2019 at 07:39 UTC ( [id://11108855]=note: print w/replies, xml ) | Need Help?? |
You have a typo: PubDate should be pubDate in $rss->add_item.
Also, from the perldoc: Note: In order to parse and generate dates (such as pubDate and dc:date) it is recommended to use DateTime::Format::Mail and DateTime::Format::W3CDTF , which is what XML::RSS uses internally and requires.
In Section
Seekers of Perl Wisdom
|
|