I am assuming that you want to click on a point in the map and go directly to a document. if not, please ignore the following stuff.
to display documents, the greenstone cgi arguments are like
where c specifies the collection name, and d specifies the document identifier.
if you know the identifiers of the documents (and these are specified in the archives doc.xml files), you can easily link to them from your map.
hope this helps,
"Gregory S. Williamson" wrote:
> Dear peoples,
> I've got a Greenstone installation running happily on a local server with some sample pages in it.
> I've got another application (a map) which has some points which relate to specific pages in Greenstone. I'd like to be able to have my map user click on a point and end up seeing the page displayed by Greenstone. Ideally our data points will store the file name of interest and the Mapserver application will format that file name into a string for Greenstone or some intermediate program.
> I can see a couple of ways to go (for instance, hack the query page so if only item is found, greenstone automatically pops to that page rather than requiring the user to click on the document icon), but I am wondering if I am approaching this the right way.
> The cgi configurations for showing a page seem to be for showing macros rather than being used to show a document based on title, but I confess that I have not yet experimented with a lot of variants.
> I would like (for now) to be able to do this using perl/cgi scripting rather than writing a C/C++ module.
> Does anyone have any tips,pointers or other advice on this ?
> Greg Williamson
> greenstone-devel mailing list