Re: Fetching short text snippet for mails

Cyrus Daboo <[email protected]>
Newsgroups gmane.ietf.imapext
Message-ID <[email protected]>
Hi Alexey,

--On December 2, 2014 at 4:55:54 PM +0000 Alexey Melnikov 
<[email protected]> wrote:

>> Efficient as in eliminating the current extra round trip of doing a
>> FETCH BODY.PEEK[<section>]<<partial>>? If so, then I think "SNIPPET"
>> should be an alias for BODY.PEEK[the first significant text
>> section]<<partial>>. i.e., the server does not do anything more than
>> determine the "the first significant text section". The client still
>> gets to use <<partial>> as it could today.
> I thought so too. That is why I've asked the question what exactly is
> "snippet". Unless "snippet" needs to convert from text/html to text/plain
> (or vice versa), etc.

Of course there is a lot that a client might do itself to "extract" the 
snippet: convert HTML to plain text (i.e., get rid of all the <..> tags, 
scripts etc, add suitable line breaks for <h> tags), strip quoted text from 
a reply or "quote headers" from a forward.

The thing is each client probably has its own heuristics as to how to 
"extract" a snippet and I am not sure we could agree on a single 
server-side approach that would do.

-- 
Cyrus Daboo

_______________________________________________
imapext mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/imapext
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.