Website: http://stackoverflow.com
Rank: 316 / 357
2 selected articles
ruby on rails - Using FeedJira to create RSS aggregator ...
Here's one way:
Create a model such as this:
class Entry < ActiveRecord::Base attr_accessible :guid, :source_site_id, :url, :title, :summary, :description, :published_at def self.update_from_feed(feed_name) feed = Feed.find_by_name(feed_name) feed_data = Feedjira::Feed.fetch_and_parse(feed.feed_url) add_entries(feed_data.entries, feed) end private def...
Related topics : rails rss feed example / create rss feed for site without one / create rss feed aggregator / ruby on rails rss aggregator / create rss aggregator
Parsing RSS feed to android application - Stack Overflow
Here is the code To fetch a RSS Feed from a URL and list it in a listview in android.
You need first to create a class that extends ListActivity, and then put this code:
// Initializing instance variables headlines = new ArrayList(); links = new ArrayList(); try { URL url = new URL("http://www.RSS-Feed-URL-HERE"); XmlPullParserFactory factory =...
Related topics : rss feed code for android
2 Resources