search for: bronvermeld

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

2006 Mar 01
1
break in a each function
...sdoc.elements[''rss/channel/link''].text counter = 0 # Extract each RSS item rssdoc.elements.each(''rss/channel/item'') do |item| counter = counter + 1 @artikel=Article.new @artikel.titel = item.elements[''title''].text @artikel.bronvermelding = item.elements[''link''].text @artikel.article_type_id = 1 @artikel.publicatie_on = Time.new paragraaf = Paragraaf.new() paragraaf.ondertitel = item.elements[''title''].text paragraaf.tekst = item.elements[''description''].text...