|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Extending the format attribute of #ask: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&url=/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@... https://lists.sourceforge.net/lists/listinfo/semediawiki-user |
|
|
Re: Extending the format attribute of #ask: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 <sam@...> 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&url=/ > _______________________________________________ > Semediawiki-user mailing list > Semediawiki-user@... > 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&url=/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@... https://lists.sourceforge.net/lists/listinfo/semediawiki-user |
|
|
Re: 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 <nathan@...> wrote: It's pretty straight-forward. You just have to implement your own ------------------------------------------------------------------------- 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&url=/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@... https://lists.sourceforge.net/lists/listinfo/semediawiki-user |
|
|
Re: Extending the format attribute of #ask: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:
semediawiki-user-bounces@...
[mailto:semediawiki-user-bounces@...] Im Auftrag von Yaron Koren Out of curiosity, why
would you want to do this? Can Google Street View show more than one location
at the same time? On Wed, Aug 6, 2008 at 3:07 PM, Nathan Yergler <nathan@...>
wrote: It's pretty straight-forward. You just have to implement your own
>
------------------------------------------------------------------------- ------------------------------------------------------------------------- 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&url=/ _______________________________________________ Semediawiki-user mailing list Semediawiki-user@... https://lists.sourceforge.net/lists/listinfo/semediawiki-user |
| Free Forum Powered by Nabble | Forum Help |