Sha256: de039e8a583dc1c7d981ce1c50682c03a24fcabad6200001ce857163dec7541e
Contents?: true
Size: 451 Bytes
Versions: 2
Compression:
Stored size: 451 Bytes
Contents
require "jkl/rest_client" require "jkl/rss_client" require "jkl/calais_client" require "jkl/text_client" module Jkl class << self def links(feed) links = Jkl::Rss::links(Jkl::Rss::items(Jkl::get_xml_from(feed))) links.each do |link| yield link if block_given? end end def tags(key, link) text = Jkl::Text::sanitize(Jkl::get_from(link)) Jkl::Extraction::tags(key, text) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jakal-0.1.3 | lib/jkl.rb |
jakal-0.1.2 | lib/jkl.rb |