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