On Fri, Oct 23, 2009 at 4:25 PM, Craig in Calgary <craig.prich...@gmail.com> wrote: > > For my TiddlyWiki Tutorial (http://groups.google.com/group/tiddlywiki/ > t/2cdca3a12bfdc630?hl=en) I will have "sets" of tiddlers, each "set" > behaving like a slideshow. Is it possible for the TiddlyWiki to track > the time spent from when the first tiddler in a "set" is opened for > viewing until the last tiddler in the set is closed? I would store > these durations with the hope of generating a report showing what > "sets" have been viewed, how long was spent viewing each "set", and > total time spent viewing all sets. >
I found this an interesting idea, I had some ideas on implementing it and decided to try it: http://tiddlywiki.mahemoff.com/ViewingTimesPlugin.html The plugin takes periodic samples (once a second) to see what the user is viewing. It looks at the first element in the story, which will work fine for a slideshow-type tiddlywiki or one using SinglePageMode, though mightn't be ideal for other situations. You could also replace the sampling technique by one which hijacks display events. It doesn't address all of your concerns, but hopefully gives you some ideas on how one might implement this. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to tiddlywiki@googlegroups.com To unsubscribe from this group, send email to tiddlywiki+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en -~----------~----~----~----~------~----~------~--~---