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

From Gregory S. Williamson
DateThu, 28 Jul 2005 01:20:31 -0700
Subject Re: [greenstone-users] Adding geolocation data links to greenstone
Jens --

Nope ... your suggestions seem quite managable, thanks ... I'll need to tinker with the variants and see.

Thanks!

G
-----Original Message-----
From:greenstone-users-bounces@list.scms.waikato.ac.nz on behalf of jens wille
Sent:Thu 7/28/2005 1:11 AM
To:greenstone-users@list.scms.waikato.ac.nz
Cc:
Subject:Re: [greenstone-users] Adding geolocation data links to greenstone
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

_______________________________________________
greenstone-users mailing list
greenstone-users@list.scms.waikato.ac.nz
https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users

!DSPAM:42e8938482572618016034!