The Artima Developer Community
Sponsored Link

Python Buzz Forum
Feed Normalizer

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Feed Normalizer Posted: Dec 4, 2003 3:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Feed Normalizer
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

Quite a while back, I hacked up a little tool I call the Feed Normalizer. It's a Python script that reads and parses an RSS or Atom feed (using Mark P's Feed Parser), then spits out a bog-standard RSS 2.0 feed.

Why is this useful? Because it makes it trivial to work around incompatibilies in news aggregators. I use Feed on Feeds, which is great, but it shows me the content of the <description> element rather than of the <content:encoded> one, which sometimes contains more detail. I think BlogX generates feeds like this -- ChrisAn's one does it. The Feed Normalizer lets me see Chris's full posts.

Just recently, Seb Paquet contacted me to ask if I could change the comment monitor so that it would play better with SharpReader, the aggregator he uses. SharpReader has a clever feature where, if it sees an RSS <item> with no <description> element, it displays the linked page (the one in the <link> element) instead. I implemented this; now the comment monitor has a new "RSS without descriptions" link, just for SharpReader users.

... which suggested the possibility of getting the Feed Normalizer to blank out <description> tags for people who only provide summaries of their posts, so Seb could see the posts directly in SharpReader.

So:

Seb's RSS feed

Seb's RSS feed, normalized

Seb's RSS feed, normalized, with descriptions removed

A more useful example:

Charles Miller's RSS feed

... now without descriptions, so you can see the full posts in SharpReader

Comment

Read: Feed Normalizer

Topic: The pain of over abstraction Previous Topic   Next Topic Topic: Groovy is groovy

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use