perl-docs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Moseley <>
Subject Re: Need stylesheet help for NS4.0
Date Tue, 26 Mar 2002 09:04:18 GMT
At 04:55 PM 03/26/02 +0800, Stas Bekman wrote:
>OK, how about this:
>When indexing strip all the HTML. and replace \n with whatever swish-e 
>can store. 

You mean replace \n with some flag (e.g. '#$%$#') only in <pre> sections?
\n in HTML should matter.

When presenting results display:
>- N "short sentences" per hit
>- enclosed in <pre></pre>
>- and \n restored
>this should make it perfect speed and usability-wise if this is doable. 
>And this will improve the speed of highlighting since it'll be a plain text.

It won't gain any speed since it currently only works with plain text.  The
trade off will be maybe better readability, but a loss of compactness.

It might be fun to try -- wouldn't be that hard...thanks to Perl.

Bill Moseley

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message