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

Hpricot, Get All Text From Document

I have just started learning Ruby. Very cool language, liking it a lot. I am using the very handy … Read more Hpricot, Get All Text From Document

Run Ruby File From Html Form Submit

I have a Ruby program that reads a file and returns a certain output. I have to now create a web ap… Read more Run Ruby File From Html Form Submit

How To Serve Static Html Pages With Rails?

I have Rails application with documentation which is static html pages in the /public folder. The t… Read more How To Serve Static Html Pages With Rails?

Page Views Counter Sinatra?

How to implement a page views counter in Sinatra and Ruby? I have tried the @@ variables but they … Read more Page Views Counter Sinatra?

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

Refused To Apply Style Because Mime Type Is Not Supported

I keep getting an error that says that the MIME type ('text/html') isn't executable or … Read more Refused To Apply Style Because Mime Type Is Not Supported

Html Agility Pack Or Html Screen Scraping Libraries For Java, Ruby, Python?

I found the HTML Agility Pack useful and easy to use for screen scraping web sites. What's the… Read more Html Agility Pack Or Html Screen Scraping Libraries For Java, Ruby, Python?

Save All User Entries From Html Text Built Off A Loop Using Ruby And Sinatra

I am creating a web page that displays a table. It also has four columns at the end of each record … Read more Save All User Entries From Html Text Built Off A Loop Using Ruby And Sinatra