[pmwiki-users] Pagelist PTV wildcard usage? Possible? Opinions wanted on tagging system.

Mark Bacas mbacas at gmail.com
Thu Apr 1 20:55:47 CDT 2010


I'm beginning to think what I want isn't possible.

I've come close with something like:
$:tags='* weekly*' for the weekly pagelist.

However, I think I'll always have an issue because depending on where
the entry is made in the text field there may be a space before it,
after it, or before and after it. And since I can't have multiple
entries for the same PTV (well, PageListPlus could handle this) I need
to figure something out.

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.

Thoughts/opinions?

Regards,

 - Mark

On Mon, Mar 29, 2010 at 7:58 PM, Mark Bacas <mbacas at gmail.com> wrote:
> Hello everyone,
>
> Example of my issue can be seen here:
> http://diligentwarrior.com/test2mtd/index.php
>
> I have the string in a PTV field:
>
> xyz biweekly 123
>
> I don't want my "Weekly" pagelist to display this biweekly entry.
>
> (:pagelist fmt=#MTDSchedule list=normal order=$:duedate,$:duetime
> group=MTD.2* if="date ..{(ftime "%Y%m%d" "+2 days")} '{=$:duedate}'"
> $:duedate=- $:status=recurring $:tags=*weekly* header="%red%'''Weekly
> Recurring Items (Due Within 2 Days)'''":)
>
> (:pagelist fmt=#MTDSchedule list=normal order=$:duedate,$:duetime
> group=MTD.2* if="date ..{(ftime "%Y%m%d" "+3 days")} '{=$:duedate}'"
> $:duedate=- $:status=recurring $:tags=*biweekly*
> header="%red%'''Biweekly Recurring Items (Due Within 3 Days)'''":)
>
> Is there a way I can handle this?
>
> Regards,
>
>  - Mark
>



More information about the pmwiki-users mailing list