Re: [cowiki-dev] How to improve coWiki with a media document management system?

Sy <[email protected]>
Newsgroups gmane.comp.php.cowiki.devel
Message-ID <[email protected]>
I like your proposal Daniel:

* Media files have permissions
* Media files can be embedded into a page with a plugin
* Media files have names and unique IDs like regular documents.


---

* What about automatic media thumbnail generation?  coWiki could
automatically generate and cache a thumbnail for the media item.

  <plugin media item="foo.png" type="thumbnail">

* Be able to upload multiple media files or somehow name them
similarly and then have one "gallery" plugin collect them all with
some kind of regexp:

  <plugin gallery items="1-14|16-18|ab*.jp?g" type="pictures">

A gallery function which can also use "type" would be fantastic.  This
would allow things like:

  <plugin gallery items="*.jpg" type="thumbnails" display="summary">
  <plugin gallery items="*.zip" type="links" display="summary|description">

The "summary" and "description" idea is something I've wanted for a
long time.  Every document or media file should have a short and a
long description which can easily be called by a plugin.  With this, I
do not have to write the same description again and again.. and I do
not need to update it in more than one place.

document "foo" has the description "This is document foo."

  <plugin link "foo" description>

which appears something like:

  <link> This is document foo


I really like the description so far.  However it does not yet handle
the idea of having media files accessible only to one document. 
(Paul, you argue for this ability.. is it not already covered by
permissions?)

I propose:

* All normal groups should be renamed to "group_foo", "group_bar" etc.
* Every directory or document also exists as a unique group.
* Now the owner can choose to restrict access to only members of that
specific document or directory's group.

I think it is a bit strange, but it would work..

Of course, when uploading a file the user would only see "[x] make
this item private?"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.