patchwork

an assorted collection of randomness and non-essential remarks
Have at least one original repos where PHP is the dominant language The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos Fork and commit to someone's open source project in need Have a project valued enough to be forked by someone else Have at least three original repos where Ruby is the dominant language Have at least one original repo where Ruby is the dominant language Have at least one original repo where some form of shell script is the dominant language
Endorse tarakanbg on Coderwall Powered by Obtvse

Nice Nokogiri tutorial

I stumbled upon a nicely written entry-level tutorial about nokogiri, giving a clean, plain language explanation of the basic gem functionality and methods. The article is part of The Bastards Book of Ruby.

Img

Dan Nguyen

Parsing HTML with Nokogiri

We... saw how to use the web inspector to intercept raw data files. This allows
us to read from them directly rather than deal with the data in HTML format...
But there will be many instances when you'll need to parse raw HTML. The
Ruby gem Nokogiri makes reading raw HTML as easy as crack-parsed XML
and JSON.

Read the entire post here

Back to Blog