Great Circle Associates Majordomo-Users
(July 2000)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: Show all list members on a html page
From: Patrick Wiseman <lawppw @ gsulaw . gsu . edu>
Date: Sun, 2 Jul 2000 10:02:13 -0400 (EDT)
To: Ralf Semroch <semroch @ designofsites . de>
Cc: majordomo-users @ GreatCircle . COM
In-reply-to: <mo4sls4f139lais5gp6ibktr3d0q0rgogs@4ax.com>

On Sat, 1 Jul 2000, Ralf Semroch wrote:

:is there a possibilty (maybe a perl- or php3-script) to show all
:subscr1bers mailadresses on a html-page?

If your list just consists of email addresses, the following will
trivially do it (assuming a UN*X server):

#!/usr/bin/perl -Tw
#
# convert list of email addresses to html
#
# usage: list2html <listfile >htmlfile

print <<EOH;
<html><head><title>Subscriber List</title></head>
EOH
while (<>) {
        s|(.+\@.+)|<a href="mailto:$1";>$1</a>|;
        print;
}
print <<EOH;
</body></html>
EOH


This script just creates an html page from your list.  If you have names
in the file, it's a tad bit more complicated, as it would be if you wanted
to display the page on the fly.

BUT, whatever you do, make sure that the page is password protected and
that access is limited to list members; otherwise (as Dan Liston has said
in response to your question) you're violating the privacy rights of your
list members.

Patrick




References:
Indexed By Date Previous: Re: Show all list members on a html page
From: Dan Liston <dliston@netscape.com>
Next: Re: Show all list members on a html page
From: Jonathan Wallace <jon@whoweb.com>
Indexed By Thread Previous: Re: Show all list members on a html page
From: Dan Liston <dliston@netscape.com>
Next: Re: Show all list members on a html page
From: Miles Fidelman <mfidelman@civicnet.org>

Google
 
Search Internet Search www.greatcircle.com