Method: Html2rss::Item#extract
- Defined in:
- lib/html2rss/item.rb
#extract(tag) ⇒ String
Selects and processes data according to the selector name.
75 76 77 78 79 80 81 82 |
# File 'lib/html2rss/item.rb', line 75 def extract(tag) = config.selector_attributes_with_channel(tag.to_sym) post_process( ItemExtractors.item_extractor_factory(, xml).get, .fetch(:post_process, false) ) end |