[Pmwiki-users] Re: Attach (was Re: spaces in uploaded files)
Christian Ridderström
chr
Sun May 9 07:07:19 CDT 2004
On Sun, 9 May 2004, Christian Ridderstr?m wrote:
> attach2 ::= '[[attach:' upload-path upload-name ']]'
I've implemented this here:
http://www.lyx.org/~chr/demo/pmwiki.php?pagename=Upload.TestNewAttach
where
[[attach:aFile.txt]] -> aFile.txt
when the file exists... but what should the output look like when the file
doesn't exist? Right now you get:
[[attach:not_aFile.txt]] -> [[attach:not_aFile.txt]]?
Now [[attachlist:]] (lower case) is also available, see here:
http://www.lyx.org/~chr/demo/pmwiki.php?pagename=Upload.TestNewAttachlist
I'd still don't like the word 'attachlist' though :-(
Spaces in the names isn't fully test yet, I'll let you know when that's
working.
/Christian
--
Christian Ridderstr?m http://www.md.kth.se/~chr
More information about the pmwiki-users
mailing list