Graham Forte wrote: > Hello, > I am using timeline to allow user to dynamically display rss feeds. On > occasion, a user "feeds" timeline a non well-formed xml doc and I > wanted to capture the statistics of feeds that fail, basically I need > to capture the url of the feed that the user tried to load into timeline. > The Timeline.debug js file seems rather generic and so I was wondering > if there was a way to capture the filename that caused the error. > Perhaps using debug or loadXML or loadJSON functions? You can override those functions yourself by just writing some Javascript code after you include timeline-api.js.
In http://simile.mit.edu/timeline/api/scripts/timeline.js, find Timeline._Impl.prototype.loadXML. Then make a copy of that code and change the fError inner function. Cheers, David _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
