[pmwiki-users] Suggestion and recipe for categories as tags

Martin Fick mogulguy at yahoo.com
Thu Sep 21 16:38:26 CDT 2006


--- "Patrick R. Michaud" <pmichaud at pobox.com> wrote:

> On Thu, Sep 21, 2006 at 10:05:05PM +0200, Stefan
> Schimanski wrote:
> Ah, I see.  I'm not sure that "linked=" is the
> parameter name
> I'd want to use here; seems like it would be too
> easily confused
> with the existing "link=" parameter.
> 
> Two other parameter name possibilities:
> 
>     (:pagelist linksfrom=Main.* group=Category:)
>     (:pagelist targets=Main.* group=Category:)
> 
> Essentially, we're saying that we want a list of the
> links
> from a page, instead of the links to a page. 
> (Internally, pmwiki
> knows the links to a page as "targets", but I'm not
> sure that
> targets= is intuitively correct for the parameter
> name here.)

If I am reading this correctly, the targets= feature
is already implemented by the PageListExtensions
recipe except that I do not think that I implemented
wildcards so it will only be useful for a single page.
 


> On Thu, Sep 21, 2006 at 09:26:21PM +0200, Stefan
Schimanski wrote:
>> It would be nice if PmWiki would support something 
>> like a "linked" option in the pagelist syntax:
>> 
>>   (:pagelist linked=Main.*:)

You could look at the way I do it if you want to not
use the pagelist index (I borrowed the code from
another recipe).  Or maybe you would even enhance that
recipe? :)



>  (:pagelist targets=Main.* group=Category:)

But I never thought of using it with the
group=Category option, I don't know if it will work,
probably?  Cool, I didn't think of using it quite that
way.


-Martin


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the pmwiki-users mailing list