Fred H Olson wrote:
>
>I wish the contents of masthead.txt (or similar) were the default in the
>digest header so it could be edited. Footers have default text, why not
>the digest_header ? Then if masthead.txt were eliminated, the default
>would result in digests looking the same.
>
>Is it possible to do this on a given installation now? Is there a way to
>change the default contents (at a given installation) of a string option
>like digest_header ? If so, this change plus deleting the contents of
>masthead.txt would result in what I'd like to see.
Yes. The default digest header is set by the Defaults.py/mm_cfg.py
variable DEFAULT_DIGEST_HEADER. You could almost just put
DEFAULT_DIGEST_HEADER = """
Send %(real_name)s mailing list submissions to
%(got_list_email)s
To subscribe or unsubscribe via the World Wide Web, visit
%(got_listinfo_url)s
or, via email, send a message with subject or body 'help' to
%(got_request_email)s
You can reach the person managing the list at
%(got_owner_email)s
When replying, please edit your Subject line so it is more specific than
"Re: Contents of %(real_name)s digest..."
"""
in mm_cfg.py except that %(got_list_email)s, %(got_listinfo_url)s,
%(got_request_email)s and %(got_owner_email)s aren't valid
replacements in digest_header, but you could get around this with
things like
%(real_name)[EMAIL PROTECTED](host_name)s
%(web_page_url)listinfo/%(list_name)s
%(real_name)[EMAIL PROTECTED](host_name)s
%(real_name)[EMAIL PROTECTED](host_name)s
instead.
Then just make templates/site/en/masthead.txt an empty file and you're
set as long as all you're concerned about is English language lists.
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
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/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
Security Policy:
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp