Created
July 18, 2010 14:42
-
-
Save zenom/480449 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ree-1.8.7-head > feed = Feed.first | |
=> #<Feed favicon: "", _keywords: #<Set: {"cagepotato.com"}>, slug: "cage-potato", created_at: Sun, 18 Jul 2010 03:15:01 UTC +00:00, etag: nil, title: "CagePotato.com", updated_at: Sun, 18 Jul 2010 13:36:39 UTC +00:00, auto_tweet: true, feed_url: "http://www.cagepotato.com/rss.xml", feed_format: "rss", url: "http://www.cagepotato.com", _id: BSON::ObjectID('4c4271b4acbef23392000006'), post_ids: [BSON::ObjectID('4c4272ddacbef23427000001'), BSON::ObjectID('4c4272ddacbef23427000002'), BSON::ObjectID('4c4272ddacbef23427000003'), BSON::ObjectID('4c4272ddacbef23427000004'), BSON::ObjectID('4c4272ddacbef23427000005'), BSON::ObjectID('4c4272ddacbef23427000006'), BSON::ObjectID('4c4272ddacbef23427000007'), BSON::ObjectID('4c4272ddacbef23427000008'), BSON::ObjectID('4c4272ddacbef23427000009'), BSON::ObjectID('4c4272deacbef2342700000a')], last_modified: Sat, 17 Jul 2010, active: true> | |
ree-1.8.7-head > feed.to_feed | |
=> #<Feedzirra::Parser::RSS:0x103dffa58 @title="CagePotato.com", @feed_url="http://www.cagepotato.com/rss.xml", @url="http://www.cagepotato.com", @entries=[#<Feedzirra::Parser::RSSEntry:0x103dff878 @title="Jake Shields Signs With UFC, Will Debut as a Welterweight", @url="http://www.cagepotato.com/jake-shields-signs-ufc-will-debut-welterweight">], @etag=nil, @last_modified=Sat, 17 Jul 2010> | |
ree-1.8.7-head > test = Feedzirra::Feed.update(feed.to_feed) | |
=> nil | |
ree-1.8.7-head > |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment