Chronoscope

Widget Intro

To support mashups and ease of use, you don't neccessarily need to deploy Chronoscope yourself. Timepedia is hosting a live version of Chronoscope deployed as a mashable widget. To use Chronoscope in your website, simply add the following script tag to your HTML.

<script src="http://api.timepedia.org/widget/chronoscope.js"></script>

Once this is done, you can follow the JS API or Microformat API examples to utilize the Widget in your pages.

If you wish to deploy your own instance of the widget, you have two options. The first option is to deploy a WAR file into a Java Servlet container, which includes the widget as well as the Font Service for rotated fonts. You can find a downloadable war file at the Chronoscope Project site.

The other option is to deploy a Javascript only library, available for download on the project site as a zip file. Unzip the "chronoscopewidget-js.zip" file into an HTTP accessible directory, and Chronoscope will work, but without rotated fonts. You can enable them if you wish to use the Chronoscope FontService by adding the following line of code to your HTML.

function onChronoscopeLoaded() { chronoscope.Chronoscope.setFontBookRendering(true); chronoscope.Chronoscope.setFontBookServiceEndpoint("http://api.timepedia.org/fr"); }

© Timepedia