Re: [greenstone-users] hi

From John R. McPherson
DateThu, 19 Jun 2003 11:10:07 +1200
Subject Re: [greenstone-users] hi
In-Reply-To (Pine-LNX-4-33-0306181718520-25649-100000-mmsl-serc-iisc-ernet-in)
Anandh Jayaraman wrote:
> hi
>
> Can any one tell me how can i extract the resultant document text
> from the result form.
>
> i tried with the following line in the collect.cfg file.
>
> format DocumentText "<h3>[Title]</h3>\n\n<p>[Text]"
>
> Now i want to extract the "[Text]" area from the collect.cfg file.

Hi,

I don't understand your question, I'm afraid. You can refer to any
metadata in the format strings by using [ and ]. If you want just the
text by itself without any of the surrounding decorations, you could
modify the macro files (see document.dm for the HTML fragments used
when displaying a document).

>> Please tell me if any one of you know where to find the module
>> which generates the Results Form after giving the Search Query.

The code to display a document is all inside the C++ server code.
However, you can change what appears via the DocumentText and
DocumentHeading format strings in the collect.cfg file.

John McPherson