[pmwiki-users] Sub-dividing page files into sub-folders within each Group folder

V.Krishn vkrishn4 at gmail.com
Tue Dec 20 12:45:35 CST 2011

On Wednesday, December 21, 2011 12:02:17 AM you wrote:
> On Dec 20, 2011, at 1:01 PM, V.Krishn wrote:
> > On Tuesday, December 20, 2011 02:53:57 AM Peter Bowers wrote:
> >>> allows to store pages and file uploads un sub-subfolders, the way I
> >>> previously described.
> > 
> > I am in favour of Pmwiki having atleast a single level subfolder by
> > default. Preferably,
> > $WikiDir = new PageStore('wiki.d/{$Group}/{$FullName}');
> > 
> > I can think of atleast one application that can be created with this
> > behaviour enabled by default. i.e Pmwiki as a Reader.
> > 
> > It would then be very convenient to send a zipped folder of a Group, say
> > Group1.zip, to someone. With a web based application/form one could just
> > upload the file, which can then be viewed by simply unzipping it in
> > wiki.d. (Not to mention some permission related issues which may arise)
> > 
> > Lets call the zipped file as .pwf (pmwiki format OR portable wiki
> > format), assuming this extension is still available. :-)
> > This could well serve as a simple online based document exchange format
> > that does not require any application installed on client side.
> > If I am not mistaken, there had been such a discussion sometime back.
> While I have no objection to this, like it, and on our site use the above
> suggested "Group level directories", the mentioned application can of
> course be achieved with the current default, since even in the
> wiki.d/$Group subdirectories the files are named $Groupname.$Filename, it
> is easy enough to write (with tar, since I don't use zip) tar -cf
> myfile.pmtar wiki.d/$Groupname.*

1. Any suggestion on on what convention that would be there for $Groupname. 
Groupname may already exist. What would be untarring command that changes all 
the file names within the tar file?
2. Such .pwf file can also contain required cookbook/css ..etc if special 
application is needed to view the file. Any suggestion how to handle this?

>        Vince
> > _______________________________________________
> > pmwiki-users mailing list
> > pmwiki-users at pmichaud.com
> > http://www.pmichaud.com/mailman/listinfo/pmwiki-users

More information about the pmwiki-users mailing list