Class: Scraper::Microformats::HAtom

Inherits:
Base
  • Object
show all
Defined in:
lib/scraper/microformats.rb

Defined Under Namespace

Classes: Entry, Feed

Instance Method Summary collapse

Instance Method Details

#collectObject



76
77
78
79
80
81
82
83
84
# File 'lib/scraper/microformats.rb', line 76

def collect()
  @feeds ||= []
  @feeds << entries if entries
  for feed in feeds
    for entry in feed
      entry.author = hcard unless entry.author
    end 
  end
end