[pmwiki-users] Pagelist PTV wildcard usage? Possible? Opinions wanted on tagging system.
5ko at 5ko.fr
Fri Apr 2 11:42:46 CDT 2010
On 4/2/2010, "Mark Bacas" <mbacas at gmail.com> wrote:
>"The "_" character is particular"
>A different character like # or ! wouldn't be as good or work as well?
>Something special about the _ causing the entries to be added to the
Only a "word" character as defined by the programming language. In our
letters a-z, digits 0-9 and underscores "_" are considered parts of a
every other character will split the page text into different "words".
>The tags don't have to be listed in a certain order when creating them?
No, and they could be anywhere in the page, not only in a PTV. However it
may appear not intuitive to search word1 "or" word2 :
(:pagelist _tag1 _tag2:) will find pages with BOTH tags
To list pages containing either _todo or _someday you need 2 pagelists,
and if a page contains both tags, it will appear in both pagelists.
>Is there an easy way to add the _ to my existing tags?
No. Hopefully you and the users of your recipe don't have too many
pages yet. :-)
>On Fri, Apr 2, 2010 at 4:25 AM, Petko Yotov <5ko at 5ko.fr> wrote:
>> On Friday 02 April 2010 03:55:47, Mark Bacas wrote :
>>> I'm thinking I need to enter all tags with something like a preceding
>>> # or something.
>>> Any opinions on this? Is # a bad idea? Is just having a preceding
>>> character good enough? I believe it should be.
>>> Then I could have something like $:tags=*#weekly* and
>>> $:tags=*#biweekly* and the *#weekly* shouldn't pick up the #biweekly
>> Hi. You can use the underscore character like this: _weekly _biweekly
>> _critical _done _home _computer. Then, use either your PTV search, or even
>> just plaintext search :
>> !! Stuff that I could do now
>> (:pagelist _home -_done -_waitingfor:)
>> See also the second half of this page:
More information about the pmwiki-users