HTML5 Validator.nu ruby gem
22 Apr 2010 {View Comments}
Thought it has been a while since I last updated my blog so, what have I been working on recently? Well, something that has caught my interest quite feverently is HTML5. A lovely little markup language with so much potential the best benefit for me would be the complete eradication of flash from the face of the internet. Working with flash on a number of different levels over the years, sometime it was kinda-fun, somtimes it produced cool results but it has always come with an overbearing of pain.
Where was I? Anyway, standards are great. Use them. So you could not call me a hypocrite after reading this, I recently decided to take the leap and fully embrace HTMl5 here on this blog. So, like any self respecting geek, I wrote a wrapper library for the HTML5 validator in my programming language of choice (Ruby).
You can check out the validator.nu ruby gem on github. Or dive right in with the following example.
gem install validator.nu
require 'validator.nu'
require 'uri'
Validator.nu(URI.parse('http://bbc.co.uk'))
Enjoy!