lib/spidr/agent/events.rb
def every_atom_doc
      every_page do |page|
        if (block_given? && page.atom?)
          if (doc = page.doc)
            yield doc
          end
        end
      end
    end
def every_atom_doc
      every_page do |page|
        if (block_given? && page.atom?)
          if (doc = page.doc)
            yield doc
          end
        end
      end
    end
Pass every Atom document that the agent parses to a given block.

 @yield [doc]
   The block will be passed every Atom document parsed.

 @yieldparam [Nokogiri::XML::Document] doc
   A parsed XML document.

 @see http://nokogiri.rubyforge.org/nokogiri/Nokogiri/XML/Document.html