Hi,
Please, must I expect that the timeline snippet or the modifications
proposed by Niels work fine in a 1.3.8295 XWiki Enterprise. Sorry, I now
that I must update this server...
Thanks for your help,
Ricardo
Niels Mayer wrote:
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…
Message <http://simile.mit.edu/mail/ReadMsg?listId=10&msgId=19202> &
Message<http://simile.mit.edu/mail/ReadMsg?listId=10&msgId=19199>=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
<jean-vincent(a)drean.org>wrote;wrote:
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users