Sha256: e45cdcc8e5f5293c3a7b8c481367e597c5d3460ca8b4e375681490988b8944e0
Contents?: true
Size: 245 Bytes
Versions: 4
Compression:
Stored size: 245 Bytes
Contents
require 'hpricot' module Jkl def get_items_from(rssdoc) items = [] (rssdoc/:item).each { |rssitem| items.push rssitem } unless rssdoc==nil items end def attribute_from(item, name) (item/name).inner_html end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
sshingler-jkl-0.0.2 | lib/rss_client.rb |
sshingler-jkl-0.0.4 | lib/jkl/rss_client.rb |
sshingler-jkl-0.0.5 | lib/jkl/rss_client.rb |
sshingler-jkl-0.0.6 | lib/jkl/rss_client.rb |