From e1b670b681c51c9cdb61253b90c9324d9d09d6ea Mon Sep 17 00:00:00 2001 From: joey Date: Sun, 22 Apr 2007 20:41:04 +0000 Subject: web commit by http://id.inelegant.org/: Replied. --- doc/todo/fileupload/soc-proposal/discussion.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/todo/fileupload/soc-proposal/discussion.mdwn b/doc/todo/fileupload/soc-proposal/discussion.mdwn index a24f70c51..39c048bf4 100644 --- a/doc/todo/fileupload/soc-proposal/discussion.mdwn +++ b/doc/todo/fileupload/soc-proposal/discussion.mdwn @@ -8,10 +8,14 @@ It's not clear to me that the concept of attaching files to a page fits ikiwiki >> I'd suggest `some-dir/some-page/file`, which nicely makes clear that the file is "attached" to some-page, allows easy wikilinks to "file" from some-page, and has other nice properties. +>>> So _some-dir/some-page_ would feature an upload form that stored its payload in _some-dir/some-page/file_? IOW, we'd still be attaching files, but making the relationship between attacher and attached more explicit? --Ben + > As for the attachment list, I envisaged that being optional. --Ben >> So some kind of preprocessor directive that is added to a page to generate the attachment list? +>>> Absolutely. + I don't understand why the file size would need to be stored in the index file; this information is available by statting the file, surely? Similarly, the mime type can be determined through inspection, unless there turns out to be a reason to need to cache it for speed. --[[Joey]] \ No newline at end of file -- cgit v1.2.3