Re: [greenstone-devel] Retrieving a page from greenstone

From Katherine Don
DateMon, 04 Aug 2003 10:25:04 +1200
Subject Re: [greenstone-devel] Retrieving a page from greenstone
In-Reply-To (71E37EF6B7DCC1499CEA0316A256832801056FFF-loki-globexplorer-com)
hi greg,

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
a=d&c=demo&d=HASH01d242dc3e08e1fdcf7343bb

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,
Katherine Don


"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 ?
>
> Thanks,
>
> Greg Williamson
> gsw@shapingsf.org
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel