Re: [greenstone-users] Adding geolocation data links to greenstone

From jens wille
DateThu, 28 Jul 2005 10:11:37 +0200
Subject Re: [greenstone-users] Adding geolocation data links to greenstone
In-Reply-To (71E37EF6B7DCC1499CEA0316A256832801D4C6BC-loki-wc-globexplorer-net)
hi greg!

Gregory S. Williamson wrote:
> I am not sure which macros would be the proper place for this
> sort of thing, or if there might be other solutions that might be
> appropriate.
as for a macro you could write something like the following in the
collection's extra.dm (<coldir>/macros/extra.dm):

-----
package Global # or "document" if it's only needed there

# 1 = lat, 2 = long
_mslink_ {<a href="your-server-with-lat=_1_&long=_2_">some text</a>}
-----

then use it in your collect.cfg: _mslink_([lat],[long])

but you could just as easily use it directly in your collect.cfg:
<a href="your-server-with-lat=[lat]&long=[long]">some text</a>

is that what you intended? or am i missing some point?

anyway, best regards
jens