Welcome to Squishdot How-To Newbies Squishdot
 post article
 Mailing Lists
 Bug Tracking


Batch Moderation Method: testing release
Squishdot Posted by Bruce Perens on Friday May 12, 05:09PM, 2000
from the work-in-progress dept.
I have written a DTML method that lets you moderate all pending postings and articles in one screen. You no longer have to navigate the postings tree. This is especially useful if you sometimes moderate your site over a slow net connection. I think it could also be made into a PQA for moderating Squishdot wirelessly via the Palm VII.

I'd like other people to test this. This is a testing release and not for the faint of heart. It might break something, so be sure you've backed up your Squishdot instance before you install it, and be sure you know what you're doing. I'm looking for bug reports and software modifications, not people who have gotten themselves into a situation they can't get out of :-)

Extract this file using tar xvlzf batch_moderate.tgz. Install "moderate", "manage_moderate", and "moderateArticle" as DTML methods in your Squishdot folder. Set their permissions so that only managers can execute them.

Get in the shell on your Squishdot server. The following directions are for Linux/Unix, Windows users will have to figure out the right paths. Change directory to /usr/lib/zope/lib/python/Products/Squishdot . Run the command patch <Squishdot.py.diff , but change the location of Squishdot.py.diff in that command to include the path to where you have extracted the file. Kill the Zope server and restart it. Run http://YourSiteName/moderate . Mark any articles you find there for approval or deletion using the check-boxes. Press the Process button at the bottom. That's all.

I'd like to include this in the next Squishdot release if testing proves successful.

Bugs: Methods should use "moderate postings" permission. Display doesn't distinguish articles from replies. It doesn't show context of a reply. It doesn't use radio buttons (because they don't work for building lists).

I think I've figured out the hard stuff and a casual DTML hacker could make cosmetic improvements from this point. Modifications solicited.


Bruce Perens

<  |  >


Related Links
  • Articles on Squishdot
  • Also by Bruce Perens
  • Contact author
  • The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Context works now.
    by Bruce Perens on Saturday May 13, 05:05AM, 2000
    I've improved the above and have put the new files in the tar archive.

    Now, comments are displayed in context and you can tell an article from a comment by the indentation level.


    [ Reply to this ]
    Re: Batch Moderation Method: testing release
    by Michael Sanborn on Friday May 19, 05:44AM, 2000
    At first, the patch succeeded on the first two out of three insertions (as I've communicated separately in an email to Bruce Perens). Now I've manually inserted the third insertion, shut down and restarted Zope, and am still left with one problem. I thought that all of my previous articles and comments would appear in the "moderate" page, but the only thing that's visible is the one article that awaits approval. Is this right? It would be really useful to have all articles and comments visible at the top level, preferably sorted by date.
    [ Reply to this ]
    • Re: Batch Moderation Method: testing release
      by Chris on Thursday August 17, 02:53PM, 2000
      Isn't that what the 'Postings' tab is for? ;-)

      [ Reply to this ]

    The Fine Print: The following comments are owned by whoever posted them.
    ( Reply )

    Powered by Zope  Squishdot Powered
      "Any system that depends on reliability is unreliable." -- Nogg's Postulate
    All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest ©1999 Butch Landingin, ©2000-2002 Chris Withers.