Mark Pilgrim’s Universal Feed Parser: Do we have similar APIs in Java or Perl?

Posted : May 17, 2004 at 9:42 am [America/Los_Angeles]

I am about to embark on a little project which might involve dealing with all kinds of feeds and so far the only “comprehensive” feed parser that I known of is Mark Pilgrim’s Universal Feed Parser. Any Perl or Java versions out there?

Note:
If I find one, I will make sure that I update this blog entry

- Anand

Viewed: 708 times

5 Comments

Informa may be a decent starting point. Lance is also working on an Atom API which may be useful. Perhaps Informa can be extended to wrap Lance’s work on Atom?

Posted by: Anthony Eden at May 17, 2004 @ 12:11 pm

Hi. There is also a project that just landed at Apache Jakarta called the Jakarta Feed Parser that will provide a universal Java-based API to different kinds of RSS feeds. Check out a post on it at http://www.peerfear.org/rss/permalink/2004/02/18/JakartaFeedParserNowInCVS/. Disclosure: I work for the company, Rojo, that open-sourced this.

Posted by: Brad Neuberg at May 17, 2004 @ 12:18 pm

Regarding the Atom API, the most complete Java API out there right now IMHO, is Sandler. I’m biased as I’m “a part of” the project. It’s being used right now to provide Atom API support in blojsom.

Posted by: David Czarnecki at May 17, 2004 @ 12:44 pm

I looked a while back (a couple weeks ago) and couldn’t find anything (in Java) that did everything; especially something as lenient as Pilgrim’s UFP.

What I haven’t done is tried running the UFP through Jython: I think this may be a good solution if it is possible (I know nothing about P/Jython). Stand on the shoulders of giants, and all that.

And David, I don’t know of any way in which Sandler is more “complete” than Atom4J. Sure, it has a more fun name, and we take different approaches, but they do the same job. Wait, I thought of one: Atom4J doesn’t implement the authentication bit (which isn’t actually part of the Spec). Of course, I’m biased as I wrote Atom4J, which is integrated into Roller.

Posted by: Lance at May 17, 2004 @ 1:13 pm

Lance, David, Brad and Anthony:

Could not have been more happier to see so many pointers. Sweet. Will let you know which one works out best. And since I don’t use Roller or Blojsom, there is a slight chance I might be somewhat less biased..;-)

Posted by: Anand Sharma at May 17, 2004 @ 3:11 pm