Skip to main content.
home | support | download

Back to List Archive

RE: Formatting the output from Swish-E

From: Patrick Dunford <pdunford.webs(at)not-real.clear.net.nz>
Date: Mon Dec 04 2000 - 01:34:18 GMT
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: kg9ae@augur.homeip.net [mailto:kg9ae@augur.homeip.net]On Behalf Of
> David Norris
> Sent: Monday, 4 December 2000 14:04
> To: pdunford.webs@clear.net.nz
> 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):
>   http://www.webaugur.com/wares/sws.html
>
> > 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
> configuration?
>
> 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 - dave@webaugur.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