[pmwiki-users] pmwiki-2.2.0-beta9 release (bugfix, pagevar filters in pagelists)

Pico pmwiki at ben-amotz.com
Tue Oct 3 07:03:39 CDT 2006


Roman wrote:
...
>It would be very helpful if pagelist
> supported something like this:
> 
> (:pagelist $:State=#CA#TX order=$:State:)
> 
> I borrowed this syntax from (:include:) directive and it would have
> basically similar meaning. It would start listing pages when $:State
> matches 'CA' value and stop listing when $:State matches 'TX' value.
> Some other modification as in (:include:) could work, too, e.g.
> 

Since that form (#string) refers to anchors, it seems pretty confusing 
in this context as applied to the possible of a given page text variable 
($:State).  It would also be pretty limited, when what you are talking 
about sounds like it would be better served with an explicit concept 
like "between CA and TX, or more generally, concepts like greater than 
and less than: CA>TX, or CA>=TX, which could also be extended to <=CA, 
or >TX.

Pico


-- 

         __  /
        /   /
       /___/ _/  ___/  __  /
      /      /  /     /   /
    _/     _/  ____/ ____/

 >>>===pmwiki at ben-amotz.com===>




More information about the pmwiki-users mailing list