find_feeds (Raggle::Engine)

    # File raggle, line 5550
        def Engine::find_feeds(str)
          syn = Raggle::Syndic8.new

          syn.keys -= ['siteurl']
          syn.max_results = $config['syndic8_max_results']

          # query syndic8
          ret = syn.find(str)

          # find empty and duplicate results
          cruft = []
          ret.each do |feed|
            cruft << feed if feed['dataurl'].size == 0
            cruft << feed if feed['sitename'].size == 0 &&
            feed['description'].size == 0
            dups = ret.find_all { |f| f['dataurl'] == feed['dataurl'] }
            if dups.size > 1
              dups.shift
              dups.each { |dup| cruft << dup }
            end
          end

          # delete cruft
          cruft.each { |feed| ret.delete(feed) }

          ret
        end