[Mailman-Users] Mailman RSS patch, revised

Stephen J. Turnbull stephen at xemacs.org
Sun Mar 15 07:40:39 CET 2015


Hey, if anybody is interested in *using* this patch, speak up
*now*, because tomoorwr GSoC intern applications open.  I can add this
to the task list (specifially, port to MM3 and  maintain for MM2
"preetty please").  But I'd like to know how high to prioritize when
evaluating proposals.

Steve


Ron Guerin writes:
 > I don't know if anyone else here is using the Vote-MM RSS patch, but
 > I've been using it to generate RSS feeds for selected lists for the last
 > couple of years.
 > 
 > Today, I found a bug in it, and a friend who knows Python was kind
 > enough to fix it for me.  Upstream is defunct and there's no way for me
 > to post this at the project site on SourceForge either, so for the
 > benefit of anyone else who might be using it, I'm going to post the fix
 > here.
 > 
 > In the patch, this line:
 > if (self.maillist.real_name not in mm_cfg.RSS_LISTS):
 > 
 > Should be changed to this line:
 > if (self.maillist.real_name.lower() not in [list.lower() for list in
 > mm_cfg.RSS_LISTS]):
 > 
 > This ensures you get a case-insensitive match on list names.  Without
 > this if the "real_name" gets any changes in case, it won't match the
 > corresponding entry in mm_cfg.py
 > 
 > Here's a copy of the patch, with the fix, against MM 2.1.18:
 > http://vnetworx.net/mm_rss.patch
 > 
 > To use it, you patch HyperArch.py with it, and add the following to
 > mm_cfg.py:
 > 
 > # RSS Feeds
 > RSS_LISTS = ['list1', 'list2', 'list3']
 > 
 > # Mails included in the RSS
 > RSS_NUM_MAILS = 100
 > 
 > - Ron
 > ------------------------------------------------------
 > Mailman-Users mailing list Mailman-Users at python.org
 > https://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: https://mail.python.org/mailman/options/mailman-users/stephen%40xemacs.org


More information about the Mailman-Users mailing list