View on GitHub

Feed-buster

Web service for injecting MediaRSS tags into RSS/ATOM feeds

Download this project as a .zip file Download this project as a tar.gz file

Overview

Feed-buster is a service that enables better RSS/ATOM feed media importing into FriendFeed. Here is the result of using Feed-buster when importing feeds into FriendFeed:

Feed-buster is actually a collection of AppEngine services for remixing RSS and ATOM feeds. Currently, the only service is MediaInjection which injects media enclosure links into feed posts based on media present in the item description and content

Media injection

Media enclosures are special RSS/ATOM tags that identify rich media content in feed posts. The Media injection service automatically inserts media enclosure tags into RSS/ATOM feeds that do not have them. The service crawls feed posts for rich media, generates and inserts media tags back into the feed for each post, and outputs the resulting feed.

Why do this? Some feed-based applications, like FriendFeed, generate their UIs based on media present in feeds. These applications don't crawl the content of feed posts for media items, rather just look for special media tags that identify this media. Therefore, if no media tags are present, the UI will not contain any rich media like images and videos, and this causes bad user experience.

Feed-buster generates media enclosure tags based on the Media RSS standard module, which is used by FriendFeed. See the RSS 2.0 specification and Media RSS module definition for a detailed explanation of media enclosures and Media RSS extension. Currently, feed-buster crawls images, mp3 audio links, youtube embedded videos and vimeo embedded videos. Support for other media is on the way.

Service API

Media injection is a simple HTTP service: you pass it a feed URL in a GET request URL parameter, and it returns the modified feed as the result. Replace FEED_URL with your RSS or ATOM feed URL in the following:

http://feed-buster.appspot.com/mediaInjection?inputFeedUrl=FEED_URL

Example: for the feed http://feeds.laughingsquid.com/laughingsquid the service call would be http://feed-buster.appspot.com/mediaInjection?inputFeedUrl=http://feeds.laughingsquid.com/laughingsquid.

Optional URL parameters:

URL-builder form

Copy/paste the output URL and try the new feed out on the FriendFeed feedtest page!

Credits

Feed-buster is developed by Ivan Zuzak <izuzak@gmail.com>.

Libraries and services used:

License

Licensed under the Apache 2.0 License.