[Mailman-Users] Adding archive link to mail footer?

2012-03-05 Thread Sascha Rissel
Hello,

is there a nice way of adding a link to the list's archive to msg_footer?
Like it is done with the link to the list info page
 %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Regards,
Sascha.
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Adding archive link to mail footer?

2012-03-05 Thread Mailman Admin
Hello Sascha Rissel


On 2012-03-05 16:26, Sascha Rissel wrote:
 
 is there a nice way of adding a link to the list's archive to msg_footer?
 Like it is done with the link to the list info page
 %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
 

Sure.

For private archives use
%(web_page_url)sprivate/%(_internal_name)s

And for public ones use
%(web_page_url)spublic/%(_internal_name)s


Kind regards,
Christian Mack
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Adding archive link to mail footer?

2012-03-05 Thread Mark Sapiro
Mailman Admin wrote:

For private archives use
%(web_page_url)sprivate/%(_internal_name)s


Yes.


And for public ones use
%(web_page_url)spublic/%(_internal_name)s


No. This won't work in a standard Mailman installation. It might work
if you have set

PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/mailman/public/%(listname)s'

in mm_cfg.py and put the appropriate alias for mailman/public in your
web server, but for defauly public archives you need to use something
like

http://www.example.com/pipermail/%(list_name)s

Note that in msg and digest headers and footers, %(list_name)s and
%(_internal_name)s are equivalent, but %(_internal_name)s is a
deprecated usage (even though it is still in the default footer).

Note also that in the above, www.example.com could be replaced with
%(host_name)s, but only if the list's web and email hosts are the same
as %(host_name)s is the list's email host.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org