Hi all,
I've gone through the example for manually adding events to a timeline
here:
http://blog.jeromeparadis.com/archive/2007/06/28/SIMILE-Timeline-Manually-Adding-Events.aspx
I'm able to run the sample code (with a handful of randomly generated
events) perfectly.
I'm also able to get JSON data from a remote feed and process it into
what I believe to be the correct format (below) using the function
eventSource.add(evt);:
{"_id":"e972253",
"_instant":true,
"_start":"Thu, 17 Jul 2008 16:00:00 -0400",
"_end":"Thu, 17 Jul 2008 16:00:00 -0400",
"_latestStart":"Thu, 17 Jul 2008 16:00:00 -0400",
"_earliestEnd":"Thu, 17 Jul 2008 16:00:00 -0400",
"_text":"'Dark Knight' Director Invests Years In Batman Film",
"_description":"Christopher Nolan brought the Batman franchise back to
life in 2005 with <em>Batman Begins</em>. Now the young director
returns with <em>The Dark Knight</em>. He talks about making the
movie and how he and the late Heath Ledger worked to create the
frighteningly menacing Joker.",
"_image":"
http://npr.org/favicon.ico",
"_link":"
http://www.npr.org/templates/story/story.php?
storyId=92612530&ft=3&f=1008",
"_icon":"
http://npr.org/favicon.ico",
"_color":"green",
"_textColor":null,
"_wikiURL":"JSONcircRef:_textColor",
"_wikiSection":"JSONcircRef:_textColor"}
However, while the script runs without errors, nothing displays on the
timeline.
Any suggestions for how I might resolve or troubleshoot this issue is
much appreciated.
Thanks kindly,
John T.
> I've been working on this for most of the day and am now able to parse
> the data from the remote json feed into a format that appears like it
> will make sense to the timeline app (I left in an alert displaying the
> data so people can view the newtimeline array).
>
>
http://johntynan.com/scripts/timeline/
>
> Additionally, based on a comment I read here:
>
>
http://blog.jeromeparadis.com/archive/2007/06/28/SIMILE-Timeline-Manu...