It would be very useful to have an incoming-content filter that would do a little bit of work formatting incoming comments/posts via email. In particular, it would be good to have a filter that could turn lines of text beginning with a > (the usuall method of quoting in email) with blockqoutes. So that:

I'm going to quote you:

> This is some quoted text where I go on for quite a while
> about something that's being quoted back at me.

Are you sure?

Becomes:

<p>I'm going to quote you:</p>

<blockquote>This is some quoted text where I go on for quite a while about something that's being quoted back at me.</blockquote>

<p>Are you sure?</p>
CommentFileSizeAuthor
#1 mailstuffer.module4.41 KBjoshk

Comments

joshk’s picture

StatusFileSize
new4.41 KB

Here's an old module which webchick did that does some incoming content filtering from email. May be useful.

Amazon’s picture

Status: Active » Closed (fixed)

I am marking this issue closed for now. But if there is an opportunity for further collaboration we would be interested.

adixon’s picture

thanks - i'm interested in this also.

More ambitiously, I'd like to format the mail message like gmail does, where the quoted email is hidden with a javascript thingy to display it. Gmail organizes your email by conversation automatically, so you pretty much always have the original right there, which is why this is so useful to help navigate through a conversation. Similarly when you've got your email bridged somehow to a forum-like display on a web page - most of the time, you don't actually want to see the quoted stuff.

Even more ambitiously - it'd be nice to figure out quoted material other than the stuff with the '>' - some mail readers don't put the >, and some put something else (like a colon).