Peter Knowles writes:

 > I'm attempting to re-create the "Membership Management" using PHP. More
 > specifically, I want to be able to view, and modify all column data
 > associated with each subscriber in the same way the default Mailman UI does
 > (ex. Name, Email, MOD, Hide, Nomail, Ack, Not Metoo, NoDupes, Digest,
 > Plain, Language)

It shouldn't be hard to use the bin/list-members script as a skeleton
and add any information from Mailman/MemberAdaptor.py that you in
addition, and translate that to (eg) CSV output for use by your PHP
scripts.

OTOH, you might want to just go directly to Mailman 3, which has a
REST (over HTTP) interface for this information.  AFAIK for your use
case Mailman 3 is completely usable (what we're missing at the moment
is well-integrated totally sweet archiving and admin interfaces, but
you're obviously planning to provide the latter yourself and I bet you
already have 90% of the former for the same reasons).

The place to discuss the MM3 option is mailman-develop...@python.org,
although several of us are here.  The folks who develop the admin and
archive interfaces are mostly not, and they may have interesting hints
about glitches and gotchas in the APIs you'll need to use..

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
https://mail.python.org/mailman/listinfo/mailman-users
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: 
https://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to