|
Project Information
-
Project feeds
- Code license
-
GNU GPL v2
-
Labels
rails,
plugin,
activerecord,
ruby,
rss,
parser,
xml,
atom,
feed,
rdf,
syndication
Featured
|
URGENTPlease update your plugin version. I was make several changes to make work better. Thanks. Features:- Creates tables to store data feeds
- Provides templates for: Add/delete/update_entries feed, show entries by feeds, list feeds.
- Support RSS 0.9, RSS1.0 , RSS2.0 and ATOM
- REQUIRE:
- open-uri
- feed-normalizer
- hpricot
Current Version: 0.1HOW TO USE 07/26/07Generator: script/generate feeder rake db:migrate (To create the tables) Class Mehods: - is_feed? (url , option = :only_verify)
option:
- :feed_url (return the feed url or false)
- :only_verify (return true if is a feed or contains a feed, else return false)
- :xml (return a hash with the xml feed and the feed url {:file => xml_file , :feed_url => feed_url})
Instance Methods: - parse_feed (feed_url , option = :feed_url , want_save = false)
Parse the feed_url and return the feed model
option:
- :feed_url (set with this value when you pass the feed url)
- :xml (set with this value when you pass the hash with the xml feed file and feed url)
want_save: If is set to true saves the model returned
- get_entries (option = :update)
Get the entries for the feed
option:
- :new (get entries for a new feed without entries)
- :update (update the entries for a feed)
Please see the Changelog in the wiki page
|