You cannot access json data in another domain via Ajax. This is a violation of the 'same origin policy' that helps protect against script attacks. You can have a proxy on your webserver that will fetch the data for you, or you can include it as a javascript file, or use JSONP to get the data to your timeline. I don't think Amazon allows Access-Control-Allow-Origin header to be set on S3 yet.
Your webpage also needs to be served via HTTPS. If you load your timeline at http://myserver/myTimeline.html then your Ajax requests will not be able to access data at https:/myserver/data.json --Mike On Sep 14, 2011, at 8:37 PM, tpepernic wrote: > I'm storing my json file in s3 so it has a url https://blah/blah/user1.json. > > So I'm using t1.loadJSON("https://blah/blah/user1.json",...)... > > It doesn't work with this url path but is fine loading my events on > the file system. Is this possible? > > -- > 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. > -- 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.
