[greenstone-users] Greenstone3 and problems with the links

From Katherine of Greenstone Team
DateTue Jun 10 14:18:06 2008
Subject [greenstone-users] Greenstone3 and problems with the links
In-Reply-To (985413-31204-qm-web27707-mail-ukl-yahoo-com)
Hi Diego

Re 1, you could modify the default collectionConfig.xml file that is
used when creating a new collection. That way each collection will have
those format statements.
This file is located in
greenstone3/gs2build/collect/modelcol/etc/collectionConfig.xml
Look for the bits about srclink and copy them from the filenames
classifier into other classifiers/search format statements
Regards,
Katherine

Diego Manquillo wrote:
>
> Hi greenstone users
>
>
>
> I'm working with greenstone 3, and have some problems:
>
>
>
> 1. When I build a collection, the link icon to the original file of
> a document
>
> (.doc, .pdf, etc) only is enabled for the classifier "filenames"; I
> need that
>
> link icon is always available for any classifier. I could get it, editing
>
> the configuration file ?collectionConfig.xml?; of a particular collection.
>
>
> But I don't wanna edit that file for each collection that I build, I
> wanna know,
>
> if is it possible: Which file do I have to edit in order to set the
> link icon to the
>
> original file as always enabled by default ?
>
>
>
> 2. Another problem that I have is: The link icon to the original file
> is linked to URL as:
>
>
> http://localhost/greenstone3/sites/localsite/collect/ejemplo/index/assoc/HASH458a.dir/doc.pdf
>
>
>
> So I wanna know where do I switch the host of URL, so it's linked to
> the localhost and
>
> not to the IP address of the computer, so that, I can't download any
> file because the
>
> browser can't establish a connection to the server at localhost.
>
>
> Besides I wanna know if it's possible how can I save the files with
> the real name of the files,
>
> because greenstone3 always save me the files in a collection with the
> same name doc.pfd,
>
> doc.doc and so on. So when the people download more then one document,
> they only will
>
> get files with the name doc.pdf, doc(2).pdf, doc(3).pdf, so it's no
> good for the people see
>
> differents files with almost the same name.
>
>
> Thank you so much.
>
>
> ------------------------------------------------------------------------
>
> Enviado desde Correo Yahoo!
> <http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=52431/*http://es.docs.yahoo.com/mail/overview/index.html>
> La bandeja de entrada m□s inteligente.
> ------------------------------------------------------------------------
>
> _______________________________________________
> greenstone-users mailing list
> greenstone-users@list.scms.waikato.ac.nz
> https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users
>