[Mailman-Users] HTML in list descriptions

Jon Carnes jonc at nc.rr.com
Tue Feb 10 15:02:42 CET 2004


On Tue, 2004-02-10 at 01:11, Ralf Hildebrandt wrote:
> * Jon Carnes <jonc at nc.rr.com>:
> 
> > You can still used html but be wary of embedding one of the mega tags
> > (used by mailman to generate html).  The formating of the listinfo
> > pages has changed, so you will have to adapt to get your old look
> > back... but it is possible.
> 
> So, right now I insert "<LI>" and I get "&lt;LI&gt;" -- how DO I
> insert HTML properly, in a way that it won't be rewritten?

Okay, I just did it to a test list and it worked fine.

Here is the top part of the coding for the listinfo page (which includes
the four lines that I added. The <dl> and <li>'s are near the bottom of
this segment:

<!-- $Revision: 2.4 $ -->
<HTML>
  <HEAD>
    <TITLE><MM-List-Name> Info Page</TITLE>
  
  </HEAD>
  <BODY BGCOLOR="#ffffff">

    <P>
      <TABLE COLS="1" BORDER="0" CELLSPACING="4" CELLPADDING="5">
	<TR>
	  <TD COLSPAN="2" WIDTH="100%" BGCOLOR="#99CCFF" ALIGN="CENTER">
	    <B><FONT COLOR="#000000" SIZE="+1"><MM-List-Name> --
	<MM-List-Description></FONT></B>
	  </TD>
	</TR>
	<tr>
	    <td colspan="2">
	      <p>&nbsp;
	    </td>
	  </tr>
	  <tr>
	    <TD COLSPAN="1" WIDTH="100%" BGCOLOR="#FFF0D0">
	      <B><FONT COLOR="#000000">About <MM-List-Name></FONT></B>
	    </TD>
            <TD COLSPAN="1" WIDTH="100%" BGCOLOR="#FFF0D0">
              <MM-lang-form-start><MM-displang-box> <MM-list-langs>
              <MM-form-end>
    <MM-Subscribe-Form-Start>
            </TD>
	  </TR>
	    <tr>
	      <td colspan="2">
		<P><MM-List-Info></P>
  <dl>Some points to note:
  <li> This is point 1</li>
  <li> This is the second point</li>
  </dl>
	  <p> To see the collection of prior postings to the list,
	      visit the <MM-Archive><MM-List-Name>
		  Archives</MM-Archive>.
	      <MM-Restricted-List-Message>
	  </p>
	</TD>
      </TR>
      <TR>
	<TD COLSPAN="2" WIDTH="100%" BGCOLOR="#FFF0D0">
	  <B><FONT COLOR="#000000">Using <MM-List-Name></FONT></B>
	</TD>
      </TR>

======

There simply are no (mailman) problems to adding in your own HTML to the
Listinfo pages.

Jon Carnes





More information about the Mailman-Users mailing list