On 11/25/2012 01:25 AM, Mark Sapiro wrote:
Tomasz Chmielewski wrote:

I wrote a simple bash script which generates a sitemap.xml file (i.e. to
be submitted to Google):

http://blog.wpkg.org/2012/11/21/sitemap-xml-for-mailman/

I was inspired by your script to add a -p / --public-archive option to
Mailman's bin/list_lists so that if one wanted to process just those
lists with public archives, one can put

LISTS=`/path/to/mailman/bin/list_lists --bare --public-archive`

in the appropriate place to do that. Of course, one could have done

LISTS=`ls $MAILMANPATH/../public|grep -v "\\.mbox$"`

to accomplish essentially the same thing, but since list_lists already
had a -a / --advertised option, this seemed a good addition.

See <https://launchpad.net/bugs/1082711> and
<http://bazaar.launchpad.net/~mailman-coders/mailman/2.1/revision/1369>
for a bug report and patch.

Also, I think the bash script would make a good addition to the contrib
directory for Mailman 2.1.16. May I add it there?

Sure, it would be great.


--
Tomasz Chmielewski
http://blog.wpkg.org


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

Reply via email to