The Artima Developer Community
Sponsored Link

Python Buzz Forum
Merging RSS and Atom feeds from various sources

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
Tarek Ziadé

Posts: 56
Nickname: tarek
Registered: Sep, 2005

Tarek Ziadé is R&D developer for Nuxeo Corp.
Merging RSS and Atom feeds from various sources Posted: Oct 16, 2005 1:51 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Tarek Ziadé.
Original Post: Merging RSS and Atom feeds from various sources
Feed Title: Tarek Ziadé
Feed URL: http://blogs.nuxeo.com/sections/blogs/tarek_ziade/exportrss
Feed Description: Feed about Python, Zope and all related technos
Latest Python Buzz Posts
Latest Python Buzz Posts by Tarek Ziadé
Latest Posts From Tarek Ziadé

Advertisement
I have a lot of Python rss/atom feeds in my aggregator and entries are doubled all over the place.

Could'nt find any tool that would merge entries from several sources out there, in a smart way, by trying to find doublons.

I wrote a little script, extending Mark Pilgrim's feedparser we use in CPSRSS, to merge several sources, using the difflib module and the rss rendering we have in CPSBlog.

It calculates the diff ratio on the title and content of each entry to decide wheter
it's the same entry. When the ratio is <= 0.2 it's the same entry (hopefully :) )

Here's an example ran on these:

The result is here
(It's a one-shot xmlfile, made today, so it's not a real feed
 it is still readable by any client though)

Now I've been told that this was pretty useless, and that i would better make some clean in my feeds and do more interesting stuff in my spare time.

But i can't help it: everytime i see a feed related to python I just add the stuff
 to my client :'). So for an unorganized person like me, a CPRSS personnal website with this merging capability, where i can drop tons of feeds would be perfect.

Read: Merging RSS and Atom feeds from various sources

Topic: Python and XUL: The Screenshot Previous Topic   Next Topic Topic: Python and XUL: The Screenshot

Sponsored Links



Google
  Web Artima.com   

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