hupili / snsapi

Cross platform middleware for Social Networking Services: Twitter, Facebook, SinaWeibo, Renren, RSS, Email, Sqlite, ... (more coming)
http://snsapi.ie.cuhk.edu.hk
159 stars 53 forks source link

RSS and Atom #80

Open hupili opened 11 years ago

hupili commented 11 years ago

I originally take them as the same thing because when people call "RSS", sometimes they give you an "ATOM". Also, the feedparser mod of Python deals with both format. That also left me some impression that the two are the same.

A related SO discussion

I'm trying to drive the RSoc Community and the difference arise. Although we call it "RSS", "ATOM" is also included in the methods for status distributions. Currently, the RSS platform of SNSApi can read both types seamlessly. It only writes to RSSv2 format.

From the discussions, it looks like ATOM is superior. However, RSS is still the de facto standard. From the SNSApi's point of view, they are not very different. We only use a few fields to map them to internal data structure of Message.parsed. Later when we insert meta info in the feeds, both formats are not enough. We will encode the information ourselves.

Leave a note here.