[pmwiki-users] back to teasers :)

Radu radu at monicsoft.net
Fri Apr 15 08:21:54 CDT 2005


At 08:59 AM 4/15/2005, Patrick R. Michaud wrote:
> > Example:
> > (:pagelist group=Machine fmt=include section=#Net chars=50:)
> >
> > would display:
> >
> > :pagename1:<first 50 chars in section #Net on pagename1>
> > :pagename2:<first 50 chars in section #Net on pagename2>
>
>Would those characters be treated as markup?  I'm guessing "yes"
>from your example display output, but...
>
>    - what if the first 50 chars contain a '[=' but not the closing '=]' ?
>    - what if the 50th character is a backslash?
>    - what if the first 50 chars contain newlines?
>
>If the characters aren't treated as markup, do we make any attempt
>to remove the markup from the extracted chars, or just leave it 'as-is'?

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)


Cheers,
Radu
(www.monicsoft.net) 




More information about the pmwiki-users mailing list