Skip to Content.
Sympa Menu

en - Re: [sympa-users] HTML digests

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: address@concealed
  • Subject: Re: [sympa-users] HTML digests
  • Date: Wed, 10 Dec 2014 14:04:53 +0100

We worked on a new version of the digest plain.

You should try this template on a test list.

From: [% fromlist %]
To: [% to %]
Reply-to: [% replyto %]
Subject: [% FILTER qencode %][%|loc(list.name,date)%]%1 Digest %2[%END%] [% IF total_group > 1 -%]([% current_group %]/[% total_group %])[% END %][%END%]
Content-Type: multipart/mixed; boundary="[% boundary1 %]"

--[% boundary1 %]
Content-Type: text/html; charset="UTF-8";
Content-Transfer-Encoding: 8bit

[%|loc(list.name,date)%]%1 Digest %2[%END%]

<br>

[%|loc%]Table of contents:[%END%]

<ul>
[% FOREACH m = msg_list -%]
<li><a name="N0"><a href=""#N[%" m.id %]">[% m.id %] - [% m.subject %]</a> - [% m.from %] </li>
[% END %]
</ul>
<hr color="#0000ff">

[% FOREACH m = msg_list -%]
<p></b><a name="N[% m.id %]">[% m.id %] -</a> Date: [% m.date %] Author: [% m.from %] <br>
Subject: <b><font color="#0000ff"> [% m.subject %] </b></font><br>

[% m.plain_body %]

<br>
<table align="center">
<tr>
<td><a href=""mailto:" [% m.from %]?Subject= [% m.subject %] "> Answer to author</a></td>
<td>&nbsp;<-->&nbsp;</td>
<td><a href=""mailto:" [% replyto %]?Subject= [% m.subject %] "> Answer to list</a></td>
<td>&nbsp;<-->&nbsp;</td>
<td><a href=""#N0">Back" to table of content</a></td>
</tr>
</table>
<hr color="#0000ff"></font>

[% END %]

<br>
[%|loc(list.name,date)%]End of %1 Digest %2[%END%]
<br>
*********************************************
</body></html>

--[% boundary1 %]--

On the topic of yur difficulties, could you send us the logs when Sympa send such a digest? This would probably help.

Regards,

David

Le 09/12/14 00:23, Andrew Hodgson a écrit :

Hi,

 

I currently have several lists on another system receiving around 100 messages per day.  We have recently found it increasingly difficult to get the digests right – people either receive too many of them or they are too large.

 

We have had increasing requests to get the digests sent out in HTML format with a table of contents in HTML that links to the relevant part in the message.  Is this something that is included in the Sympa HTML digest format?  MIME digests don’t seem to work for many people.

 

Thanks.

Andrew.


--
A bug in Sympa? Quick! To the bug tracker!

 
David Verdin
Études et projets applicatifs
 
Tél : +33 2 23 23 69 71
Fax : +33 2 23 23 71 21
 
www.renater.fr
RENATER
263 Avenue du Gal Leclerc
35042 Rennes Cedex



PNG image

Attachment: smime.p7s
Description: Signature cryptographique S/MIME




Archive powered by MHonArc 2.6.19+.

Top of Page