Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
adding readme in markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Scott committed Oct 17, 2010
1 parent 71324c3 commit 0b93ec1
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 2 deletions.
2 changes: 0 additions & 2 deletions README

This file was deleted.

44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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

* HTML: http://kenshoooo.com/api/json/html
* CSS: http://kenshoooo.com/api/json/css
* XML: http://kenshoooo.com/api/json/feed

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

0 comments on commit 0b93ec1

Please sign in to comment.