On Tue, Apr 21, 2009 at 5:18 PM, David Karger <[email protected]> wrote:
> another thought---you could use start/end times on each podcast to > create a length that represents the length of the podcast. That is the next step, though it'll probably not be implemented inside a timeline popup bubble. A related example is http://nielsmayer.com/xwiki/bin/view/Timeline/YoutubeTimeline > Niels, this looks interesting. I have a question: given that you've > implemented a bunch of buttons to offer filtering on different types of > podcast, why didn't you start with exhibit which has that functionality > (and timelines) built in? What's ended up in http://nielsmayer.com/xwiki/bin/view/Timeline/NprTimelineis a process of evolution & rapid-prototyping ... some earlier versions include: http://nielsmayer.com/xwiki/bin/view/Timeline/CoolMusicPodcasts http://nielsmayer.com/xwiki/bin/view/Timeline/KcrwTimeline and (using non-pre2.4 code) http://morgellonswiki.info/xwiki/bin/view/Timeline/FeedsOfInterest http://morgellonswiki.info/xwiki/bin/view/Timeline/QuackwatchWikipedia Eventually, once I figure out something worth replicating, it'll make sense to package the entire thing up more cleanly as a macro that takes a list of xwiki documents wrappering all the feed meta-information i need to track... and then it'd just be a matter of doing the right queries and presenting them... e.g. HQL and Velocity: http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples or SQL and Velocity: http://xwikisql.gradsoft.ua/docs/XWikiSqlPluginGuide.html ... so in my case with the myriad of programinng and query capabilities provided by Xwiki ( including groovy: XWiki - DevGuide - GroovyClassHelloWorldTutorial<http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyClassHelloWorldTutorial>) the extra work of integrating exhibit with Xwiki didn't seem like the best use of limited time. Besides, debugging HQL queries is such fun... for example, http://nielsmayer.com/xwiki/bin/view/Timeline/TL2 uses an HQL query to drive the timeline: http://nielsmayer.com/xwiki/bin/view/Timeline/ChangesList?viewer=code #set( $hqlQuery = ", XWikiRCSNodeInfo as ni where doc.id=ni.id.docId and > ni.id.version2=1 and doc.space<>’XWiki’ and doc.space<>’Main’ and > doc.space<>’Panels’ group by doc.space, doc.name order by max(ni.date) > desc") > #set( $recentlyChangedDocuments = $xwiki.searchDocuments($hqlQuery, > $util.parseInt($request.changesNb), 0)) > #foreach( $rcName in $recentlyChangedDocuments ) ##{ > ... > #end ##} > -- Niels http://nielsmayer.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
