[pmwiki-users] include

Sameer Kumar skumar at eharch.com
Thu Feb 7 17:44:05 CST 2008

> I have tried the [= =] markup but that does not work with the

> (:include:) directive. For example:


> [=(:include Pagename lines=4:)=] does not give me the include.  It

> gives me "(:include Pagename lines=4:)".


you could try TextExtract.



with the default the content is taken without markup processing, but

shows any markup  directives as code.


{(extract . Pagename lines=4)}


Note the dot. the first argument is a regex or search term, and the

dot stands for any character, so it matches everything, and all lines

are included.


The recipe needs pmwiki 2.2.0 beta


I am working on a pagelist format for the homepage of the wiki where I
want to include a snapshot of the latest modifications. I tried the
TextExtract as below, but did not get any extraction...



(:if equal {<$Group}:)

(:table class=schedules width="100%" :)


(:head:)Modified by (:if:)


{(extract . {=$FullName} lines=4)}


''on {=$LastModified}''

(:if equal {>$Group}:)




I only get blank space where the 'extract' statement is.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20080207/8b5ec419/attachment-0001.html 

More information about the pmwiki-users mailing list