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

Vince Administration vadmin at math.uconn.edu
Tue Dec 20 12:32:17 CST 2011

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.
> -- 
> Regards,
> V.Krishn
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.*


> _______________________________________________
> 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