kwout | API | my kwout | history | add-on | extension | Help | News |
---|
Don't you wish to integrate "kwout" with your blog or web site, so that readers can easily quote your contents (news, goods, etc.)? Now you can do it using our APIs.
You can put a button on your web page, which allows readers to quote the web page via kwout.
We provide three types of button.
A button that allows readers to grab a screenshot of the entire web page, select an area of the screenshot, and actually quote it. Please click the left "k" button to check how this type of button works. You will get a screenshot of this page. | |
A button that allows readers to quote an area you specified by the XPath of the area of the web page. Please click the left "k" button to check how this type of button works. You will get the "Sample" section of this page directly. | Type C is called "kwout everywhere". It's using Type B inside. |
Please copy the following code and paste it to your blog or web site.
Please make a GET request with the following parameters, on "http://kwout.com/grab?".
address | web page address (URL needs to be encoded) |
---|---|
xpath | XPath of the area of the web page |
preset |
|
Here is a sample request.
http://kwout.com/grab?address=http%3A%2F%2Fkwout.com%2Fhelp%2Fapi&xpath=id(%22sample%22)
By using Referer API, you can get a list of web pages that quote your web page via kwout. This API is useful when you wish to show the list of web pages on your web page.
Referer API returns to the list of web pages in a JSON/JSONP format. Please make a GET request with the following parameters, on "http://kwout.com/api/get_referer?".
address | web page address (URL needs to be encoded) |
---|---|
blog |
|
summary |
|
callback | callback function name (JSONP) |
Here is a sample request.
http://kwout.com/api/get_referer?address=http%3A%2F%2Fkwout.com%2F&blog=1
For enterprise use, we can customize "kwout" as per your needs. ITmedia Inc., an online media company serving the Japanese IT market, for instance, has integrated "kwout" with their web sites like this. If you are interested in enterprise use, please feel free to contact us at support at heartrails dot com.