[pmwiki-users] Category - Links not to include

Kathryn Andersen kat_lists at katspace.homelinux.org
Mon May 7 17:52:07 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).

You're right.  Ooops!  Typo (I was copying and pasting from the previous
example).
 
> 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). To optimize pagelists, as of 
> today, one would prefer using only the information stored at the .pageindex 
> file, and that is the patameters name=, group=, link= and (+ or -) single 
> words and limit searches for quoted expressions or PageTextVariables.

Good point.

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe



More information about the pmwiki-users mailing list