]> Sergey Matveev's repositories - feeder.git/blob - doc/mail.texi
Single X-Categories header
[feeder.git] / doc / mail.texi
1 @node Mail
2 @unnumbered Mail
3
4 Each feed item is converted to following MIME-complaint mail message:
5
6 @verbatim
7 From: "Feed's title" <feeder@go.stargrave.org>
8 Date: Item's updated/published date, now otherwise
9 Subject: Item's subject
10 Content-Type: text/html; charset=utf-8
11 [X-URL: link presented in the item] (maybe multiple)
12 [X-Author: author's name] (maybe multiple)
13 [X-Categories: item's comma separated categories]
14
15 Base64-encoded item's content. That is HTML as a rule.
16 @end verbatim
17
18 Each message is placed under @code{HEX(SHA512/2(title+content))} filename.
19 Unfortunately many feeds does not provide any date information at all.
20 Often multiple entries contain the same date. So you can not solely
21 depend on update/publish date.
22
23 @code{mtime} is properly set for each newly created mail message. Also
24 it is set to feed's update/published date for @file{new/} and
25 @file{cur/} subdirectories.