Method: FeedParser::Parser#parse_microformats
- Defined in:
- lib/feedparser/parser.rb
permalink #parse_microformats ⇒ Object
[View source]
72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/feedparser/parser.rb', line 72 def parse_microformats logger.debug "using microformats/#{Microformats::VERSION}" logger.debug "Parsing feed in html (w/ microformats)..." collection = Microformats.parse( @text ) collection_hash = collection.to_hash feed = HyFeedBuilder.build( collection_hash ) logger.debug "== #{feed.format} / #{feed.title} ==" feed # return new (normalized) feed end |