URGENT
Please 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.1
HOW TO USE
07/26/07
Generator:
script/generate feeder
rake db:migrate (To create the tables)
Class Mehods:
- is_feed? (url , option = :only_verify)
- :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})
option:
- parse_feed (feed_url , option = :feed_url , want_save = false)
- :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)
Parse the feed_url and return the feed modeloption:
want_save: If is set to true saves the model returned
- get_entries (option = :update)
- :new (get entries for a new feed without entries)
- :update (update the entries for a feed)
Get the entries for the feedoption:
