Sha256: 303434d375142606591ed50e9f5e978b651ab0cbe6a37910c9bfed0ef553444e
Contents?: true
Size: 417 Bytes
Versions: 1
Compression:
Stored size: 417 Bytes
Contents
require_relative "jkl/rss_client" require_relative "jkl/calais_client" require_relative "jkl/text_client" require "mechanize" module Jkl class << self def get(url) agent = Mechanize.new agent.get(url).body end def links(feed) links = Jkl::Rss::links(Jkl::Rss::items(Jkl::get(feed))) links.each do |link| yield link if block_given? end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jakal-0.2.0 | lib/jkl.rb |