[greenstone-devel] Retrieving a page from greenstone

From Gregory S. Williamson
DateSat, 2 Aug 2003 18:42:08 -0700
Subject [greenstone-devel] Retrieving a page from greenstone
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