Skip to content Skip to sidebar Skip to footer
Showing posts with the label Nokogiri

Parse Html Into Rails Without New Record Every Time?

I have the following code which is parsing a HTML table as simply as possible. # Timestamp (Column … Read more Parse Html Into Rails Without New Record Every Time?

How Can I Detect Errors In An Html Document Fragment With Ruby?

I'm collecting some HTML formatted content from a web form. Before saving this HTML content, I&… Read more How Can I Detect Errors In An Html Document Fragment With Ruby?

Strip Text From Html Document Using Ruby

There are lots of examples of how to strip HTML tags from a document using Ruby, Hpricot and Nokogi… Read more Strip Text From Html Document Using Ruby