FYI, I've updated and commented the Timeline example ( http://code.xwiki.org/xwiki/bin/view/Snippets/TimelineSnippet ) in preparation of my nefarious deconstruction of the widget into a novel interface for a totally different form of usage ... working example: http://nielsmayer.com/xwiki/bin/view/Timeline/TL2 sources: http://nielsmayer.com/xwiki/bin/view/Timeline/TL2?viewer=code & http://nielsmayer.com/xwiki/bin/view/Timeline/ChangesList?viewer=code Next steps is to remove this constraint (suggested in http://code.xwiki.org/xwiki/bin/view/Snippets/TimelineSnippet ). If you forget to do this, nothing works; yet, adding it is quite annoying and shouldn't be needed:
Prerequisites
You must add this line:
<script src="http://simile.mit.edu/timeline/api/timeline-api.js" type="text/javascript"></script>
At the bottom of the "HTTP Meta Information" field in *Administration* > * Presentation*.
Seems like the following links are good starting points for a solution to the above issue: Installing MIT Simile's Timeline locally (w/ Rails integration) | Ryan Kanno: The diary of an Enginerd in Hawaii<http://blog.localkinegrinds.com/2007/11/06/installing-mit-similes-timeline-locally-w-rails-integration/>& Message <http://simile.mit.edu/mail/ReadMsg?listId=10&msgId=19202> & Message<http://simile.mit.edu/mail/ReadMsg?listId=10&msgId=19199>... This entails installing a local copy of the timeline javascript and modifying a few lines of source. Othewise, with the existing solution, you're stuck with loading the simile javascript for any page on your site, slowing down the initial load time even more with yet more global javascript that never gets called in most situations. (Alternately, perhaps catenating all the timeline javascript and shoving it into a single xwiki doc or template that gets included only in a timeline-using app). -- Niels http://nielsmayer.com PS: I think it would be interesting to put extra attributes on certain sets of documents, and then sql-query for those documents with those attributes and present them in the timeline. That way, for example, one could render a sequence of steps over time, where each step is a xwiki doc. There's no reason why the horizontal axis needs to represent discrete time. It can represent any monotonically increasing sequence. For example, editing the sequence of steps and concurrent streaming media for purposes of making a movie or real-time presentation composed from wiki components. PPS: http://en.wikibooks.org/wiki/XQuery/DBpedia_with_SPARQL_and_Simile_Timeline_... another interesting application of the Timeline widget. It would be interesting if xwiki could support SPARQL ( http://www.w3.org/TR/rdf-sparql-XMLres/ ). The timeline widget doesn't necessarily need to be used as a timeline... you could also use it to present complex database result sets laid out in two-dimensions, for example (e.g. search hits presented over topic and confidence in matching.). On Thu, Jan 22, 2009 at 1:44 PM, Jean-Vincent Drean <[email protected]>wrote:
Hi,
I've played quite a lot with Simile Timeline in the past. I've made a little snippet showing last modifications within the wiki on code.xwiki.org : http://code.xwiki.org/xwiki/bin/view/Snippets/TimelineSnippet
In action: http://incubator.myxwiki.org/xwiki/bin/view/Main/Timeline
JV.
On Thu, Jan 22, 2009 at 8:35 PM, Niels Mayer <[email protected]> wrote:
Has anybody integrated any of MIT's open source "Project Simile" ( http://code.google.com/p/simile-widgets/ ) JS widgetry into Xwiki? For example their http://simile.mit.edu/timeline/ http://simile.mit.edu/timeplot/ or http://simile.mit.edu/timegrid/ ??
This has been discussed previously on these lists:
http://markmail.org/message/bds6fein6w4ftqot#query:MIT%20Simile%20Xwiki+page...
http://markmail.org/message/bds6fein6w4ftqot#query:MIT%20Simile%20Xwiki+page...
http://markmail.org/message/bds6fein6w4ftqot#query:MIT%20Simile%20Xwiki+page...
http://markmail.org/message/bds6fein6w4ftqot#query:MIT%20Simile%20Xwiki+page...
http://markmail.org/message/bds6fein6w4ftqot#query:MIT%20Simile%20Xwiki+page...
Unfortunately, all the emails mention example links that no longer exist,
so
there's no obvious Xwiki examples providing Simile widgetry in Xwiki ...
FYI, Other environments have integrated some of the MIT functionality: http://drupal.org/project/timeline http://drupal.org/project/exhibit http://simile.mit.edu/wiki/Wibbit
Niels http://nielsmayer.com ______________________________