Beer, passing time, one more chapter down

Archived Comments

  • I seem to have waited in vain for years now for ports of feedparser to other languages. In particular PHP and C#. For PHP, Magpie is not bad but it still barfs on feeds that are not perfect XML. And without re-igniting that debate, *I* want a parser that will do it's best even when the feed is broken. Maybe this is a lazyweb request.
  • Well, for Java, there's also Rome (https://rome.dev.java.net/), although I've not yet had a chance to play with it. But, yeah, the existence of feedparser only for Python has exerted quite a pull in keeping me programming in Python while I want to play around with Lisp, Ruby, and C#. And, I seem to remember someone was playing around with a port of feedparser to another language, but the link escapes me. Anyone trying to port the thing is likely to go mad, though... have you ever looked at what all that thing does? :) It's a very useful tool, but it's also a concrete demonstration of why we really need to insist on valid feeds.
  • (Oh yeah, and valid feeds from clear and consistent specs, too.)
  • (must..resist..retort...)
  • Personally, I don't see what the deal is about generating valid XML. It's just not that difficult. (Now, talk to me about getting encodings right, then we're on the same page: that [can get arbitrarily complex](http://plasmasturm.org/log/276/). But I'll tell you to simply stick to UTF-8 and forget your worries, because that Just Works.) Anyway: > Man, I haven't felt like that about a job--just doing my time--since I worked as a bagger / cashier for Farmer Jack. Count yourself lucky. Very few people have this luxury, even in the "civilized," "modern" world. PS.: I was going to ask you to enable at least some rudimentary markup such as italics, blockquotes and the like, since you moderate your comments anyway. Then I noticed in preview that you're running your comments through Markdown. That's even better, but maybe we could have a notice about that on the comment form?
  • I've tried to port some tests from the feedparser suite to the RSS library in Ruby. Due to lack of time and ultimately interest, I drop the ball very soon. I also had a look at Mark's code, but gave up the idea of a port as well: that thing needs time to be studied before attempting a raw port to any language. But, yes, it would be cool to have someone (else) to do it.
Links Lobbed at Lunchtime  Previous Further Random Evening Thoughts Next