Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: dsteinbrunner [...] pobox.com
Cc:
AdminCc:

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



Subject: Small doc issue with RSS 2.0 add_item() example
The documentation in question follows: $rss->add_item(title => "GTKeyboard 0.85", # creates a guid field with permaLink=true permaLink => "http://freshmeat.net/news/1999/06/21/930003829.html", # alternately creates a guid field with permaLink=false # guid => "gtkeyboard-0.85 enclosure => { url=>$url, type=>"application/x-bittorrent" }, description => 'blah blah' ); If permaLink were to be commented and guid uncommented the code would not be syntactically correct because its value needs an end quote and a comma after that, like so: # guid => "gtkeyboard-0.85",
On Sun May 14 08:59:23 2006, guest wrote: Show quoted text
> The documentation in question follows:
Thanks, fixed in SVN.