Re: [greenstone-devel] help!!

From Michael Dewsnip
DateFri, 29 Oct 2004 10:15:47 +1300
Subject Re: [greenstone-devel] help!!
In-Reply-To (NKENIOIOBAEKBAHKLAFHGEDJCEAA-johnbilay-cama-org-za)
Hi John,

Greenstone should handle internal links correctly, provided that the links in
the HTML are relative, and the organisation of the documents in the import
folder matches the organisation of the website.

You should check that the links in the HTML files in the import folder are
relative, not absolute. If you choose "Save As" from a web browser it will save
the HTML files with absolute links. To get files with relative links you need
to use mirroring software like wget instead.

Version 2.52 of the GLI has a new "Mirror" pane which uses wget to download the
pages of a website. You might like to try using this to get the source
documents for your collection.

Regards,

Michael

John Bilay wrote:

> Hello Diego,
>
> How are you doing? I have been using greenstone for a while now.I am having
> a small problem and will like to ask for some help.
> I have used greenstone to index a website that i have created.I all works
> perfectly.The only problem is that all the links are broken or can't be
> found when a page is viewed from a greenstone collection.
> For instance is the original link was going to "home.html"; when the link is
> clicked from Greenstone it goes to :
> http://localhost:1027/gsdl?e=d-0-00-sacredte--00-0-0-0prompt-10---4----dtx--
> 0-1l--1-en-50---20-about-tree--00031-001-1-0utfZz-8-00&a=extlink&rl=1&href=h
> ttp:home.html
>
> Do you have any idea of how i can solve it?
> Thanks
>
> John Bilay
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> John Mutumba Bilay
> IT Developer - CAMA
> Contemporary African Music & Arts Archive
> Level 1, North Wing, PD Hahn Bld
> University of Cape Town, South Africa
> Tel: 27-21-650-2405
> www.cama.org.za
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> _______________________________________________
> greenstone-devel mailing list
> greenstone-devel@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-devel