Skip to Content.
Sympa Menu

en - [sympa-users] Not including live URLs in web archives

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Not including live URLs in web archives

Hi all,

I'm in the process of replacing our venerable sympa installation with
something a little more modern, and have found a problem with URLs in the web
archives.

I'm trying to use Sympa 6.2.18 built from source on OEL6, with MHonArc 2.6.19
from the mhonarc.org RPM

URLs from emails aren't "clickable" in the web archives.

From the source of the HTML part of a test message:

<body lang=3D"EN-AU" link=3D"#0563C1" vlink=3D"#954F72">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><a href=3D"http://google.com";>http://google.com</a><=
o:p></o:p></p>
<p class=3D"MsoNormal"><a href=3D"http://yahoo.com/";>http://yahoo.com</a><o=
:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><a href=3D"http://www.google.com";>www.google.com</a>=
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>

(yeah, I know ... Outlook is horrible)


From the source of the HTML generated for the archives:

<div>
<p><a rel="nofollow">http://google.com</a></p>
<p><a rel="nofollow">http://yahoo.com</a></p>
<p>&nbsp;</p>
<p><a rel="nofollow">www.google.com</a></p>
<p>&nbsp;</p>
</div>


A little poking shows that the "nofollow" is inserted by the following MHonArc
code, in mhtxthtml.pl:

## Prevent comment spam
## <http://www.google.com/googleblog/2005/01/preventing-comment-spam.html>
$$data =~ s/(<a\b)/$1 rel="nofollow"/gi;

...so, it looks like other parts of MHonArc might be stripping things, but I'm
not sure where to begin.

Am I missing something obvious in the sympa configuration or mhonarc-
resources.tt2?

Kind regards,

Mark.



Archive powered by MHonArc 2.6.19+.

Top of Page