Repository for the RailsRumble 2010 Team 136
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
public
views
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
config.ru
kensho.rb

README.md

About Kensho

Kensho was built for the 2010 Rails Rumble competition, a 48 hour hackathon. Although, it is actually a Sinatra application that relies on Nokogiri and W3C to build the api.

Validation Service

HTML

Choose the HTML option and paste in your markup to be validated by the W3C

CSS

Paste in your Cascading Style Sheets to be validated by the W3C

XML

Paste in your RSS feed or other XML markup for validation by the Nokogiri gem

Command Line Service

JSON API

Kensho provides an easy to use json api, that you can access via curl

Echo or Pipe your markup to the api

Example usage of json api:

curl 'mywebaddress.com/webpage.html' | curl -F markup=@- http://kenshoooo.com/api/json/html

YAML API

Kensho also provides a yaml api, accessible via curl

Simply swap 'json' with 'yaml' in the URI

curl 'mywebaddress.com/rssfeed.xml' | curl -F markup=@- http://kenshoooo.com/api/yaml/feed