Skip to Content.
Sympa Menu

en - [sympa-users] Re: Customizing rss.tt2

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Cefiar <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Re: Customizing rss.tt2
  • Date: Sun, 15 Jul 2007 15:11:11 +1000

On Saturday 14 July 2007 00:06:34 Vegar Nilsen wrote:
> (First, sorry about the double post)
>
> Hi,
>
> one of our clients wants to display message bodies in the RSS feed, but
> I can't find any tag for rss.tt2 that accomplishes this. I tried some
> variants of this:
>
> [% FOREACH a = archives -%]
> <item>
> <title>[% FILTER escape_xml %][% a.subject %] - [% a.from
> %][%END%]</title>
> <link>[% conf.wwsympa_url %]/arcsearch_id/[% list %]/[%
> a.year_month %]/[% a
> .message_id %]</link>
> <description>[% FILTER escape_xml %][% a.message_body
> %][%END%]</description
>
> <pubDate>[% a.date_smtp %]</pubDate>
> </item>
> [% END -%]
>
> Obviously, there is no such tag called message_body, but is there some
> tag I could use here to insert the entire body of the mails into the
> description-field?

I too would like to know about this.

If this gets turned into a feature request, it'd also be nice to be able to
specify just how much of the message body to include (probably best as number
of chars). This allows introductions (enough to hook people as to whether
they want to read the message or not) in the RSS feed itself, without adding
the whole message.

--
Stuart Young - aka Cefiar - address@concealed



Archive powered by MHonArc 2.6.19+.

Top of Page