[Mailman-Users] patch to add date to each meassge in mail archiveIndex

Matt Ryanczak ryanczak at arin.net
Mon Sep 12 21:50:57 CEST 2005


Andrew,
	Are you running mailman version 2.1.6? I you like, please send me a
copy of your HyperArch.py and I'll take a look at it. I did test this
patch out before sending it to the list so I know it works (well, at
least for me.

-Matt

On Mon, 2005-09-12 at 15:14 -0400, Andrew Smith wrote:
> I was looking for a solution to put the date available in the archives.
> I have completed the patch as described and get an error when I rebuild
> my archives
> - - - 
> File "/opt/mailman/Mailman/Archiver/HyperArch.py", line 1005, in
> write_index_entry
>     datestr = self.get_header("datestr", article)
>   File "/opt/mailman/Mailman/Archiver/HyperArch.py", line 1027, in
> get_header
>     return getattr(article, field)
> AttributeError: Article instance has no attribute 'datestr'
> - - -
> 
> Anyone able to help me with this?
> 
> ---
> Andrew Smith
> Web Developer
> Tyndale University College & Seminary
> 416-226-6620 (2714)
> --
> asmith at tyndale.ca
> http://www.tyndale.ca
> http://www.tyndale.ca/it
> http://www.tyndale.ca/~asmith
> --
> 25 Ballyconnor Court
> Toronto, Ontario.
> M2M 4B3
> --
> Tyndale's Mission is "to educate and equip Christians to serve the
> world with passion for Jesus Christ."
> ---
> 
> >>> Mark Sapiro <msapiro at value.net> 9/12/2005 2:06:52 PM >>>
> Matt Ryanczak wrote:
> 
> >I was asked to make the date for each message in a mailman archive be
> >visible in the index for that month. This required that I modify
> >HyperArch.py and the template file archidxentry.html. I thought
> others
> >might find this useful so here are the relevant patches for the
> >mailman-2.1.6 source tree. 
> >
> >I apologize if this is a duplication of someone else efforts, I
> searched
> >around and could not find a way to do this in mailman as it was or a
> >patch to do the same.
> 
> Thanks for developing this patch. It would help for tracking and
> possible adoption into the base if you would submit it to the Mailman
> patch tracker at
> http://sourceforge.net/tracker/?group_id=103&atid=300103 
> 
> You might also add a note to the RFE at
> http://sourceforge.net/tracker/index.php?func=detail&aid=843141&group_id=103&atid=350103
> 
> 
> --
> Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
> 
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org 
> http://mail.python.org/mailman/listinfo/mailman-users 
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py 
> Searchable Archives:
> http://www.mail-archive.com/mailman-users%40python.org/ 
> Unsubscribe:
> http://mail.python.org/mailman/options/mailman-users/asmith%40tyndale.ca
> 
> 
> Security Policy:
> http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
> ------------------------------------------------------
> Mailman-Users mailing list
> Mailman-Users at python.org
> http://mail.python.org/mailman/listinfo/mailman-users
> Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
> Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
> Unsubscribe: http://mail.python.org/mailman/options/mailman-users/ryanczak%40arin.net
> 
> Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
> 




More information about the Mailman-Users mailing list