Sean Dague wrote:
On 08/28/2010 09:38 PM, Ron Guerin wrote:
I've got a piece of ruby code that uses the icalendar module to parse
our ical feed looking for meetings (the next 3) and then uses
WWW::Mechanize to log into mailman as admin and change that field. It
runs nightly on cron.

It's ~ 50 lines of code, I could post it somewhere with the password
stripped if you wanted to see it.

Very cool, I'd love to see that. Thanks!

As I was thinking about it, I realized I'd blogged about it, including the full script. It's here http://dague.net/2010/01/30/automating-mailman-with-ruby-mechanize/

I also think that post has more actual comments in it than the code that is running. :)

That's good stuff.  Everyone should be doing this.

- Ron
_______________________________________________
Mid-Hudson Valley Linux Users Group                  http://mhvlug.org
http://mhvlug.org/cgi-bin/mailman/listinfo/mhvlug

Upcoming Meetings (6pm - 8pm)                         MHVLS Auditorium
 Sep 1 - BOINC
 Oct 6 - Creating Firefox Extensions
 Nov 3 - Bug Labs

Reply via email to