~msapiro/mailman/topics

« back to all changes in this revision

Viewing changes to contrib/README.sitemap

  • Committer: Mark Sapiro
  • Date: 2014-12-03 23:47:23 UTC
  • mfrom: (1006.1.356 2.2)
  • Revision ID: mark@msapiro.net-20141203234723-3pcwx85xua4n84yx
Merged the 2.2 branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
A bash script from Tomasz Chmielewski <mangoo@wpkg.org>.
 
2
 
 
3
If you ever wondered how to generate a sitemap file for Mailman (the GNU
 
4
Mailing List Manager), to be submitted i.e. to Google, here is how.
 
5
 
 
6
All you have to do is replace a few variables, and submit the sitemap to
 
7
your favourite search engine.  Consider using the new in 2.1.16 -p or
 
8
--public-archive option to Mailman's bin/list_lists to generate the list of
 
9
lists to process.  I.e.,
 
10
 
 
11
LISTS=`/path/to/mailman/bin/list_lists -p -b`
 
12
 
 
13
It is based on a real website running Mailman: http://lists.wpkg.org
 
14
 
 
15
With sitemap code, it takes around 5 seconds to generate a sitemap consisting
 
16
of 10000 articles.
 
17
 
 
18
Run it once a day via cron.