[pmwiki-users] Snippets from a page

Sandy sandy at onebit.ca
Tue May 5 17:29:04 CDT 2009


Mani Varadarajan wrote:
> Hello,
> 
> Is there any recipe to get snippets from a page or set of pages?
> 
> Here are examples of what I'm looking for.
> 
> * For each page in a set of pages, get everything in section named 
> "Foo", assuming that section exists.
> * For the recent changes list, get a snippet of the first 100 characters 
> of the change for each change.
> 

Try this page:

http://www.pmwiki.org/wiki/Cookbook/PagelistTemplateSamples#Teasers
to get it using PageList

Also try http://www.pmwiki.org/wiki/PmWiki/IncludeOtherPages
to get it using Include.

I haven't done them myself, but both those approaches look promising.

Sandy




More information about the pmwiki-users mailing list