Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Shlomi Fish (918)

Shlomi Fish
  shlomif@iglu.org.il
http://www.shlomifish.org/
AOL IM: ShlomiFish (Add Buddy, Send Message)
Yahoo! ID: shlomif2 (Add User, Send Message)
Jabber: ShlomiFish@jabber.org

I'm a hacker of Perl, C, Shell, and occasionally other languages. Perl is my favourite language by far. I'm a member of the Israeli Perl Mongers, and contribute to and advocate open-source technologies. Technorati Profile [technorati.com]

Journal of Shlomi Fish (918)

Tuesday August 05, 2008
04:34 PM

Web Feed Mangling Blues

[ #37106 ]

Back when I was looking for a way to aggregate several RSS feeds, a few years back, I found XML-RSS-Aggregate by Audrey Tang. Using it turned out to be problematic and I had to patch it, sub-class it, and write a lot of code above it to have it behave with my feeds.

Then after I asked Audrey about it on the IRC, she told me that XML-RSS-Aggregate was no longer recommended and that XML-Feed was then the way to go. So I happily switched to using XML-Feed and even packaged it for Mandriva, and all was all. I wrote a 5 star review for it on CPAN ratings, and wrote a 1 star review on XML-RSS-Aggregate directing people to XML-Feed instead.

My problems started again, when after setting up the feed for my XML-Grammar-Fortune-based fortunes, I discovered that the Atom feed did not validate and the RSS feed had many warnings. I ended up maintaining XML-Feed in my own repository, and tried to contact the author of XML-Feed about becoming a co-maintainer.

Now, yesterday, I joined #plagger on Freenode, trying to see how I can make progress there, and miyagawa told me about Data-Feed, which is a new module, which aims to be even better than XML-Feed. I thought to myself "Thanks God!" and decided to try to install it.

Not wanting to pollute my system, I decided to prepare Mandriva RPMs of it and its dependencies, which you can find in the link. I ran into a problem with its tests failing due to the fact what Data-Feed tried doing only worked with XML-RSS-LibXML and not with XML-RSS which was all I had installed. I reported a bug about it, and am hoping for the best.

Today, I decided to try to convert the XML-Grammar-Fortune-Synd code to use Data-Feed instead of XML-Feed and see if it would help me. But then I tried to look up some classes with which I was familiar from XML-RSS and realised that Data-Feed had practically non-existent documentation. So I could not look up that information even if I wanted to.

So I decided to stick with XML-Feed for the time being. Right now XML-Grammar-Fortune-Synd depends on XML-Feed with my downstream patches, and fails all tests, and the Atom feed still does not validate. So it's only mostly broken.

I got the web-feed manglin' Blues!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.