Skip Menu |
 

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

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

People
Owner: Nobody in particular
Requestors: phli [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in:
  • 1.01
  • 1.04
Fixed in: (no value)



Subject: outputting $self->{channel}->{lastBuildDate}
Download (untitled) / with headers
text/plain 505b
I've found this bug in versions 1.01 and 1.04. I think it's safe to assume it's in 1.02 and 1.03 and has been around a while. Attached a patch to 1.04, but it might be ugly and Windows linebreaky. Very simple problem: in the call to as_rss_0_9_1(), after it checks for the existence of $self->{channel}->{lastBuildDate}, it then outputs $self->{channel}->{pubDate}. So if you make an RSS 0.91 feed with a lastBuildDate but no pubDate, you find that it's spitting out a blank element for lastBuildDate.
Download RSS.pm
text/x-perl 70k

Message body is not shown because it is too large.

Download (untitled) / with headers
text/plain 624b
fixed in CVS, 1.05 should be out shortly. [guest - Wed Mar 31 12:21:34 2004]: Show quoted text
> I've found this bug in versions 1.01 and 1.04. I think it's safe to > assume it's in 1.02 and 1.03 and has been around a while. Attached > a patch to 1.04, but it might be ugly and Windows linebreaky. > > Very simple problem: in the call to as_rss_0_9_1(), after it checks > for the existence of $self->{channel}->{lastBuildDate}, it then > outputs $self->{channel}->{pubDate}. So if you make an RSS 0.91 > feed with a lastBuildDate but no pubDate, you find that it's > spitting out a blank element for lastBuildDate.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

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