[pmwiki-users] back to teasers :)

Radu radu at monicsoft.net
Fri Apr 15 08:28:12 CDT 2005


>My initial thought was to strip all markup and just present plain text. 
>Any markup may interfere with the rendering on the page that gets the 
>listing. Newlines would stop the reporting. It's something like 
>min(paragraphLength,50)

Oh, and the pieces of paragraphs longer than 50 chars get an appended 
elipsis (...) to symbolize the interruption.

We may also go for words=15 rather than the brutish chars. I was trying to 
reduce the cost of the function. Or even use chars=50 and code the response 
to be up to str_pos($firstParag," ",50)


Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list