Skip Menu |

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

Report information
The Basics
Id: 19466
Status: new
Priority: 0/
Queue: XML-RSS-SimpleGen

People
Owner: Nobody in particular
Requestors: bryce [...] bryceharrington.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: GUID in <item>'s
RSS feeds generated from XML::RSS::SimpleGen enclose items in <item></item> blocks. An RSS validator suggests that (optionally) a 'guid' should be included: http://www.rssboard.org/rss-specification#ltguidgtSubelementOfLtitemgt Looks like this would do it: --- SimpleGen.pm~ 2004-02-06 22:14:23.000000000 -0800 +++ SimpleGen.pm 2006-05-24 10:00:59.000000000 -0700 @@ -779,6 +779,7 @@ (map "$MaybeIndent$_$MaybeNL", length($title) ? "<title>$title</title>" : (), length($url) ? "<link>$url</link>" : (), + length($url) ? "<guid>$url</guid>" : (), length($description) ? "<description>$description</description>" : (), ), "</item>$MaybeNL\n",