« God Bless America | Main | Tag algebra »

Planet Express 0.1

I've released the first version of Planet Express, a Python script that uses a blog as the public interface for the feed aggregator. Planets are public feed aggregators. For example, you can read Planet Movable Type or Planet Python. The mother of all planets is Planet, a Python script that read a list of feeds and uses templates to generate the front page of the planet. However, I think that using a blog for the front page is more efficient while taking advantage of a full featured CMS's like Movable Type, Blogger or TypePad. Right now, I'm testing the 0.1 release (source code available in BSD license) in Planeta Canarias.

It requires requires Python 2.1. It uses Universal Feed Parser (Mark Pilgrim) and OPML Paser (David Janes). Planet Express reads an OPML file containing a list of feeds. Then, it reads each feed and extracts the new entries. Finally, it publishes the new entries in a blog using metaWeblog API. For each entry, Planet Express saves a unique identifier in express.hsh. This file is readed when parsing new entries to avoid re-publications. Entry titles in the aggregator blog use the format

  <blog URL>blog title</blog URL>: <post URL>post Title</post URL>

Blog's URL and title are taken from OPML feed file (htmlUrl and title attributes of outline element).

The remote publishing configuration is stored in express.cfg file, which has the following format:

[Remote API]
method=metaweblog
point=http://www.typepad.com/t/api
appkey=
username=myuser
password=mypassword
blogid=771313
opml=myfeeds.opml

You will find more information in README and INSTALL files, in the released package. Suggestions welcome.

Similar software is Ben Hammersley's Crossposter for MT and Morbus' MyRSSMerger, the two of then programmed in Perl. Planet Express' initial implementation was done in Perl, but some of the CPAN modules I used had troubles dealing with feed encoding (some Spanish feeds use ISO-8859-1, ISO-8859-15 and other ones, UTF-8). Pilgrim's Feed Parser is a kick ass library and support both RSS (and its many versions) and Atom.

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8345369a369e200d834570d3a69e2

Listed below are links to weblogs that reference Planet Express 0.1:

» Planet Express + Planeta Canarias en producción from Diario Gratis. Weblog en Internet

En linotipo encontramos este interesante artículo : "Aunque todavía falta por afinar algunas cosas, Planeta Canarias ya está [Read More]

» Planet Express, Python aggregator to create metablogs from LuistxoBlog
First there was Planet Planet, Python package to aggregate feeds. Now there's "Planet Express" (just version 0.1 so far), to aggregate feeds and re-load them into a given blog. [Read More]

» Planet Express 0.2 from Blogging in the wind
I've just released Planet Express 0.2, a manteinance version. This software is a Python script that uses a blog as the public interface for the feed aggregator, like Movable Type, Blogger or TypePad. It supports Blogger API and metaWeblog API as remote... [Read More]

Comments

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

My Photo

Flickr

  • www.flickr.com
Blog powered by TypePad