[pmwiki-users] Category - Links not to include
Patrick R. Michaud
pmichaud at pobox.com
Mon May 7 21:59:43 CDT 2007
On Tue, May 08, 2007 at 12:41:46AM +0200, Petko Yotov wrote:
> On Tuesday 08 May 2007 00:03, Kathryn Andersen wrote:
> > b) You could specifically include only pages which contain "[[!" in them
> >
> > (:pagelist link={*$FullName} list=normal -"[[!":)
>
> First, it should be "[[!" and not -"[[!" ("minus" means excluded).
Correct.
> Senond, this will cause pmwiki to open for reading every single page (file) in
> the pagelist to make sure there is such string, and if there are many pages,
> it may be quite slow (running at 100% CPU). ...
Actually, this won't speed up or slow things down that much. Both with
and without the "[[!" search term, PmWiki will still read all of the
pages in the resulting pagelist.
Slightly more helpful would be:
(:pagelist link={*$FullName} list=normal "[[!{*$FullName}" :)
This would find only those pages that actually contain "[[!PageName"
in them somewhere, at no significant speed penalty.
Pm
More information about the pmwiki-users
mailing list