Re: How do I specify an internal http link across document

From John R. McPherson
DateWed, 04 Sep 2002 14:17:55 +1200
Subject Re: How do I specify an internal http link across document
In-Reply-To (003801c253b3$6ae466c0$0801febf-tlclinux-org)
> desiree' simon wrote:

> I want to be able to http-link one internal document to another. However,
> when I edit the html docs to include links of the forms:
> 1. href=http://gsdl/collect/science/import/page.html
> or realtive link
> 2. "href="examples/page/page.html"
> I am getting the error message
> "For reasons beyond our control the internal link you specify does not
> exist".

> Questions:
> given two documents page_1.html and page_2.html. How do I
> specify an internal URL linking page_1 to pape_2?

I can think of a couple of things to try:


this won't work as it is looking for an internet server named "gsdl"
and then /collect on that server. You could try
but I don't think it's a good idea to link to the import directory.
Greenstone can handle internal links...

2) If you really want to give hard-coded links, edit your collect.cfg
file so that for HTMLPlug you include a certain option, like:
plugin HTMLPlug -nolinks
This means that greenstone won't do any interpretation of the links
and they will be displayed exactly as they are in the source documents.

3) You could use the "-file_is_url" option to HTMLPlug as above.
This is normally used when building a collection from a web mirror,
so the file might be called ""
etc. Internal links work for collections I've built when I mirrored
some of our university pages...
I don't know if it will work in your situation though. Let the list
know if it does!

Hope this helps,
John McPherson