Bell’s Expedition Stout is growing on me tonight. I didn’t like it much at first, but it’s growing on me.
I overheard someone here at work the other day saying that they like to take a late lunch because it makes the day go by faster. Man, I haven’t felt like that about a job–just doing my time–since I worked as a bagger / cashier for Farmer Jack.
I’ve alternated between states of so thoroughly enjoying what I was doing, and feeling stuck for the long haul until I managed to finish what I was doing. In either case, whatever hour it happened to be never figured into it.
Hot damn–one chapter left to write for the first draft. Hoping to have that done by Monday or mid-week, then I want to take a tour through the whole beast and ruthlessly slice and dice all the crap code I’ve left here and there and improve things in general.
It’s strange, but it took me awhile to realize that most everything I’m doing for this book are things I wanted to eventually do for FeedReactor. That realization hit me like a miniature paradigm shift that made me really want to rework some of the chapters I’d written months ago and attempt to pull things together in a more coherent toolkit / narrative. (That sounds kind of pretentious / awkward, but it’s what comes to mind.)
Now I alternate between worries that I’ve made things too complex, or that I’ve not done enough. I’m really hoping I’ve overcome my Beginner’s Mind worries in this book by the end, and have produced something worthwhile. It’s occurred to me, finally, that what I want this thing to be is a possible baseline starting point for anyone wanting to hack feeds.
I see so many projects starting from ground zero, reinventing so many wheels. If they’re lucky, a given tinkerer has least delegated parsing to something like Mark Pilgrim’s feedparser. But–and this is a big goal–I’d like this book to have done for other areas of feed consumption and production a bit of what feedparser has done for the ground floor of feed hacking. (Albeit lacking about 2000 tests.)
That is, providing a practical and usable swiss-army knife array for use in all your syndication feed experiments. It won’t necessarily be the most theoretically pure set of tools, but it should help you on your way to getting your job done.
The coolest thing for me would be if some tinkerers out there got their hands on my book and–instead of wasting time on yet another way to remember what feed entries their program has seen before, or fussing with syndication format conflicts, or hashing out one more way to handle various HTTP headers–they actually got straight down to some more interesting applications and analysis of feeds.
Anyway, excuse any oddness in the previous prose: I’ve emptied 3 of those aforementioned Expedition Stout bottles so far this eve. Good stuff.
-
About Me
Hi there! My name is Leslie Michael Orchard. I'm a serially enthusiastic, caffeine-dependent {web,mad,computer} scientist and {tech,scifi} writer working for the Mozilla Corporation and living near Ann Arbor / Detroit in Michigan.
-
Search
-
Buy my books
-
Related Posts
Most Commented Posts
- July 3, 2008 Getting Laconica up and running (90)
- June 16, 2008 Firefox 3 Download Day Mega Widget (56)
- December 3, 2004 If you snore, get tested for sleep apnea. Now. (41)
- March 4, 2003 Oh, I’m feeling lucky. (35)
- June 17, 2005 We’re engaged! (32)
- April 25, 2006 A Honeymoon in San Francisco (27)
- August 17, 2006 Don’t ask me who I am (24)
-
Tags
aggregators ajax apple atom books delicious entertainment feedmagick feeds firefox gaming hacking hacks identity ipod javascript js json links mashups metablogging microformats mozilla opml osx outliners php podcasting python rss scifi software syndication twitter web20 webdev webservices wordpress wow writing xml xoxo xoxooutliner xsl yahoo -
Recent readers
-
Archives
- April 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- February 2005
- January 2005
- December 2004
- November 2004
- October 2004
- September 2004
- August 2004
- July 2004
- June 2004
- May 2004
- April 2004
- February 2004
- December 2003
- November 2003
- October 2003
- September 2003
- August 2003
- July 2003
- June 2003
- May 2003
- April 2003
- March 2003
- February 2003
- January 2003
- December 2002
- November 2002
- October 2002
- September 2002
- August 2002
- July 2002
- June 2002
- May 2002
- April 2002
- March 2002
- February 2002




6 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. But I’ll tell you to simply stick to UTF-8 and forget your worries, because that Just Works.)
Anyway:
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.