[Mailman-Users] sitemap.xml for Mailman

Tomasz Chmielewski mangoo at wpkg.org
Thu Nov 22 20:37:29 CET 2012


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



More information about the Mailman-Users mailing list