Re: [Mailman-Users] get members list

2006-04-16 Thread Daniel Carvalho
Mark Sapiro wrote:


Mark Sapiro wrote:

  

  

Daniel Carvalho wrote:




the scripts didn't work - they always return empty lists... Maybe it's a
problem with the python instalation iin my computer.
  

  

I have updated the scripts at
http://veenet.value.net/~msapiro/mailman-subscribers.py and
http://fog.ccsf.edu/~msapiro/mailman-subscribers.py. They now issue
meaningful errors for invalid hostname, listname or password (in most
cases - during testing, I intentionally garbled a domain name and got
the non-existent list message instead of the error accessing URL
message. Turns out that the garbled domain was a valid domain that has
a Mailman installation.

  


i was not given the list name in the correct format ( with _ and the
domain). Now it is working!

thanks

daniel

P.S: do you have more scrips??  :) 



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-16 Thread Mark Sapiro
Daniel Carvalho wrote:

P.S: do you have more scrips??  :) 


Jim Tittsler has a couple at
http://starship.python.net/crew/jwt/mailman/. Did you have something
specific in mind?

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-10 Thread Mark Sapiro
Mark Sapiro wrote:

Daniel Carvalho wrote:

the scripts didn't work - they always return empty lists... Maybe it's a
problem with the python instalation iin my computer.


What version of Python do you have? Do the scripts issue any error?
Note that if you mistype either the list name or the list password,
you will get no output and no error message.


I have updated the scripts at
http://veenet.value.net/~msapiro/mailman-subscribers.py and
http://fog.ccsf.edu/~msapiro/mailman-subscribers.py. They now issue
meaningful errors for invalid hostname, listname or password (in most
cases - during testing, I intentionally garbled a domain name and got
the non-existent list message instead of the error accessing URL
message. Turns out that the garbled domain was a valid domain that has
a Mailman installation.)

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-09 Thread Daniel Carvalho
Dan Phillips wrote:

 On Apr 8, 2006, at 5:34 PM, Daniel Carvalho wrote:

 I would like to know that because i need to write a program to  retrieve
 the members list, and i think the best way is to access the site with
 http and parse the result. It would be far more simple if it were
 everything in a single page... By the way, is there a program 
 available,
 that does what i need?


 See http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.062.htp

 A search through the FAQ and this list's archives will also turn up 
 in instrucitons on increasing the size of the chunks in the web 
 interface.

 Dan


(I hadn't saw that faq! Only a small faq, which is also mentioned in the
Mailman website.)

the scripts didn't work - they always return empty lists... Maybe it's a
problem with the python instalation iin my computer.

I will find the way to increase the chunks and do the parsing myself.

It would be wonderful if there were a webservice interface, as John
suggested. It would be easy to integrate mailman with other applications.

thanks

daniel


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-09 Thread Mark Sapiro
Ed wrote:

Reason I KNOW is that I have asked exactly them same question to which Mark
S. hinted would be in 2.1.8..


Did I? I hope not, because it won't be. Possibly 2.2, but no promises.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-09 Thread Mark Sapiro
Daniel Carvalho wrote:

the scripts didn't work - they always return empty lists... Maybe it's a
problem with the python instalation iin my computer.


What version of Python do you have? Do the scripts issue any error?
Note that if you mistype either the list name or the list password,
you will get no output and no error message.

If your Python version is pre 2.4, you need to install ClientCookie as
mentioned in the 'help'.


I will find the way to increase the chunks and do the parsing myself.


To increase the chunksize, you need to change the list's
admin_member_chunksize attribute, but since this isn't a web interface
setting, if you could do it (with withlist or config_list), you could
also run bin/list_members and you wouldn't have the need.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-09 Thread Ed
Did I? 

Yep.  And actually said something like s/b easy.

I hope not, because it won't be. Possibly 2.2, but no promises.

Rats!!

Now I currently have seven Lists goings and it IS a REAL PITA to have to sift 
thru A the B then C then D, the.etc.!!

I really can't understand why it would be so difficult to offer the option 
for Administrator options within the Web Interface.  'Course that would also 
be the reason I can't offer something -;) !!

And as of ONE minute ago I can actually offer a reason why a scroll page 
would be WAY handy for a Non-Shell administrator like me. 

A nitwit (aren't they allG) List member writes me direct and says Please 
un-subscribe me..!

In this gents case I KNOW of SIX, repeat SIX e-mails accounts he uses.  Do I 
know the very FIRST letter of the account he uses for his subscription??  No.  
So I have to go thru entire ALPHABET  [page per letter at a time] to find it 
instead of just being able to scroll down a 60 member page.
 
Which would you rather do???

Don't bother to answer because of your WONDERFUL replies to this List, mine is 
NOT worthy!!!  Actually, serious, Mark.

Thanks for ALL your wonderful and difficult work!!!

Ed
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-09 Thread Mark Sapiro
Ed wrote:

Did I? 

Yep.  And actually said something like s/b easy.

Well, it is easy in principle, at least once it's decided what it
should look like, but i18n considerations make any new option more
difficult (for the translators). Anyway, it's not all that bleak
because 2.1.8rc1 is available now and the final is imminent, and after
that, we'll be concentrating on features for 2.2.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-09 Thread Ed
Mark, being a FIRM beleiver in K.I.S.S.,

Well, it is easy in principle, at least once it's decided what it
should look like,

what would be wrong with just the same layouts and:

Option #1 = Continous List  (I think that it goes by alphabet???) = ONE page
Option #2 = Alphabitized List = how ever many lettered folk are members (A, 
D, M, W, Z = 5?)

??

I ADMIT not to knowing!!!  -:)

Ed
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-09 Thread Mark Sapiro
Ed wrote:

what would be wrong with just the same layouts and:

Option #1 = Continous List  (I think that it goes by alphabet???) = ONE page
Option #2 = Alphabitized List = how ever many lettered folk are members (A, 
D, M, W, Z = 5?)

Nothing. That's one idea and a perfectly valid one, but also see for
example
http://sourceforge.net/tracker/index.php?func=detailaid=782436group_id=103atid=350103,
and
http://sourceforge.net/tracker/index.php?func=detailaid=1201160group_id=103atid=350103
for other ideas.

Yet another possibility is to just allow setting admin_member_chunksize
via the web interface, maybe with a setting of '0' meaning all members
on one page.

See John's post in this thread at
http://mail.python.org/pipermail/mailman-users/2006-April/050375.html
for at some other ideas and some history.

-- 
Mark Sapiro [EMAIL PROTECTED]   The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-08 Thread Todd Zullinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Daniel Carvalho wrote:
 Is there a way to get all the members of a mailing list in a single
 page? Sometimes this is more convenient.

FAQ 3.62: How do I extract a list of my list's members (subscribers)?

http://www.python.org/cgi-bin/faqw-mm.py?query=membership+listquerytype=simplecasefold=yesreq=search

- -- 
ToddOpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
==
Learn from the mistakes of others--you can never live long enough to
make them all yourself.
-- John Luther

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkQ4Qb0mGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1oWtwCg2yGR2gR5kJoGzhZbqrCqivz+qaMAoKKIcz88
uD0zG6pDLr6VK2g8nsSe
=x4AI
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-08 Thread Ed
Todd:

Daniel Carvalho wrote:
 Is there a way to get all the members of a mailing list in a single
 page? Sometimes this is more convenient.

FAQ 3.62: How do I extract a list of my list's members (subscribers)?

Although that reply answers ONE of Daniel's question (which you do not
cite), it does not answer the question above.

Reason I KNOW is that I have asked exactly them same question to which Mark
S. hinted would be in 2.1.8..

I also have only Interface Access  and have some List with over a couple
dozen which changes display to alphabetic Display ONLY and it IS a
PITA -;) !

Ed

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-08 Thread Todd Zullinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ed wrote:
 Todd:
 
 Daniel Carvalho wrote:
 Is there a way to get all the members of a mailing list in a single
 page? Sometimes this is more convenient.
 
 FAQ 3.62: How do I extract a list of my list's members
 (subscribers)?
 
 Although that reply answers ONE of Daniel's question (which you do
 not cite), it does not answer the question above.

Are you discounting the roster option in the FAQ?  Or does the
limitation in that page of not showing hidden members make it useless
for you?

 I also have only Interface Access  and have some List with over a
 couple dozen which changes display to alphabetic Display ONLY and
 it IS a PITA -;) !

I don't disagree there.  But I don't use mailman on systems where I
don't have shell access very often, so it doesn't tend to get a chance
to annoy me more than occasionally. :)

- -- 
ToddOpenPGP - KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
==
Most of one's life is one prolonged effort to prevent oneself
thinking.
-- Aldous Huxley

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iG0EARECAC0FAkQ4WtgmGGh0dHA6Ly93d3cucG9ib3guY29tL350bXovcGdwL3Rt
ei5hc2MACgkQuv+09NZUB1ouXwCeJzXOxuXPBjrcy7vL78p5cgRUp7oAn04ZtTRl
Lr3d+QpQftjQOXzgQTxr
=8iEn
-END PGP SIGNATURE-
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-08 Thread Ed
so it doesn't tend to get a chance to annoy me more than occasionally.
:)

YOU are lucky -:) !!

Ed

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] get members list

2006-04-08 Thread John W. Baxter
On 4/8/06 7:35 PM, Ed [EMAIL PROTECTED] wrote:

 so it doesn't tend to get a chance to annoy me more than occasionally.
 :)
 
 YOU are lucky -:) !!
 

The continuing outcry against the old way was the reason the alphabetic way
was tried.

The old way produced pages of 30--I think--addresses (count was modifiable),
with an index of available address ranges presented on each such page.

For small lists, the two ways are equivalent (except for the odd-looking
one-entry index if the old way showed that--I forget).  For huge lists, the
larger alphabetic pages get broken into parts anyhow, but at least there are
fewer parts to consider.

For in-between sizes, the amount of complaining seems to vary with the
connection speed of the person(s) using the member list.

Various ways to improve matters have been discussed.  I tend to favor
gathering initial characters (not always letters) together to make up one
(configurable-max size) page.  Even fairly large lists might have just one
page devoted to addresses starting with digits, that way.

The modern way would probably be to publish a web service which sends out
the list in XML, and a couple of working sample programs which display
according to different tastes, with the XML described clearly enough that
more display programs would be written (and contributed, one hopes).

  --John


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp