[pmwiki-users] back to teasers :)

Radu radu at monicsoft.net
Fri Apr 15 08:59:13 CDT 2005


At 09:27 AM 4/15/2005, Patrick R. Michaud wrote:
>Note that 'strip all markup' can be an expensive operation if
>done dynamically (i.e., at the time the page is found/rendered).

Good point.

>   However,
>perhaps we could store a stripped version of the page at the time the
>page is saved.  That might be *really* useful for this as well as
>RSS feeds -- I'll probably play with that soon.

Cool. So no need for me to get cooking? I see it as part of the 
pagelist+friends makeover, which is why I suggested it now. That was the 
next thing on your list after user auth, right?

>"Newlines", "blank lines", or "paragraphs"?  They're not identical.

I meant newline. The point is to have a short line describing the page, not 
several paragraphs. If one wants paragraphs, they can use the simpler 
section=#Net without bothering with chars=50

Also, if someone adds a newline, they most probably already changed the topic.

>Also, I should note that for search results many people would prefer
>to see the text surrounding the search terms instead of the first
>part of the page, so we should allow for that too.

That's another good point. One on which pagelist would differ from *friends* :)

If that gets implemented, reporting the number of times the search string 
is found might be cheaper than reporting the context of the search string 
for each instance. And the context could be selectable 
($EnableSearchContextChars=10) or  ($EnableSearchContextWords=4) - on 
either side.


Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list