Incompatible with SVN Timeline API?
| Project: | Timeline |
| Version: | 5.x-1.x-dev |
| Component: | Compatibility |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
The README recommends downloading a local version of the Timeline API from SVN. However, I tried this and it looks like the Drupal Timeline module isn't compatible with the latest SVN version (http://simile.mit.edu/repository/timeline/trunk/src/webapp/api/). This version is apparently more recent than the one being used in the demos on the Timeline site (http://simile.mit.edu/timeline/api/).
I downloaded the SVN version and configured the module to use it, but the timeline simply displayed as an empty white box. When I downloaded the version at http://simile.mit.edu/timeline/api/ and pointed to it, the timeline displayed correctly (except in Safari, but I'll be posting another issue about that).

#1
Good to know. Can anyone else verify this?
#2
Just download the timeline tag 1.2, it is the last stable version and working well. Just used it in my environment (drupal 5.7).
You can find it on this page: http://simile.mit.edu/wiki/Timeline/Download_The_Source.
svn checkout http://simile.mit.edu/repository/timeline/tags/1.2/ timelineHope it helps.
#3
Thanks for reporting this.
I think the best way to solve this is going to be to (finally) get a 5.x release out there which uses version 1.2 of the simile widget, and then update the dev version to work with the most recent simile code.
There are two browser compatibility tickets that I'd like to resolve before making the 5.x release. A potential safari issue - http://drupal.org/node/230948 and a IE issue http://drupal.org/node/190568
It's a bit of a pain for me to test on either of these so if anyone else can test and report their experiences on those it would be helpful.
Also, in case anybody isn't comfortable with subversion who may want to use timeline, I've put a tarball up of the 1.2 version here http://miccolis.net/random/timeline-1-2.tar.gz
#4
Hi Jeff,
Thanks for all the work you do for this great module.
I think the potential IE is solved with one of my patches, let us wait for a few weeks to see if thats true.
I feel there is nothing wrong with using the timeline module with the latest stable simile code. If we go for the development version, it will change to much, and will cost a lot of work. Let us just wait for the next stable version of the simile code. (then we have to? because if we don't install a local version of the simile API, we point to http://simile.mit.edu/timeline/api/)
Maybe we could put a link to the last stable version to the simile code (and your zip) in the project page and README.txt/ INSTALL.txt, it is a bit of a puzzle to find the download information now.
#5
I agree with franskuipers that "there is nothing wrong with using the timeline module with the latest stable simile code."
All that needs to be done is correct the info in the README, so people don't try to download a version of the API that isn't compatible with the module.
Thanks again for this great module.
#6
I encountered the white box mentioned above in this bug report. The timeline would not appear correctly when I had the 1.2 simile code downloaded to sites/all/modules/timeline-1-2/timeline-api.js (this is when I received a white box). When I changed the location of the timeline widget to modules/timeline-1-2/timeline-api.js, my timeline showed up correctly. So, I'm not sure if changing the path fixed it, or if my cache was corrupted, or something along those lines... but maybe this is a documentation issue: does the simile code need to go into the core modules folder? Maybe this should be corrected in the module itself?
#7
I have the timeline module working in sites/all/modules/timeline with the simile code in sites.all/modules/timeline/api. You have to change the location of the widget to sites/all/modules/timeline/timeline-api.js
@jeff I have attached some changes in the README and INSTALL files. Its about making it 5.x, the 1.2 timeline api download and installing timeline in sites/all/modules.
@bomarmonk please try this:
hope this helps.
#8
@Frans Could you repost the changes you mention above? They don't seem to have been attached. Thanks!
#9
Documentation has been updated with as of http://drupal.org/cvs?commit=125596
#10
Automatically closed -- issue fixed for two weeks with no activity.