Re: [greenstone-users] Linking to pdfs only

From Stephen DeGabrielle
DateFri, 16 Dec 2005 11:37:02 +0930
Subject Re: [greenstone-users] Linking to pdfs only
In-Reply-To (EBE580F8EEAB9049BE5F982422C84610C486E8-dpes-mail-naa-org)
Its in your configuration file and starts

format DocumentText '

This line controls what you see when you click on the default links
(the one that goes to the non-existant text versions in your case)

It is described [briefly] in the developers guide round pages 30-40
along with the outer format statements I think?

I'd change it from

format DocumentText ' [text]'

to something like

format DocumentText ' <a href= "[sourcefile]">PDF version</a>'

Sorry I can't be more specific - I am in a hurry and don't have time
to look it up myself. (Check the greenstone archives - someone has
probably already had this problem)

Good luck

Stephen

On 12/16/05, Yachnes, Paul <paul.yachnes@naa.org> wrote:
> > 2) The document links in the Phind classifier link to the
> > nonexistent text versions. How can I make them link to the pdf
> versions?
>
> You could change the 'format DocumentText' to refer to the PDF using a
> {If} directive like above.
>
>
>
> I can't find that. Could you tell me where that is? And what would the
> statement look like? I can't figure out from all the code you sent me.
> Thanks.
>
> Paul A. Yachnes, MLS
> Senior Manager
> Information Resource Center
> Newspaper Association of America
> (703) 902-1694
> fax: (703) 902-1691
> yachp@naa.org
>
>


--

--

Stephen De Gabrielle