[pmwiki-users] Pagelist PTV wildcard usage? Possible? Opinions wanted on tagging system.
Mark Bacas
mbacas at gmail.com
Fri Apr 2 12:25:52 CDT 2010
>>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.
That's okay, at least for me. At this point my main concern was making
sure I got pages with just a particular tag, and I was running into
the issue where "weekly" would pick-up "biweekly" entries or something
like "ING" would pick-up "shopping".
I guess you could address the issue of having something appear in both
of the pagelists above by doing something like this?
(:pagelist _todo _someday:)
(:pagelist -_todo _someday:)
(:pagelist _todo -_someday:)
As long as you had your formatting setup probably it would probably
look and be okay.
>>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. :-)
Well, I have a pretty good bit, but I'll just deal with it. I need to
change my forms for users of the recipe though to give some direction
when entering tags in the tag field. Something like "Proceed tags with
"_" underscore to allow for better filtering."
Thanks again,
- Mark
>
> Petko
>
>>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
>>>> tag.
>>>
>>> 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:
>>>
>>> http://www.pmichaud.com/pipermail/pmwiki-users/2009-December/056314.html
>>>
>>> Petko
>>>
>
More information about the pmwiki-users
mailing list