Displaying 1 result from an estimated 1 matches for "hpricot_doc".
2007 Jan 23
3
Someone getting RDig work for Linux?
...of the html documents.
:hpricot => OpenStruct.new(
# css selector for the element containing the page title
:title_tag_selector => ''title'',
# might also be a proc returning either an element or a string:
# :title_tag_selector => lambda { |hpricot_doc| ... }
:content_tag_selector => ''body''
# might also be a proc returning either an element or a string:
# :content_tag_selector => lambda { |hpricot_doc| ... }
)
# RUBYFUL SOUP
# This is a powerful, but somewhat slow, ruby-only html parsing lib
whic...