Re: Incorrect mailto: links for list replies.

2011-04-04 Thread Jeff Breidenbach
> I agree, and David pointed it out originally.  Are you implicitly saying
> it shouldn't and won't?

I'm uncomfortable with the idea of mucking with the subject line, for
several reasons (parsing chanllenges, unclear etiquette,
internationalization, ...)  I would feel a more comfortable if the practice
was well codified in an RFC. Is it?

Using the In-Reply-To in mailto seems cleaner for the stated problem, so
feel free to lobby your favorite mail user agent vendors for support.

-Jeff


--
To unsubscribe, send mail to [email protected].


Re: Incorrect mailto: links for list replies.

2011-04-04 Thread Ralph Corderoy

Hi Jeff,

> > When you add prefixing the subject with "Re: "  [...]
> 
> The Mail Archive doesn't add any prefixing.

I agree, and David pointed it out originally.  Are you implicitly saying
it shouldn't and won't?

Cheers,
Ralph.



-- 
To unsubscribe, send mail to [email protected].


Re: Incorrect mailto: links for list replies.

2011-04-03 Thread Jeff Breidenbach
> When you add prefixing the subject with "Re: "  [...]

The Mail Archive doesn't add any prefixing.

So I've tried a few more systems (mostly Apple) and none of them are
working. That means either I screwed up, or mail user agents don't
support this feature, or both. Can a few volunteers use the reply
button at the bottom of the web page? Please mention your
browser/operating-system/mail-user-agent.

http://www.mail-archive.com/[email protected]/msg01392.html

Thanks,
Jeff


-- 
To unsubscribe, send mail to [email protected].


Re: Incorrect mailto: links for list replies.

2011-04-03 Thread Ralph Corderoy

Hi Jeff,

> Based on David's request, I've put together preliminary support for
> In-Reply-To to help with threading.

When you add prefixing the subject with "Re: " can you strip off any
existing chain of Re and FW first, e.g. s/^(?:(?:re|fw):\s*)*/Re: /i

Cheers,
Ralph.



-- 
To unsubscribe, send mail to [email protected].


Incorrect mailto: links for list replies.

2011-04-02 Thread Jeff Breidenbach
Hi all,

I'm moving this discussion to gossip because it is of general
interest. There are about 1000 uses of The Mail Archive's reply
feature every day. Based on David's request, I've put together
preliminary support for In-Reply-To to help with threading. You can
see it in action with curl and I'm also appending the relevant PHP
fragment. I don't think I have it quite right yet, especially with
respect to escaping, so suggestions are appreciated. It is a little
hard for me to test because my particular email setup
(Chrome/Ubuntu/GMail) does not seem to respect this feature at all.

To answer the other question, the reply feature intentionally goes to
the sender instead of the list. This seems like a reasonable balance.
Specifically, it avoids having messages silently dropped, which is a
very common list setting for non-subscribers. Plus a number of list
administrators feel more comfortable with private replies, and making
the hoi polloi do a little more work in order to contact the entire
list. Some admins have been very vocal about this preference.

$ curl -s -D - -d 'subject=Re: "challenging" subjectline' -d
'[email protected]' -e
http://www.mail-archive.com/[email protected]/msg01001.html
http://www.mail-archive.com/mailto.php  | grep Location

Location: 
mailto:[email protected]?Subject=Re%3A%20%5C%22challenging%5C%22%20subjectline&In-Reply-To=%3Cabc123%40mail.gmail.com%3E

$subject = $_POST['subject'];
$msgid = $_POST['msgid'];
$header = "Location: mailto:$name@$domain?"; .
"Subject=" . rawurlencode($subject) . "&" .
"In-Reply-To=%3C" . rawurlencode($msgid) . "%3E";

===
From: David Woodhouse http://lists.infradead.org/pipermail/get_iplayer/2011-March/001193.html
you'll see the mailto: link at the top includes '&In-Reply-To=...' so
that threading information is correctly preserved. The link is:
mailto:get_iplayer%40lists.infradead.org?Subject=Re:%20Re%3A%20Broken%20list%20threads&In-Reply-To=%3CAANLkTi%3DdDPQ3LnN0_G86AXO4gFrX3%3DvqbsDK_40FocHq%40mail.gmail.com%3E";

But your copy of the same message at
http://www.mail-archive.com/[email protected]/msg01077.html
ends up with an HTTP redirect to a mailto: URL *without* the correct
threading information:
mailto:[email protected]?subject=Broken%20list%20threads

Please could you fix your mailto: links to include correct threading
information? Thanks.

I actually have a filter on my mailing lists so that messages with 'Re:'
in the subject but no In-Reply-To: or References: headers are trapped
for moderation, but these replies bypass that by omitting 'Re:' from the
subject line too!

Also, you don't seem to give a way to reply to the *list*; only the
original sender. I think users who reply using your archive are manually
editing the To: header to reply back to the list instead of to the
sender? Is that intentional?

--
dwmw2


-- 
To unsubscribe, send mail to [email protected].