Re: [pmwiki-users] pagelist q.

2009-09-28 Thread noskule
Hans schrieb:
> Monday, September 28, 2009, 2:24:01 PM, noskule wrote:
>
>   
>> Is there a way to get something like this "{*$:{=$Name}}" to work in a
>> pagelist template:
>> 
>
> please explain what this is supposed to be.
>
>
>   ~Hans
>
>   
a list of (vitamin)-pagenames which names are ptvs in other 
(food)-pages. However the problem was that "-" in ptv's don't work and I 
named them acording the  pagenames "Vitamin-C", so the ptv didn't work . 
. .. but the combined variable above works.

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q.

2009-09-28 Thread Hans
Monday, September 28, 2009, 2:24:01 PM, noskule wrote:

> Is there a way to get something like this "{*$:{=$Name}}" to work in a
> pagelist template:

please explain what this is supposed to be.


  ~Hans


___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q.

2007-05-01 Thread noskule
Patrick R. Michaud schrieb:
> On Tue, May 01, 2007 at 04:21:15PM +0200, noskule wrote:
>   
>> hi list
>> Is there a way to get a pagelist that shows pages that links to PageA 
>> AND PageB
>>
>> (:pagelist name=CategoryA&CategoryB:)
>> 
>
> To just list pages that contain the strings "CategoryA" and
> "CategoryB", one can do:
>
> (:pagelist CategoryA CategoryB:)
>
> If you're looking specifically for links to CategoryA and CategoryB,
> that hasn't been implemented yet (but it's on my to-do list).
> When implemented the syntax will be:
>
> (:pagelist links=+Category.CategoryA,+Category.CategoryB :)
>
> Pm
>
>   
yes, specifically links, cause otherwise all words would count, do you 
have a date when this will be? would be nice if in the next release ;-)

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q.

2007-05-01 Thread Patrick R. Michaud
On Tue, May 01, 2007 at 04:21:15PM +0200, noskule wrote:
> hi list
> Is there a way to get a pagelist that shows pages that links to PageA 
> AND PageB
> 
> (:pagelist name=CategoryA&CategoryB:)

To just list pages that contain the strings "CategoryA" and
"CategoryB", one can do:

(:pagelist CategoryA CategoryB:)

If you're looking specifically for links to CategoryA and CategoryB,
that hasn't been implemented yet (but it's on my to-do list).
When implemented the syntax will be:

(:pagelist links=+Category.CategoryA,+Category.CategoryB :)

Pm

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q

2007-01-29 Thread Patrick R. Michaud
On Thu, Jan 25, 2007 at 12:19:25PM -0800, Martin Fick wrote:
> Some possible pagelist argument syntax suggestions:
> 
> 1 a)  Pages in either category:
>   link=Category.TipsUndTricks link=Category.Beginner

Just a note that PmWiki's argument processing routine
(ParseArgs) doesn't really understand multiple instances
of the same argument name.  And even if it did, it would
be difficult to distinguish 1a above from 1b below.

> 3 a) Pages in either category:
>   link=Category.TipsUndTricks|Category.Beginner
> 3 b) Pages in both categories:
>   link=Category.TipsUndTricks&Category.Beginner

This is an interesting approach.  But I think I like
the "+/-" approach a bit better.

Pm

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q

2007-01-25 Thread Martin Fick

--- The Editor <[EMAIL PROTECTED]> wrote:

> On 1/25/07, noskule <[EMAIL PROTECTED]> wrote:
> > > There's also some ambiguity about how this
> should work.  Some people
> > > would expect the link= option above to show
> pages in either category,
> > > while you seem to be requesting only those pages
> that are in both
> > > categories.  We might need to resolve that sort
> of confusion.
> >
> > yes, there could be a syntax like
> >
> > category1,category2,category3 -> one or more of
> the list
> > category1,category2,+category3 -> must contain
> category3
> > category1,category2,-category3 -> dont contain
> category3
> 
> 
> For what it's worth, I like this syntax best of
> all

Hmm, yes, very nice indeed!

Can we add parens too? ...says the back seat
programmer. :)

 category1,(category2,+category3)

 must contain either category1 or (category2 and
category3)

-Martin



 

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q

2007-01-25 Thread The Editor
On 1/25/07, noskule <[EMAIL PROTECTED]> wrote:
> > There's also some ambiguity about how this should work.  Some people
> > would expect the link= option above to show pages in either category,
> > while you seem to be requesting only those pages that are in both
> > categories.  We might need to resolve that sort of confusion.
>
> yes, there could be a syntax like
>
> category1,category2,category3 -> one or more of the list
> category1,category2,+category3 -> must contain category3
> category1,category2,-category3 -> dont contain category3


For what it's worth, I like this syntax best of all

Cheers,
Dan

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q

2007-01-25 Thread Martin Fick

--- "Patrick R. Michaud" <[EMAIL PROTECTED]> wrote:

> At present the link= option doesn't understand a
> list of pages, it only works for a single page.  
> I'm planning to change this, but I don't have an 
> estimate for when that will happen.

...Still a very desired feature for me. :)


> There's also some ambiguity about how this should
> work.  Some people would expect the link= option 
> above to show pages in either category,
> while you seem to be requesting only those pages
> that are in both categories.  We might need to 
> resolve that sort of confusion.
> 

Some possible pagelist argument syntax suggestions:

1 a)  Pages in either category:

  link=Category.TipsUndTricks link=Category.Beginner

1 b) Pages in both categories:

  link=Category.TipsUndTricks,Category.Beginner



2 a) Pages in either category:

  link=Category.TipsUndTricks,Category.Beginner

2 b) Pages in both categories:

  link==Category.TipsUndTricks,Category.Beginner


3 a) Pages in either category:

  link=Category.TipsUndTricks|Category.Beginner

3 b) Pages in both categories:

  link=Category.TipsUndTricks&Category.Beginner


-Martin



 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q

2007-01-25 Thread noskule
Am Donnerstag, 25. Januar 2007 19:37 schrieb Patrick R. Michaud:
> On Thu, Jan 25, 2007 at 06:26:27PM +0100, noskule wrote:
> > hi list
> > I try to build a pagelist with all pages that have the category "Tips und
> > Tricks" AND "Beginner", so I try the following:
> >
> > (:pagelist link=Category.TipsUndTricks,Category.Beginner list=normal
> > fmt=#simple:)
> >
> > this seams not to work. I get a list of all pages in the wiki.
>
> At present the link= option doesn't understand a list of pages,
> it only works for a single page.  I'm planning to change this,
> but I don't have an estimate for when that will happen.
>
> There's also some ambiguity about how this should work.  Some people
> would expect the link= option above to show pages in either category,
> while you seem to be requesting only those pages that are in both
> categories.  We might need to resolve that sort of confusion.

yes, there could be a syntax like

category1,category2,category3 -> one or more of the list
category1,category2,+category3 -> must contain category3
category1,category2,-category3 -> dont contain category3

ore somthing like that . . .



>
> At any rate, you may still be able to achieve the effect you're
> looking for by using a search term:
>
> (:pagelist link=Category.TipsUndTricks "Category.Beginner"
>   list=normal fmt=#simple:)
>
> should find all of those pages in the TipsUndTricks category
> that also contain "Category.Beginner" somewhere (the targets are
> searched as well as the page text).
>
> Pm

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


Re: [pmwiki-users] pagelist q

2007-01-25 Thread Patrick R. Michaud
On Thu, Jan 25, 2007 at 06:26:27PM +0100, noskule wrote:
> hi list
> I try to build a pagelist with all pages that have the category "Tips und 
> Tricks" AND "Beginner", so I try the following:
> 
> (:pagelist link=Category.TipsUndTricks,Category.Beginner list=normal 
> fmt=#simple:)
> 
> this seams not to work. I get a list of all pages in the wiki.

At present the link= option doesn't understand a list of pages,
it only works for a single page.  I'm planning to change this,
but I don't have an estimate for when that will happen.

There's also some ambiguity about how this should work.  Some people
would expect the link= option above to show pages in either category,
while you seem to be requesting only those pages that are in both 
categories.  We might need to resolve that sort of confusion.

At any rate, you may still be able to achieve the effect you're
looking for by using a search term:

(:pagelist link=Category.TipsUndTricks "Category.Beginner" 
  list=normal fmt=#simple:)

should find all of those pages in the TipsUndTricks category
that also contain "Category.Beginner" somewhere (the targets are
searched as well as the page text).

Pm

___
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users