You can easily submit websites to OTD.toJust copy the following HTML-Code to your Website. After that you can submit a Door by clicking the Bookmark Button.
OExchange is a simple specification for URL-based content sharing on the web.OExchange makes it possible to share any URL-based content with any service on the web. For more information about OExchange please visit the public website, which contains the spec, guides, tools, just about everything. You can alltought visit the OExchange Google Group.
Where to find?The /.well-known/host-meta resource is an XRD document that describes services available on the host, and is available via simple HTTP request. It include a reference to the target XRD for otd.to
API Status: active
You can use our API through a series of POST variables:
- List – Returns a category list in XML format
- Login – Check if login credentials are valid
- Ping – Check API status
- Post – Open a New Door
- Version – Get API version
The list function will return a category list for OTD website, as well as ID numbers for each category. These ID numbers will be needed when you go to use the Post function.
The login function is useful if you want to check if the account credentials provided are valid. When the username and password provided are correct it will return a unique user ID number. On failure it will return a zero (0).
Ping is one of the simplest function provided because it doesn’t have any arguments. It will return a response of “Active” to indicate that the site is online and the API is enabled.
The post function is the most complicated because it has so many variables. It is also the most useful because it can be used to submit stories to OTD from a third party website by submitting a simple POST form.
The version function is used to return the OTD API version number. A successful response will be a number, often with a decimal place.