Skip Menu | You are currently an anonymous guest. | Login | Return to Main | About rt.cpan.org
 

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.

X Report information
Id: 30234
Status: resolved
Left: 0 min
Priority: 0/0
Queue: XML-Feed

Owner: SIMONW <simonw [...] cpan.org>
Requestors: mattn <mattn.jp [...] gmail.com>
Cc:
AdminCc:

Severity: Normal
Broken in: 0.12
Fixed in: (no value)




X History Display mode: Brief headersFull headers
#   Wed Oct 24 04:42:49 2007 mattn - Ticket created  
Subject: XML::Feed-0.12 can't treat multiple subject.
[text/plain 378b]
When parsing AtomFeed, if the feed has several 'dc:subject' node, then
Atom.pm won't return ARRAY.

IMHO, 'dc:subject' is not prescribed as 'single node' in definition of Atom.
(It may that I could not find it)

Thus, I guess that Atom->category should use 'getlist' instead of 'get'
like that RSS.pm return ARRAY when few 'dc:subject' be included.

Please try attached patch.

Subject: Atom.pm.patch

[application/octet-stream 457b]
Message body not shown because it is too large or is not plain text.
#   Thu Oct 16 15:41:00 2008 SIMONW - Taken  
#   Thu Oct 23 21:42:23 2008 SIMONW - Correspondence added  
[text/plain 31b]
Should be fixed as part of 0.23
#   Thu Oct 23 21:42:29 2008 RT_System - Status changed from 'new' to 'open'  
#   Thu Oct 23 21:42:30 2008 SIMONW - Status changed from 'open' to 'resolved'