Author Topic: YodaAdvice is a site of great Jedi Wisdom (from the Redundant Robot Blog)  (Read 1350 times)

0 Members and 1 Guest are viewing this topic.

Software Santa

  • Administrator
  • *****
  • Posts: 4284
  • OS:
  • Mac OS X 10.9 Mac OS X 10.9
  • Browser:
  • Firefox 27.0 Firefox 27.0
YodaAdvice is a site of great Jedi Wisdom
(I found this as a link in the Redundant Robot Blog)

Like This, you Might: http://yoda-wisdom.herokuapp.com/
(Press R to summon another ...)


Quote
Of all of my web app ideas I come up with, the one I couldn’t get out of my head was a dumb little Yoda advice page. Fortunately, my dumb ideas are not without making practice of something I can use later.

Originally I had used Nokogiri to parse data from websites but it isn’t the easiest to use gem. I’m sure if I took time to master it I’d be a parsing machine, but I had heard about Mechanize and this was the gem I wanted to try out for my Yoda site.

I parsed out data from a few other Yoda quotes sites and shoveled them right into my database using a rake task. It gets the job done and enabled me to easily randomize a quote along with an image to display everytime you hit the reload button (or just press ‘R’).

Anyway, I have no other plans for this little exercise but wanted to share.

http://yoda-wisdom.herokuapp.com/

 


This Site was Opened on January 1st, 2007

Welcome Visitor:





@MEMBER OF PROJECT HONEY POT
Spam Harvester Protection Network
provided by Unspam



email