[Mailman-Users] PHP front-end for Mailman?
CNulk at scu.edu
Wed Jun 1 19:01:03 CEST 2011
I will drop in my two cents worth here. At my location, we needed a way
to manage and age out old messages from the archives. The way the
archives are presented aren't really an issue here. However, to do the
management, I used the PHP IMAP interface to access the mbox files.
With the interface, you can delete messages, pull out individual
messages, plus much more. Using the PHP IMAP interface may assist you
in customizing how the archives are integrated into your customers
website. A better solution would be to use Python and an IMAP interface
for Python to do the work since you can use Mailman's list locks (Mark
Sapiro recommended this method to me but my Python skills are a bit weak).
On 5/31/2011 9:44 PM, William Ashworth wrote:
> I've searched for a bit and perhaps nothing is available (or I'm typing the wrong searches).
> A client of mine is looking to integrate more tightly to their Mailman list. There's an archive page, but we're trying to format it nicely for inclusion on their website so that it matches for members to see. I can see two possibilities right now...
> 1. We write a custom PHP application to scrape and store the archive pages into a database to call later, however we want.
> 2. We create an email address and subscribe it to the list. Any new messages will be checked via a PHP script we build and stored in the database, then we'll pull from our own archive format however we choose.
> The only problem with #2 is that we lose 8 years of legacy emails that are already present in the archives. My best bet is to find some way to hook into the archives with PHP so that we can roll it into the rest of their complicated website. Looking at another development language other than PHP at this time would be a conflict of interest with the rest of their website applications.
> I may be dreaming, but if there's some way to nightly export the data to XML from the archive or something, which we can then (also) nightly import that XML data into a MySQL database, then the sky's the limit...I simply don't know if there's a standardized way to access the archived information, as scraping is very messy.
> I'm completely new to Mailman. Any assistance you can offer to help get my bearings straight would be greatly appreciated.
> Mailman-Users mailing list Mailman-Users at python.org
> Mailman FAQ: http://wiki.list.org/x/AgA3
> Security Policy: http://wiki.list.org/x/QIA9
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/cnulk%40scu.edu
More information about the Mailman-Users