search for: get_feed2

Displaying 1 result from an estimated 1 matches for "get_feed2".

Did you mean: get_feeds
2006 Mar 01
1
break in a each function
i have a method , and i only want the first 10 feeds to be put in the database , why doesn''t this control structure works , when the counter is 10 it has to jump out the iteration greetz Klaas def get_feed2(rssfile) # Open the RSS file rssfeed = open(rssfile.url) # Use the built-in REXML module # Read the entire RSS file into memory rssdoc = Document.new rssfeed.read #Extract some header data about the feed title = rssdoc.elements[''rss/channel...