[pmwiki-users] attachlist syntax or attach rendering

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 29 12:06:30 CDT 2005


On Fri, Jul 29, 2005 at 12:51:56PM -0400, Neil Herber wrote:
> OK, I give up. I have scoured the docs and cannot find anything about the 
> attachlist syntax.
> 
> So where is it? Or if it does not exist yet, how can I limit the files 
> listed by attachlist to those that match a patterns, such that: "my_file*" 
> would only list files starting with "my_file"?

So far it's only possible to list files with a certain extension, as in

    (:attachlist ext=gif,jpg,png:)

There's not a generic wildcarding facility -- yet.
Want to propose one...?  ;-)

> If this is not possible, can I get the Attach: markup to emit the file size 
> info that attachlist so neatly provides? That is really what I want to do.

Ooooh, that's definitely trickier.  Would you want Attach: to do
this in all cases or do you have a specific syntax in mind...?

Pm




More information about the pmwiki-users mailing list