I'm a complete noob in all of this, but sometime ago I wrote a little script in Perl to parse an RSS feed. It starts like this:
use strict;
use XML::RSS::Parser;
use Data::Dumper;
my $url = "http://www.livenation.co.uk/Venue/159/Southampton-Guildhall-tickets/RSS";
my $parser = XML::RSS::Parser->new();
my $feed = $parser->parse_uri($url);
print Dumper( $feed );
print $parser->errstr();
It used to work (can't remember when I last checked it, but a few weeks ago it seemed to work), but today it no longer does. The RSS feed is alive, and passes through feedvalidator.org. The errstr()
returns this:
End tag mismatch (title != description) [Ln: 67, Col: 95]
I'm not really sure how this happened or what this means. The source of the RSS reads:
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
I don't know if it was different before. I tried a few other atom feeds and the parser seems to break on all of them. The problem is though, sysadmin is not back until after the deadline, so I have to use what's available.
UPDATE:
interesting. it breaks on both my w7 64 *active perl) and ubuntu (32, 9.10) installs. works fine on my friend's ubuntu though (same, 9.10). i tried reinstalling the modules, but that doesn't seem to change anything.