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",