summaryrefslogtreecommitdiff
path: root/sfeed_mbox.c
AgeCommit message (Collapse)Author
2015-08-08sfeed_mbox: use feedname in message-idHiltjo Posthuma
2015-08-07util: strtotime: stricter time parsingHiltjo Posthuma
as input: an empty string or non-digit characters are digits are considered an error now. Still, for the format tools output the formatted time string as time_t 0 on a parse error.
2015-08-07sfeed_mbox: use simple hash for Message-IdHiltjo Posthuma
2015-08-05sfeed_mbox: combine date check conditionHiltjo Posthuma
2015-08-02util: simplify parseline() and check t for strtotime().Hiltjo Posthuma
2015-08-02sfeed_mbox: improvementsHiltjo Posthuma
- don't xmlencode HTML, show as is. - mangle "From " mboxrd-style. Content-Length would be cleaner but would require extra buffering.
2015-08-01sfeed_mbox: xmlencode link for HTML mail, simplify a bitHiltjo Posthuma
2015-07-31sfeed_mbox: dont decodefield anymoreHiltjo Posthuma
2015-07-31Various improvementsHiltjo Posthuma
- Only escape characters in "content" field, these can contain newlines. - Trim newlines and tabs, etc from the title, id and author fields. - Make decodefield, xmlencode functions easier to "chain" without allocatting new buffers. - Move printutf8pad from util (only used by sfeed_plain) to sfeed_plain. - Update README, still need to update the man-page and improve the documentation in general. - Code cleanup.
2015-07-31sfeed_mbox: improvementsHiltjo Posthuma
- Date parsing: if invalid UNIX timestamp skip message. - Message-Id to Message-ID. - Print HTML link in HTML mail content, else plain-text link. - Fix year in Date header (%y to %Y). - Use author name in item post if available. - Add newline to message. - Code-style improvements. - ... still needs more work though...
2015-07-30sfeed_mbox: initial version, needs more workHiltjo Posthuma