X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/97f9de14ba75403c371c5ebece2c3190d3815154..27bfa7b40eeae989a4dadaeba1c6f5336946d1ef:/doc/todo/fileupload/soc-proposal/discussion.mdwn?ds=sidebyside diff --git a/doc/todo/fileupload/soc-proposal/discussion.mdwn b/doc/todo/fileupload/soc-proposal/discussion.mdwn index 0ff6c6ce5..299dc4c56 100644 --- a/doc/todo/fileupload/soc-proposal/discussion.mdwn +++ b/doc/todo/fileupload/soc-proposal/discussion.mdwn @@ -33,4 +33,14 @@ teached to use these. Galleries could then be generated by means of should of course be possible to edit this information via ikiwiki.cgi and with any text editor (Name: value). This should also allow for creations of default .html pages with the image/video/file/... and a discussion page. Probably named image.mdwn and image/discussion. - I think that would fit nicely with the ikiwiki concept. Cons? --enodev \ No newline at end of file + I think that would fit nicely with the ikiwiki concept. Comments? --enodev + +> Replying to myself. Just appending .meta gives problems when \$usedirs is enabled as the original file and the directory containing the html file will have the same name. Taking away the original extensions has problems with filenames having different extensions and the same basename. So something like 'about-image.jpg.meta'? That would require no changes to the core to support it and is reasonably easy to the eye. + +> I also pondered about putting this info in the rcs log, but that is problematic when you just 'cp'/'mv'/whatever the directory. Same goes for using something like svn properties, which git does not even support. Storing this info in the index file is problematic, because that isn't versioned. Major problem I see with this approach would be the disconnected nature of having two files. Posix extended attributes? ;-( + +> This could also be used to specify the license of the file. + +> I did an proof of concept implementation of this idea [here](http://ng.l4x.org/brainstorm/gallery/) yesterday night, including the link to the source code. I'd really love to hear comments about this approach. + (note1: I'm really not interested in any kind of http interface to that thing, just testing ways of storing the meta + data, note2: I'm no perl programmer) \ No newline at end of file