Re: [greenstone-users] Using offsite URL

From John R. McPherson
DateWed, 25 Feb 2004 17:07:39 +1300
Subject Re: [greenstone-users] Using offsite URL
In-Reply-To (OFE377F4C5-716D5B9F-ON69256E45-00047E54-69256E45-0005F03E-ntu-edu-au) wrote:
> Hi all
> Our E-Reserve collection are pdf files only. Now I need to add to the same
> collection indexes for documents from another url site, with links back to
> the original site. Is there any working example?

I had this problem when I indexed our departmental web pages... the HTML
plugin is no problem because it adds "URL" metadata, but the PDF plugin
doesn't. However, if you are using wget and to grab documents
from off-site, then the document's url is the downloaded file's path
name... eg gsdl/collect/<collectname>/import/

But I never found a way to use that information to automatically make a
hyperlink back to the original document.

If there aren't that many documents, you could manually assign "URL"
metadata for them, either via a metadata.xml file (as described in the
Users Guide), or via the GLI java front-end for collection building.
Then you can use the metadata in the collect.cfg format statements, such as:

format VList '<td><a href="[URL]">[icon] <b>[Title]</b></td>'

John McPherson