On Tue, 22 Apr 2008 22:58:55 +0200, martin f krafft wrote: > XML::Feed can't parse e.g. > http://blog.jroes.net/feeds/posts/default/-/netconf properly and > errors with "Cannot detect feed type" in identify_format().
Hm, I don't get any errors when I try to parse this feed; or more precise: The attached test script doesn't throw any errors and the output doesn't look strange either. Could you please try again and if you still get an error send a test script to make reproduction of the error easier? Cheers, gregor -- .''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4 : :' : debian gnu/linux user, admin & developer - http://www.debian.org/ `. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/ `- NP: Rolling Stones
#!/usr/bin/perl -w use strict; use XML::Feed; my $feed = XML::Feed->parse(URI->new('http://blog.jroes.net/feeds/posts/default/-/netconf')) or die XML::Feed->errstr; print "Feed title: ", $feed->title, "\n"; print "Feed format: ", $feed->format, "\n"; print "Feed URL: ", $feed->link, "\n"; for my $entry ($feed->entries) { print "Entry title: ", $entry->title, "\n"; print "Entry content: ", $entry->content->body, "\n\n"; }
signature.asc
Description: Digital signature