Jauntlet APIs
oEmbed
oEmbed is a standard which allows websites to include rich media content from other sites. Jauntlet has implemented this to allow embedding of Flash Jauntlets as well as links to other pages.
URL scheme:
http://jauntlet.com/*
API endpoint:
http://jauntlet.com/oembed
Parameters:
url (required) The URL to retrieve embedding information for.
maxwidth (optional) The maximum width of the embedded resource.
maxheight (optional) The maximum height of the embedded resource.
format (optional) xml or json (default)
Example:
For the URL http://jauntlet.com/2
The endpoint is http://jauntlet.com/oembed?format=xml&url=http%3A%2F%2Fjauntlet.com%2F2
The response is
<?xml version="1.0" encoding="UTF-8"?> <oembed> <version>1.0</version> <provider_name>Jauntlet Travel Map and Blog</provider_name> <provider_url>http://jauntlet.com</provider_url> <type>video</type> <title>Trip Around The World</title> <author_name>Jauntlet</author_name> <author_url>http://jauntlet.com/traveler/jauntlet</author_url> <cache_age>86400</cache_age> <thumbnail_url>http://jauntlet.com/data/mapimage.php?journeyid=2&size=180x180</thumbnail_url> <thumbnail_height>180</thumbnail_height> <thumbnail_width>180</thumbnail_width> <html><embed src="http://jauntlet.com/jauntlet/jauntlet.swf?id=2" loop="false" menu="false" quality="high" bgcolor="#ffffff" width="398" height="398" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflash" /></html> <width>398</width> <height>224</height> </oembed>