Hi, I tried this but it did not work.
I do have the libraries located in a different location, but here is exactly what I tried: <script type="text/javascript">var Timeline_ajax_url = "../third_party_libraries/timeline_2.3.0/timeline_ajax/simile-ajax-api.js?bundle=false";</script> <script src="../third_party_libraries/timeline_2.3.0/timeline_js/timeline-api.js?bundle=false" type="text/javascript"></script> I'm sure that I am missing something obvious. Any help is welcome. I would like to be able to run this even if connectivity to the simile.mit.edu site is down. Best, Skip On Fri, Nov 13, 2009 at 10:49 AM, Pedro Brites Moita <[email protected]>wrote: > <script type="text/javascript">var Timeline_ajax_url = > "../../../ajax/api/simile-ajax-api.js?bundle=false"</script> > <script src="../../api/timeline-api.js?bundle=false" > type="text/javascript"></script> > > Hi, > I use it like this, hope it helps. > You might want to use bundle=true if you will not tinker with the api. > > Pedro > > > On Fri, Nov 13, 2009 at 2:29 PM, Skip Cole <[email protected]> wrote: > >> Hi, >> >> I love Similie! We are incorporating it into our open source online >> simulation generator. >> >> But, I find the installation instructions on how to get Similie Timeline >> running locally a bit confusing. >> >> First: >> When it is run from the MIT server, there are only 2 parameters: >> >> "http://static.simile.mit.edu/timeline/api-2.3.0/<https://webmail2.usip.org/owa/redir.aspx?C=923e9af0d86b4fac890726c6deec7656&URL=http%3a%2f%2fstatic.simile.mit.edu%2ftimeline%2fapi-2.3.0%2f>" >> and " >> http://static.simile.mit.edu/timeline/api-2.3.0/timeline-api.js?bundle=true<https://webmail2.usip.org/owa/redir.aspx?C=923e9af0d86b4fac890726c6deec7656&URL=http%3a%2f%2fstatic.simile.mit.edu%2ftimeline%2fapi-2.3.0%2ftimeline-api.js%3fbundle%3dtrue> >> " >> >> When it is run locally, we seem to need 3 parameters. (Suddenly it seems >> we need to include a reference to simile-ajax-api.js) >> >> Second: >> The directories in the instructions do not seem to map to the extracted >> directories. I can guess at them, but I think I must be getting something >> wrong. >> >> >> Does anyone have a simple example of it running locally that I can cut and >> past from? >> (I'm using Apache/Tomcat.) >> >> Thanks in advance, >> Skip >> >> >> >> > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<simile-widgets%[email protected]> > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
