Included in this zip is a full copy of the Simile Widgets API files at http://api.simile-widgets.org, with one small modification: all hard-coded references to the MIT server have been replaced with a variable named apiPath.

Once the API files have been uploaded to your web-server, you can set the correct apiPath using the javascript below in your Exhibit HTML. Exhibit and its extension items can then be loaded as required by removing the preceding //s.

Also included in the zip is a copy of the latest Exhibit trunk as at 4th Sep 2010 (which has some neat things not in version 2.2.0, such as Open Layers map view and Pagination), and Dan Langes simplemap-view.js (which removes dependencies on the MIT painter service for Map view).

I hope you find it useful!

Regards,
Jon Bogacki
jon.bogacki@gmail.com


<script type="text/javascript">
// Set the absolute path to your simile-api directory 
var apiPath = 'http://www.yourwebsite.com/simile-api';
 
// Load Exhibit & Extention items as required
 load( apiPath + '/exhibit/latest/exhibit-api.js' );
// load( apiPath + '/exhibit/latest/extensions/time/time-extension.js' );
// load( apiPath + '/exhibit/latest/extensions/timeplot/timeplot-extension.js' );
// load( apiPath + '/exhibit/latest/extensions/map/map-extension.js?gmapkey=' );
// load( apiPath + '/exhibit/latest/extensions/map/map-extension.js?service=openlayers' );
// load( apiPath + '/exhibit/latest/extensions/chart/chart-extension.js' );
// load( apiPath + '/exhibit/latest/extensions/calendar/calendar-extension.js' );

// load( apiPath + '/timeline/2.3.1/timeline-api.js' );
// load( apiPath + '/timeplot/1.1/timeplot-api.js' );
// load( apiPath + '/timegrid/timegrid-api.js' );
// load( apiPath + '/runway/1.0/runway-api.js' );

 
  function load( url ) {
   var script = '<script type="text/javascript" src="'+ url +'"></scr'+'ipt>\n';
   document.write( script );
 }
 </script>