[pmwiki-users] RFC: An improved (:attachlist:) - (:filelist:)

Neil Herber nospam at eton.ca
Thu Mar 23 22:23:58 CST 2006


At 2006-03-24  12:25 AM +0100, christian.ridderstrom at gmail.com is 
rumored to have said:
>* It should be possible to choose the "format" of the listing, i.e.
>   control how much information is shown about each file.

This feature alone would satisfy me for all the uses I have made of 
attachlist. I think it should be part of the "standard" version. I 
would expect the other items to be much rarer, but they could be 
provided as some kind of recipe.

Something that would be even *more* useful on my wikis is 
"AttachVerbose:" that would at least show the size of the attached 
file. I have a series of PDFs that range in size from  96,000 bytes 
to 17,829,000 bytes and there is no way to warn potential downloaders 
that they have picked a big one.

Even if I could have some other markup (FileSize:??) then I could do this:

Attach:How The Heck Big Can Files Get.pdf  (FileSize:How The Heck Big 
Can Files Get.pdf)

Any takers on giving me the PHP needed??

A much lower priority, but a nice-to-have would be the file date. 
(FileInfo:???)


Neil

Neil Herber
Corporate info at http://www.eton.ca/
Eton Systems, 15 Pinepoint Drive, Nepean, ON, Canada K2H 6B1
Tel: (613) 829-4668 





More information about the pmwiki-users mailing list