Wouldn't it be possible to use the categories-feature for your tags ?
But it might be a bit to complicated for a user to enter [[!tag]]
instead of tag. But you could then use
(:pagelist ... link=tag ... :)
Maybe there is a way to define categories in a page also in another way,
e.g. by using
:tags: tag1 tag2
identfying all words after ":tags:" as a category-link, so kind of a
translation into ":tags: [[!tag1]] [!tag2]]" at post-edit time, but only
for displaying the page, the page source should preserve the :tags:-line
for editing ?
So what's about using the ROSPatterns with a function, that replaces
":tags: tag1 tag2"
into
":tags: tag1 tag2
(:hiddentags: [[!tag1] [[!tag2]] :)
"
(and deletes existing (:hiddentags: ... :) just a step before.
Would ROSPattern be called by the FOX Postprocessing of a form ? Or
could thsi be done by a FOX-Form-Postprcessing function instead of using
ROSPattern ?
btw, I've the same problem for entering tags by users for a set of
dokument pages.
Knut
Am 02.04.2010 19:25, schrieb Mark Bacas:
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<[email protected]> 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
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users