Category "nokogiri"

#scan suddenly returns an empty array

I am creating a scraper for articles from www.dev.to, which should read in the title, author and body of the article. I am using #scan to get rid of white space

How to use Unicode chars with Nokogiri::XML::DocumentFragment

I want to use Unicode char with Nokogiri::XML::DocumentFragment. frag = Nokogiri::XML::DocumentFragment.parse("<foo>ü</foo>") => <foo>

Error building gems in Mountain Lion

I just bought a new MacBook Pro (obviously w/ML). First thing I'm doing is installing development tools. I installed Ruby with rvm and I've also got Homebrew in

How do I loop through XML using Nokogiri to add certain parts to an array?

I have this as my XML: <systems> <system number="2" > <lists> <list critical="user" access="remote"></list> <