This repository has been archived by the owner on Dec 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zachary Scott
committed
Oct 17, 2010
1 parent
71324c3
commit 0b93ec1
Showing
2 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |