473,652 Members | 2,965 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1498
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(htmlf ile) 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(htmlf ile) 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(htmlf ile) 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
1892
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 have time to write it myself. i would prefer if it used a mysql db. basically, i just need for people to be able to have members write out how much they paid, pros/cons, overall opinion, whether or not they would buy again, and some sort of rating...
1
1623
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 a script like that will cut off the line after a certain amount of characters then possibly add a ... instead of the rest of the text. Thanks for any help or ideas.
10
1593
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 get is in there, any ideas? below is some of the script in question.
12
2983
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 ************************************************************************************ <Script runat="Server"> Sub fnHeader(client As String) response.write("<!-- #include file = ../includes/staffingHeaders.inc -->")
2
1374
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 installed, it runs just fine... when i run it on my w2k3 box with iis and asp.net 1.1 and 2.0 installed, but only 1.1 active now because of the aspnet_regiis -i command that was run in the v1.1.4 folder, i get the error below the code: Code <%@...
4
1314
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 layout, and are stored in a CSV-format. Each record is (non-uniquely) identified by a date and a itemID. Each itemID can occur 0 or more times per month. The item contains a figure/amount which I need to sum per month and per itemID. I have already...
3
1355
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 condensed as it is single line entries, like below: (vb) WSa1.Cells(1, 1).Value = Settings1.Text5.Text There are a few hundered lines of it. Cannot leave any out as then the result would not work. What to do now, anyone have a soluton for me....
2
5527
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 scriptmanager control on the master page. Any pages in the app that uses the master page under 2.0 automatically used that script manager if any AJAX controls were involved. Everything was well with the world and we all sang ohmmmmmmmmmmmm.... After...
8
3914
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 with yes/no for each answer/review ..i have donw ith some code.1st form works .the rest doesnot .. $sqlreview = "select * from mobile_user_reviews where property1 = '". $brand ."' and property2 = '". $model ."' "; $resultreview =...
0
8370
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8283
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8811
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8704
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8590
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.