[quills-dev] WeblogArchive [was: 1.5 final?]
Maurits van Rees m.van.rees at zestsoftware.nlWed Nov 1 22:26:58 UTC 2006
- Previous message: [quills-dev] Re: 1.5 final?
- Next message: [quills-dev] WeblogArchive [was: 1.5 final?]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim Hicks, on 2006-10-31: > Reinout van Rees wrote: >> One thing, from the top of my head, *is* a quills problem: the >> permissions to create the on-the-fly 2006/10/31-like folders. Not sure >> if that's right. > > My recollection is that a cut-and-paste operation is performed that > moves the entry from the weblog root to the new archive home. Unless > I'm mistaken, this cut/paste needs to give the user the delete > permission, and so allows them to delete all other weblog entries in the > weblog root. > > Getting rid of the cut/paste operation (by faking traversal) means we > wouldn't need to grant the delete permission, which should make life > marginally better for Michael, I think. I'm thinking about putting some time in here, but I have no idea where to start. Is there another product that fakes traversal? A working example is always useful. The last I found on improving this part of Quills is from tvon in April this year: http://dev.plone.org/collective/log/Quills/branches/tvon-flat-btree-weblog But that only removes some code and doesn't yet do anything traversal-like. Personally, I want to move my own ZMI-made Zope 2.7 blog to Quills. I would like to keep using weblog/year/month/entry-title instead of weblog/archive/year/month/day/entry-title. Maybe I'll just throw in an Apache rewrite rule to redirect weblog/200x to weblog/archive/200x and solve half my problem. For the other half of the problem: I'm thinking about monkey patching createPath in WeblogArchive.py to not create the 'day' archive folder. Are there better ideas? One other thing: I notice that WeblogArchive only has WeblogEntry as allowed content type. Does it not make sense to also have WeblogArchive as allowed content type? I mean: the WeblogArchive 2006 *does* actually have WeblogArchive 11 (November) in it. Apparently Quills works around this while creating a WeblogArchive tree when publishing an entry. This bites me a bit when I want to add some of my old entries and want to put them in the correct archive folder, e.g. 2006/04 instead of the folder for today. I can always temporarily change portal_types to allow WeblogArchives to be manually added to other WeblogArchives of course, but I wonder why this is not done always. Hm, well: I guess that giving users the option to add WeblogArchives themselves (possibly called say 'November' instead of '11') could make a royal mess of the archive. :) And I guess this just means that the Fake Traversal idea is... a good idea. ;) Oh well, I probably want to spend some quality time studying some migration code from my brother. :) http://vanrees.org/weblog/archive/2006/01/16/from-squishdot-to-quills -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
- Previous message: [quills-dev] Re: 1.5 final?
- Next message: [quills-dev] WeblogArchive [was: 1.5 final?]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the quills-dev mailing list