On 11/22/2012 08:36 PM, 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/



There is an issue with the above script. Namely, the XML generated only
contains data for the last list in $LISTS. This will fix that

+    URLS="$URLS
+$(find $MAILMANPATH/$LIST/ -type f -name \*html | xargs ls
--time-style=long-iso -l | awk '{print $6"T"$7":00+00:00 "$8}' | grep
-v attachments)"

Indeed - thanks for pointing out!


--
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