aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/README.sitemapgen
diff options
context:
space:
mode:
authorJim Popovitch <jimpop@domainmail.org>2018-06-14 01:59:15 +0000
committerJim Popovitch <jimpop@domainmail.org>2018-06-14 01:59:15 +0000
commit04b2ea680f17d85a87d4fd570b9d40bc5f9932a0 (patch)
tree25466ceba6a092ea37577e18910fa131786e5224 /contrib/README.sitemapgen
parentd4bf95bd97ebaeebb5291c4f7d9f1d90ff7414fd (diff)
downloadmailman2-04b2ea680f17d85a87d4fd570b9d40bc5f9932a0.tar.gz
mailman2-04b2ea680f17d85a87d4fd570b9d40bc5f9932a0.tar.xz
mailman2-04b2ea680f17d85a87d4fd570b9d40bc5f9932a0.zip
Added contrib/sitemapgen a python script to generate sitemap.xml.gz files
Diffstat (limited to 'contrib/README.sitemapgen')
-rw-r--r--contrib/README.sitemapgen11
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/README.sitemapgen b/contrib/README.sitemapgen
new file mode 100644
index 00000000..d4daa401
--- /dev/null
+++ b/contrib/README.sitemapgen
@@ -0,0 +1,11 @@
+Hacked from bin/sync_members
+
+Copy mailman/contrib/sitemapgen to mailman/bin/ and execute it as so:
+
+ /path/to/mailman/bin/sitemapgen -l <listname>
+
+Alternatively add it to cron like so:
+
+5 0 * * * for l in `/path/to/mailman/bin/list_lists -apb`; do
+ /path/to/mailman/bin/sitemapgen $l; done
+