summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-07-31add fdm.conf exampleHiltjo Posthuma
... sfeed_maildir, procmailrc and fdm.conf will probably be removed and moved to a documentation file for clarity. The ways to use sfeed to output mail in any format is available (via sfeed_mbox). I'll assume the person who uses this has enough knowledge to convert mbox to the format he/she wants.
2015-07-31sfeed_maildir: check if procmail config exists and is readableHiltjo Posthuma
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_maildir: initial version, needs more workHiltjo Posthuma
2015-07-30sfeed_mbox: initial version, needs more workHiltjo Posthuma
2015-07-30check for time() failureHiltjo Posthuma
2015-07-29improve documentation: some fixesHiltjo Posthuma
2015-07-29sfeed: whoops, remove "debug" statementHiltjo Posthuma
2015-07-29update documentation regarding timezone parsingHiltjo Posthuma
Clarity CAVEAT concerning timezone parsing, some feeds incorrectly use non-RFC-822 timezones in RSS feeds, this will be interpreted as UTC+0. The formatted time will contain this timezone but without an offset.
2015-07-29sfeed: improve time parsingHiltjo Posthuma
- bit stricter time parsing. - change format from "GMT+HHMM" to "UTC+HH:MM".
2015-07-29sfeed_frames: style: sys includes at topHiltjo Posthuma
2015-07-29improve includes (dont include headers in .h), fix build on LinuxHiltjo Posthuma
2015-07-29sfeed: prefer published over updatedHiltjo Posthuma
It was useful to kept track of updated news articles for example, sadly some sites (like youtube) bump the "updated" timestamp everytime a user likes a video or farts. This makes it totally useless and messes up the sort order of "news". Now prefer "published" over "updated" for Atom feeds.
2015-07-28sfeed_frames, sfeed_html: add space before amount of new itemsHiltjo Posthuma
2015-07-28remove gitignore fileHiltjo Posthuma
2015-07-28improve code-style and consistencyHiltjo Posthuma
2015-07-28util, absuri: check truncation of more casesHiltjo Posthuma
2015-07-28update documentation...Hiltjo Posthuma
... and add strlcat to compat.h
2015-07-28update strlcpy, add strlcatHiltjo Posthuma
2015-07-28sfeed_plain: xbasename, free memory after useHiltjo Posthuma
2015-07-28use new uri parserHiltjo Posthuma
2015-07-28util: rewrite uri parserHiltjo Posthuma
- don't print directly but use an internal buffer (also better for testing). - encode uri when printing (security). - add some comments.
2015-06-23xml: fix comment issue, improve cdata and comment while encountering separatorHiltjo Posthuma
2015-06-22xml: fix cdata issueHiltjo Posthuma
2015-06-21sfeed_html, sfeed_frames: escape nameHiltjo Posthuma
2015-06-21improvementsHiltjo Posthuma
2015-06-21improvementsHiltjo Posthuma
2015-06-21util: improve printxmlencoded, cleanupHiltjo Posthuma
2015-06-21util: fix parseline crashHiltjo Posthuma
2015-06-21string_print: dont print control charsHiltjo Posthuma
2015-06-21improve printlink, escape charactersHiltjo Posthuma
2015-06-21add xbasename for filename to feednameHiltjo Posthuma
2015-06-21separate xml specific code into xml.cHiltjo Posthuma
2015-06-21xml.c: fix empty cdata callbackHiltjo Posthuma
2015-06-21change feeds file format, its now more consistentHiltjo Posthuma
update sfeed_update, there is now a feeds file per feed.
2015-06-21Makefile: remove legacy man pages, remove queue.h, remove sfeed_statsHiltjo Posthuma
2015-06-21remove legacy man pages, remove queue.h, remove sfeed_statsHiltjo Posthuma
2015-05-25util.h: add LEN() macroHiltjo Posthuma
2015-05-25sfeed_update: dont sort on feedurlHiltjo Posthuma
feed urls sometimes change and is not important for the order.
2015-05-25improve timezone parsing and conversion (WIP)Hiltjo Posthuma
2015-05-25improve entitytostrHiltjo Posthuma
- should end with ; or end of string. - code-style: reduce level of indentation by returning earlier.
2015-05-25string_buffer_realloc: doesnt returnHiltjo Posthuma
2015-05-24sssh! sfeed_mail is a work-in-progress :)Hiltjo Posthuma
2015-05-24doc: fix warnings (mandoc -Tlint)Hiltjo Posthuma
and regenerate old man-style (make doc-oldman).
2015-05-24sfeed_frames and util cleanupHiltjo Posthuma
- remove xerr and xerrx, assume the OS closes and flushes file descriptors on OS process exit. - move esnprintf, printcontent to util.
2015-05-16xml: only call data handler if setHiltjo Posthuma
2015-05-16xml: call parseHiltjo Posthuma
2015-05-16sfeed_frames: show mkdir error string, shorter function name normalizepath()Hiltjo Posthuma
2015-05-16util: parseline can return error, unsigned int -> intHiltjo Posthuma
2015-05-16xml: attrentity handler will be called if setHiltjo Posthuma
it used to be if attrentity is NULL it would call attrdata.