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