Re: Fetching short text snippet for mails
Bron Gondwana <[email protected]>
| Newsgroups | gmane.ietf.imapext |
|---|---|
| Message-ID | <1417563342.2658798.198063145.6BFFCD06@webmail.messagingengine.com> |
On Wed, Dec 3, 2014, at 05:08 AM, Jan Kundrát wrote: > What I would like much more is something "smarter", even if with an > implementation-defined exact behavior. Finding a textual part is not > particularly compelling. It should strip away quotations (and do it > smartly, ignoring the leading "Hi John," or "On ABC, XYZ wrote" > prefixes), kill the signature, notice that it's a meeting invitation > from Exchange and display the subject/note along with time and > location, etc. > > Of course this cannot possibly be specified by an RFC. What I'm > arguing against is specifying this extension to only extract a chunk > of bytes from a first textual part. It's like FUZZY search. Rather than specifying an exact algorithm which can be identical in every server, we're much better off saying "present a preview that gives a brief overview of what's in the message" and let the server calculate it as it sees fit. > An extension which I would like to use would use loose wording such as > "return a textual preview of the e-mail, using implementation defined > heuristics for determining the content of the response". The RFC can > then go ahead and suggest what the typical steps to be performed are. > > It would be nice to also have a command which returns back the > supported features of this convertor/extractor. One could go as far > as to maintain a IANA list of the capabilities, but that is > probably an overkill :). I can certainly see a couple of use cases > for that, though. Yeah, definitely overkill. The one thing that we have at FastMail above this basic preview which is pretty nice is a search-snippet version which takes a search phrase and returns a couple of parts of text around the matches from that search. http://i.imgur.com/jf2k6gI.png This is different from the normal previews: http://i.imgur.com/EuhmfgR.png Bron. -- Bron Gondwana [email protected] _______________________________________________ imapext mailing list [email protected] https://www.ietf.org/mailman/listinfo/imapext