Subject: | guid not being preserved over parse save |
Date: | Fri, 2 Feb 2007 13:46:21 -0500 |
To: | bug-XML-RSS [...] rt.cpan.org |
From: | Daniel Risacher <magnus [...] alum.mit.edu> |
If I do this:
use XML::RSS;
my $rss = XML::RSS->new();
$rss->parsefile("/home/magnus/www/phc.xml");
$rss->save("/home/magnus/www/phc-test.xml");
Then all the guids of my items come out as '1' in the resulting file:
[m5] ~$ diff -u ~/www/phc.xml ~/www/phc-test.xml|grep guid| tail -2
-<guid isPermaLink="true">http://www.risacher.org/mp3a/mp3/phc/phc-20070127.mp3</guid>
+<guid isPermaLink="true">1</guid>
This is suboptimal.