473,396 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Script to condense the review page

I help moderate a couple mailing lists on python.org. The biggest challenge
for me is vetting messages which were held for review. The information
density in the Mailman review page is pretty low, typically showing only two
or three messages per screen. Most of the time all I'm really interested in
are the subject and the disposition buttons. I wrote a script to display
just that information (and set the default disposition to "discard"):

http://www.musi-cal.com/~skip/python/mmfold.py

The subject links to the full review page for that message, so you still
have access to all the bells and whistles available should you want them.

Ideally something like this will be incorporated into Mailman itself, but
for now mmfold.py is a reasonable substitute and should serve as a decent
place to experiment with other ideas.

--
Skip Montanaro
Got gigs? http://www.musi-cal.com/submit.html
Got spam? http://www.spambayes.org/
sk**@pobox.com

Jul 18 '05 #1
3 1485
Skip Montanaro:
I help moderate a couple mailing lists on python.org. The biggest challenge for me is vetting messages which were held for review. The information
density in the Mailman review page is pretty low, typically showing only two or three messages per screen.


On Windows using Mozilla, I had to comment out the os.unlink(htmlfile) as
the file is gone before the browser can open it. Maybe sleep for 5 seconds
before unlinking?

I would like to have a web page that merged all four MailMan lists I
manage together with duplicated messages only appearing once so they can be
removed quickly.

Neil
Jul 18 '05 #2

Neil> On Windows using Mozilla, I had to comment out the
Neil> os.unlink(htmlfile) as the file is gone before the browser can
Neil> open it. Maybe sleep for 5 seconds before unlinking?

Yeah, I realized that would perhaps be a problem. Windows might be
problematic even with the sleep. Wouldn't the unlink() call fail if the
browser has the file open? (Hopefully it would close it quickly.)

Neil> I would like to have a web page that merged all four MailMan lists
Neil> I manage together with duplicated messages only appearing once so
Neil> they can be removed quickly.

Hack away... ;-)

Skip
Jul 18 '05 #3
Skip Montanaro wrote:
Neil> On Windows using Mozilla, I had to comment out the
Neil> os.unlink(htmlfile) as the file is gone before the browser can
Neil> open it. Maybe sleep for 5 seconds before unlinking?

Yeah, I realized that would perhaps be a problem. Windows might be
problematic even with the sleep. Wouldn't the unlink() call fail if the
browser has the file open? (Hopefully it would close it quickly.)

Neil> I would like to have a web page that merged all four MailMan lists
Neil> I manage together with duplicated messages only appearing once so
Neil> they can be removed quickly.

Hack away... ;-)


I'd be happy to hack on it too, as I have two or three lists which
I have to clear out every day or so...

What I don't understand is why I have to do it at all, though.
I've got Mailman configured (near as I can tell) not to allow
*any* posts from non-subscribers. Why should I, as admin, have
to deal with manually rejecting these posts at all?! Most of
them say something about "Spam Assassin thinks this might be spam".
Well, so what? Delete it, period, since it wasn't from a subscriber.

Or am I missing something obvious about how this all works?

-Peter
Jul 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: James Morrow | last post by:
i need a script for reviewing products (much like epinions.com) written in either perl or php (can't use asp). i am very strapped for time and need a functional script asap, which is why i dont...
1
by: Chuck | last post by:
I have a form that pulls info from a database. My problem is with the setup of the form if it pulls to much information it throws the whole balance off and messes the table up. I am looking for...
10
by: Chris W | last post by:
I have this java script page that causes a second entry in my html logs that looks like this "GET /Cart.html HTTP/1.0" 200 5408 "GET /Cart.html? HTTP/1.0" 200 5408 I don't know why the second...
12
by: tshad | last post by:
I am not sure why I am getting this error: I have the following code I want to run from another include file that holds all my functions. functions.inc...
2
by: BookerW | last post by:
Ok, here is the situation. I have some vb code that was upgraded to the earliest asp, I believe. When i run this snippet of code below on my local xp box with iis and visual studio 2003...
4
by: Jaap | last post by:
Python ers, As a relatively new user of Python I would like to ask your advice on the following script I want to create. I have a logfile which contains records. All records have the same...
3
by: Wernerh | last post by:
Ok, so obviously have written a script that exceeds parameters of 64k (according to the error). The obvious solution is to condense the script till it fits, but the problem is the script cannot be...
2
by: =?Utf-8?B?REo=?= | last post by:
I have a peculiar problem here that I did not have until I migrated from ASP.NET 2.0 to 3.5. I use a master page for my application. Because the master page uses update panels I have the...
8
pradeepjain
by: pradeepjain | last post by:
hii guys, i am working on a site where in guests can say whether the answer / review was useful for them ... there will be many review / answers in a single page .. so how to go on...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.