Keep up with the latest Dojo Demos
Posted by Shane O'Sullivan on 8 May, 2008
The Dojo Feature Explorer now has an Atom feed you can subscribe to to keep up with all the latest demos that have been added. So, point your browser at http://dojocampus.org/explorer/featureexplorer/latestDemos.xml and subscribe!
For all the Web 2.0 addicts out there, I’ve also added access to the list via SCRIPT IO. If you point your browser to http://dojocampus.org/explorer/featureexplorer/latestDemos.php, you will receive a file containing a JavaScript array of the last ten demos added to the feature explorer. By default, it will call the function dojocDemos, passing it the array. You can specify the callback function you want using the callback parameter. e.g.
http://dojocampus.org/explorer/featureexplorer/latestDemos.php?callback=myFunction
will call the myFunction JavaScript function. You can load this file, as I mentioned, using SCRIPT IO. This could be hard coded into your HTML page, e.g.:
<script type=”text/javascript” src=”http://dojocampus.org/explorer/featureexplorer/latestDemos/php?callback=myFunction”></script>
or loaded using dojo.io.script.