-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul H Byerly wrote:
> I want to add to the "list of lists page" a direct link to the
> archives for each list. So I hacked listinfo.py and added
>
> Link(mlist.GetScriptURL('private'), Bold(mlist.real_name)),
>
> This looks good, and when the link is clicked everthing seems right,
> but the URL is .../mailman/private/listname not
> .../mailman/private/listname/ and the links to the archives by thread,
> subject etc do not work as they lack the listname in the URL. I can not
> find a way to add the trailing slash to the code that generates the URL.
What about this:
Link(mlist.GetBaseArchiveURL(), Bold('Archives'))
If you wanted to add a / onto the link (which was not needed with
GetBaseArchiveURL() in the quick test I did), you could do this:
Link(mlist.GetBaseArchiveURL() + '/', Bold('Archives'))
- --
Todd OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
============================================================================
When the people fear their government, there is tyranny; when the
government fears the people, there is liberty.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.
iD8DBQE/aow6uv+09NZUB1oRAm1zAJ4ktr7XIm2gxDJBN7KlwsQW2JquywCg+SEO
PnugTbmruRQ3N09abHDFFKE=
=Ixvt
-----END PGP SIGNATURE-----
------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
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/
This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org