Paige, I'm glad you found the tutorial useful. The problem you're
having is that you are inappropriately "mixing" exhibit and timeline.
Timeline (as a standalone framework) is a lot like google maps: it's a
developer library where your own page needs to make a bunch of
javascript api calls to tell the timeline what to do and how to load its
data. Exhibit is a user-friendly *wrapper* for timeline (and google
maps) that takes care of loading the data and invoking the underlying
developer wrapper. Your web page is written for exhibit usage: it
includes a link to the data and expects the library to "take care of
it". If you want to go this route and avoid writing all that javascript
yourself, you need to include the exhibit api (as per my tutorial) and
its time extension to drive the timeline.
I'm not certain, but if you set timeline variables as you currently do,
then Exhibit's time-extension *might* be smart enough to load your local
copy of timeline. If not, you may need to host a local copy of Exhibit
as well.
-David
On 4/18/2012 11:59 PM, Paige Morgan wrote:
Hi,
I'm trying to get Simile installed locally, using the full
timeline_source_2.3.0.zip, so that I can customize the units of time.
The wiki and other resources pointed me to these instructions, which
are also contained in the timeline-api.js file
http://code.google.com/p/simile-widgets/source/browse/timeline/trunk/src/webapp/api/timeline-api.js?r=2239
Those instructions suggest that I ought to be including the following
lines of code in my<head> section.
<script>
Timeline_ajax_url="http://paigemorgan.net/timeline/src/ajax/api/simile-
ajax-api.js"
Timeline_urlPrefix='http://paigemorgan.net/timeline/timeline_js/';
Timeline_parameters='bundle=true';
</script>
<script src="http://paigemorgan.net/timeline/src/webapp/api/timeline-
api.js?bundle=true"
type="text/javascript">
</script>
I am -- but I'm not having any luck loading timeline. The page I'm
trying to load is here: http://www.paigemorgan.net/timelines/demo.html
I tried it with a simple timeline from David Karger's really great
tutorial here http://people.csail.mit.edu/karger/Exhibit/CAR/HandsOn/
-- which is where I originally learned to use Simile Timeline -- but
no luck.
I've checked the archives for this group, and googled creatively --
but I'm not finding any solutions. Can anyone here suggest anything? I
would be tremendously grateful.
Thanks,
Paige
--
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.