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. :)
-Sean
--
__________________________________________________________________
Sean Dague Learn about the Universe with the
sean at dague dot net Mid-Hudson Astronomical Association
http://dague.net http://midhudsonastro.org
There is no silver bullet. Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________
_______________________________________________
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