A third option might be to have PHP parse each returned file and extract the
HTML from the file... haven't looked at this in detail but theoretically it
might be possible.
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com]On Behalf Of
> David Norris
> Sent: Monday, 4 December 2000 14:04
> To: firstname.lastname@example.org
> Cc: Multiple recipients of list
> Subject: Re: [SWISH-E] Formatting the output from Swish-E
> Patrick Dunford wrote:
> > I would like to have more control over the formatting of the
> results that
> > are returned. If I use PHP instead how hard is it to drive the Swish-E
> > engine? Are there any examples of this?
> Simple Web Search (PHP Script):
> > Also, I would like to know how to return in the results the first few
> > hundred characters of text from the document, as I have seen on
> some sites.
> > Does this require a change to some other part of the Swish-E
> This would currently require you to seperately store/extract the
> characters from the files themselves. Another option might be to use
> descriptive metadata.
> ,David Norris
> Dave's Web - http://www.webaugur.com/dave/
> Dave's Weather - http://www.webaugur.com/dave/wx
> ICQ Universal Internet Number - 412039
> E-Mail - email@example.com
> "I would never belong to a club that would have me as a member!"
> - Groucho Marx
Received on Mon Dec 4 01:36:44 2000