lib/jkl.rb in jakal-0.1.91 vs lib/jkl.rb in jakal-0.1.92

- old
+ new

@@ -15,10 +15,11 @@ yield link if block_given? end end def topix_links(keyphrase) - url = YAML::load_file('config/config.yml')['topix'] + url = YAML::load_file('config/config.yml')['topix'] || + "http://www.topix.net/rss/search/article?q=" links("#{url}#{keyphrase}") end def tags(key, link) text = Jkl::Text::sanitize(Jkl::get_from(link))