[pmwiki-users] Attachment size

Kathryn Andersen kat_lists at katspace.homelinux.org
Thu Aug 3 17:34:28 CDT 2006


On Thu, Aug 03, 2006 at 11:16:21AM -0500, Patrick R. Michaud wrote:
> On Thu, Aug 03, 2006 at 12:05:21PM -0400, Neil Herber wrote:
> > At 2006-08-03  10:55 AM -0500, Patrick R. Michaud is rumored to have said:
> > >Oh!  Here's a thought -- what if we overload the "alt-text" field
> > >of links to allow the specification?  So:
> > >
> > >    Attach:file.txt               -- normal
> > >    Attach:file.txt"size"         -- display with file size
> > >    Attach:file.txt"date"         -- display with last updated date
> > >    Attach:file.txt"type"         -- display with type
> > >
> > >Currently the "..." is used to provide alt-text for images, but
> > >isn't really used for attachments, so it might make sense to re-use it
> > >for that here.

Hmmmm.  But what if one wants to have a *link* to an image and give its
size?

Otherwise, it sounds like a good idea.

> Yes, I'm also thinking of something along the lines of %-escapes, thus:
> 
>     Attach:file.txt"%size, %date"
> 
> I'm not entirely comfortable with this syntax, but I haven't been able
> to come up with anything better.

What bothers you about it?  I assume what you intend with it is for the
user to be able to format the appearance of the string?  That's a
fantastic idea!

Kathryn Andersen
-- 
 _--_|\     | Kathryn Andersen	<http://www.katspace.com>
/      \    | 
\_.--.*/    | GenFicCrit mailing list <http://www.katspace.com/gen_fic_crit/>
      v     | 
------------| Melbourne -> Victoria -> Australia -> Southern Hemisphere
Maranatha!  |	-> Earth -> Sol -> Milky Way Galaxy -> Universe




More information about the pmwiki-users mailing list