Dave,
You mean instead of using the python driven web form that comes with
mailman?
You can create a front-end to the existing subscription processes using
an html form that collects the necessary parameters and submits them to
mailman via the form's ACTION=your mailman url/LISTNAME.
Here are the required params:
email, fullname, pw, pw-conf (confirmed...same as pw), digest,
email-button
Here's a super-simple example:
html
head
titleSubscribe to List/title
/head
body
form action=http://yourmailman.server.com/mailman/subscribe/listname
method=post
Email: input name=email type=textbr
Full Name: input name=fullname type=textbr
Password: input name=pw type=passwordbr
Confirm: input name=pw-conf type=passwordbr
Digest: select name=digest
option value=1Yes/option
option value=0No/option
/select
input type=submit name=email-button value=Submit
/form
/body
/html
Keep in mind - you'll probably want to implement or write a cgi script
to verify some of the input fields and scrub the data... and verify that
the pw matches pw-conf... but it's a start.
I wrote a script that allows folks to subscribe remotely from command
line on a unix/linux server as long as they have cURL installed... will
forward that along if anybody's interested.
Here's the important line from the script. The $VARS are collected from
the stdin or prompted.
curl -s
$MAILMANURL/${LIST}?email=${UEMAIL}fullname=$FIRSTNAME%20$LASTNAMEpw=$
PWpw-conf=$PWdigest=0email-button=Submit
YMMV.
Rgds,
Mike
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Dave Briggs
Sent: Thursday, August 14, 2008 12:02 PM
To: Mailman-Users@python.org
Subject: [Mailman-Users] set up HTML form to feed into Mailman
Hi all
How hard would it be to create an HTML form for a website which could
be used to subscribe people to a list, rather than using the one on
the mailman site for the list?
Thanks
Dave Briggs
[EMAIL PROTECTED] | www.davepress.net | 07525 209589
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives:
http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/michael_lynn%40ml.c
om
Security Policy: http://wiki.list.org/x/QIA9
This message w/attachments (message) may be privileged, confidential or
proprietary, and if you are not an intended recipient, please notify the
sender, do not use or share it and delete it. Unless specifically indicated,
this message is not an offer to sell or a solicitation of any investment
products or other financial product or service, an official confirmation of any
transaction, or an official statement of Merrill Lynch. Subject to applicable
law, Merrill Lynch may monitor, review and retain e-communications (EC)
traveling through its networks/systems. The laws of the country of each
sender/recipient may impact the handling of EC, and EC may be archived,
supervised and produced in countries other than the country in which you are
located. This message cannot be guaranteed to be secure or error-free. This
message is subject to terms available at the following link:
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you
consent to the foregoing.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy: http://wiki.list.org/x/QIA9