Tags:
create new tag
, view all tags

GeoURLPluginDev Discussion: Page for developer collaboration, enhancement requests, patches and improved versions on GeoURLPlugin contributed by the TWikiCommunity.
• Please let us know what you think of this extension.
• For support, check the existing questions, or ask a new support question in the Support web!
• Please report bugs below

Here is a first draft of the plugin description:

Geo URL Plugin description

This plugin adds http://geourl.org standard conformant ICBM homing information to individual TWiki pages.
Note
For a TWiki site/web as a whole this is trivial: just insert the required META tags in the view templates' header section.

Motivation

Location based services are "the next big thing", enabled by the rapid spread of mobile internet access. Projects like http://geourl.org are still in their infancy, but wait until Google gets on the train...

Usage

Simply add a TWiki variable like
%GEOURL{"nn.sssss ee.wwwww"}%
anywhere in your text; this will
  • create the necessary information in the meta data of your page See http://geourl.org/add.html for some hints on how to find your latitude (nn.sssss) and longitude (ee.wwwww).
  • render a logo which links you to the physical neighbourhood within a certain distance: GeoURL
  • Feed the position to the logo, at the common screen location you(r) administrator configured.

If you don't want the logo within the running text, supply an empty alternative text:

%GEOURL{"nn.sssss ee.wwwww" alt=" "}%

If you want a different title, enter:

%GEOURL{"nn.sssss ee.wwwww" title="foo bar"}%

If you are done, submit your fancy new page at http://geourl.org/ping/

Installation

  1. The usual download, unzip, edit sequence
  2. Modify your view template(s) in the HTML header section to render the necessary HTML meta data: add %GEOMETA%
  3. Optionally modify view templates to display link and logo on some standard location: add %GEOURL%
  4. Test:
    1. A logo should show up here: %GEOURL{"47.55 7.6" title="Where TWiki GeoURL plugin was incepted"}%
    2. Here the fineprint of the URL shows a different maximum distance of the neighbours: %GEOURL{"47.55 7.6" dist="5"}%
    3. Here is the parameterless logo suitable for templates. %GEOURL%
    4. Here is an invisibile GeoURL definition: %GEOURL{"47.55 7.6" alt=" "}%
    5. Check the page source for the correct <META ... tags %GEOMETA%

Benefits

  • Your pages are ready now -- be found in meatspace
  • Help push this useful technique by creating critical mass
  • Nice side effect: TWiki gets more exposure, as pages tagged with this plugin show up on GeoURL feeds.
  • way kewl smile

-- PeterKlausner - 17 Jul 2003

Discussion

Currently uses the commonTagsHandler() to get %GEOMETA rendered properly. It is not highly efficient, to scan every single line for 1 simple substitute per page. Maybe add renderHtmlHeader() to MorePluginHooks?

-- PeterKlausner - 17 Jul 2003

Cool Peter! I don't have a use for this plugin at the moment as everything in my site can fall under the same geo-location. But when the time comes it will be a neat addition to the user pages -- especially if on twiki.org.

-- MattWilkie - 18 Jul 2003

Related new plugin: GeoLookupPlugin

-- PeterThoeny - 2010-01-24

Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivezip geo.zip r1 manage 3.3 K 2003-07-17 - 21:49 PeterKlausner Alpha version of plugin
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2010-01-24 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.