That's a bug in the code; it shouldn't be loading from simile.mit.edu at
all (deprecated). We'll put fixing it on our (long) todo list but
would love for someone to submit a patch.
On 5/8/2013 7:45 AM, Kristian Niemi wrote:
Thanks for your suggestion, David!
Indeed, I've tried it --- but unfortunately it doesn't make a difference.
However, I believe the crux is that timeline-api.js attempts to load
the following file:
http://static.simile.mit.edu/ajax/api-2.2.0/simile-ajax-api.js
Hmm... Perhaps the problem can be circumvented by the use of a local
copy of the above file, and the use of Timeline_ajax_url... I'll give
it a try.
/Kristian
On Wednesday, 8 May 2013 13:26:19 UTC+2, David Karger wrote:
Perhaps if you use secure http instead:
https://api.simile-widgets.org/timeline/2.3.1/timeline-api.js?bundle=true
<https://api.simile-widgets.org/timeline/2.3.1/timeline-api.js?bundle=true>
On 5/8/2013 6:51 AM, Kristian Niemi wrote:
Hi,
I'm trying to get a SIMILE timeline to function on Google Sites.
Which has included writing a Google Gadget.
I've made some headway in making it work, but now I've got stuck.
It works in Firefox and Opera, but not in Chrome or Internet
Explorer.
Currently inclined to believe the problem has to do with fetching
of insecure content, as Chrome puts it. At least, it throws that
error. More specifically, Chrome refuses to load
http://api.simile-widgets.org/timeline/2.3.1/timeline-api.js?bundle=true
How can I work around this problem?
I've found some references that the problem might lie in bad
coding, too --- commas where there shouldn't be any, and the like
---, but I haven't managed to find any such errors. (That doesn't
mean they're not there. I just can't find them.)
The source of the Google Gadget can be found here:
https://dl.dropboxusercontent.com/u/7999671/bugreports/SIMILE/SIMILEtimeline_wrapper.xml
<https://dl.dropboxusercontent.com/u/7999671/bugreports/SIMILE/SIMILEtimeline_wrapper.xml>
The expected result (as shown by firefox, opera) can be viewed here:
http://j.mp/timeline-hinduism-overview
<http://j.mp/timeline-hinduism-overview>
The JS I'm feeding to SIMILE can be found here:
http://j.mp/timeline-hinduism-overview-js
<http://j.mp/timeline-hinduism-overview-js>
Any help would be much appreciated!
As you can probably tell by the source contained in the files
above, javascript is not my strong side.
Kind regards,
Kristian
--
You received this message because you are subscribed to the
Google Groups "SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to [email protected] <javascript:>.
To post to this group, send email to [email protected]
<javascript:>.
Visit this group at
http://groups.google.com/group/simile-widgets?hl=en
<http://groups.google.com/group/simile-widgets?hl=en>.
For more options, visit https://groups.google.com/groups/opt_out
<https://groups.google.com/groups/opt_out>.
--
You received this message because you are subscribed to the Google
Groups "SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "SIMILE
Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.