I am trying to change a ruby script to make it more easily portable. Unfortunately hpricot seems a bit complicated to install on MS Windows and I want to avoid it. My ruby skills are however minimal (or less). How do I replace this with Nokogiri?
htmlText = Net::HTTP.get URI.parse("#{ARGV.shift}?type=embed")
html = Hpricot( htmlText )
With this
gotten from http://nokogiri.org/