From: Markus N. <ni...@on...> - 2008-08-07 09:58:08
|
I think it can not show multiple views, but that's also not the intention I guess. You can put your query into a template and set "limit=1", so you'll have the according streetview on every page that uses this template. Cheers, markus _____ Von: sem...@li... [mailto:sem...@li...] Im Auftrag von Yaron Koren Gesendet: Mittwoch, 6. August 2008 21:27 An: Nathan Yergler Cc: sem...@li... Betreff: Re: [Semediawiki-user] Extending the format attribute of #ask: Out of curiosity, why would you want to do this? Can Google Street View show more than one location at the same time? -Yaron On Wed, Aug 6, 2008 at 3:07 PM, Nathan Yergler <na...@cr...> wrote: It's pretty straight-forward. You just have to implement your own Result Printer (extending SMWResultPrinter) and then tell SMW about it. You connect it to SMW by adding it to the "formats" map: SMWQueryProcessor::$formats['csv'] = 'SMWCsvResultPrinter'; You can see an example at http://code.creativecommons.org/viewgit?url=CC_SMW_Extensions.git/tree/ (specially Settings.php and SMW_QP_CSV.php). Nathan On Wed, Aug 6, 2008 at 3:35 AM, Samuel Richardson <sa...@ri...> wrote: > Hello list, > > I'd like to create a new format for the format attribute of the #ask: query > (Sergey, much like you did with the recent addition of the Google Maps) to > add support for Google Street View based off coordinate data. What is the > best approach for doing this? > > Thanks, > > -- > Samuel Richardson > Freelance Web Developer > www.richardson.co.nz | 0405 472 748 > > Have you added your business to the Melpedia yet? http://www.melpedia.com.au > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100 <http://moblin-contest.org/redirect.php?banner_id=100&url=/> &url=/ > _______________________________________________ > Semediawiki-user mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semediawiki-user > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100 <http://moblin-contest.org/redirect.php?banner_id=100&url=/> &url=/ _______________________________________________ Semediawiki-user mailing list Sem...@li... https://lists.sourceforge.net/lists/listinfo/semediawiki-user |