[Mailman-Users] sitemap.xml for Mailman

Ralf Hildebrandt Ralf.Hildebrandt at charite.de
Thu Nov 22 21:16:13 CET 2012


* Tomasz Chmielewski <mangoo at wpkg.org>:
> 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!

Did you update your patch already? If so, I'd apply it to our very own
mailman installation here at python.org :)

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
ralf.hildebrandt at charite.de        Campus Benjamin Franklin
http://www.charite.de              Hindenburgdamm 30, 12203 Berlin
Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155


More information about the Mailman-Users mailing list