summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-05sfeed_update, opml_export: slightly safer comparisonHiltjo Posthuma
2015-08-05sfeed_opml_import: change to new config (feeds directory) + simplifyHiltjo Posthuma
2015-08-05sfeed_plain: save a character before statusHiltjo Posthuma
2015-08-05README: improveHiltjo Posthuma
2015-08-05xml.h: sort callbacks and improve commentsHiltjo Posthuma
2015-08-05sfeed: consistency, use XMLParser instead of struct xmlparserHiltjo Posthuma
2015-08-05sfeed: cleanup code a bit, shorten element to el + cleanupHiltjo Posthuma
- end element, restructure control flow - simplify and some code cleanups
2015-08-02sfeed_plain: remove control char check, assume input is sanitized for format ↵Hiltjo Posthuma
programs
2015-08-02sfeed_frames: wrap plain-text, encode as XML/HTML 2.0Hiltjo Posthuma
2015-08-02sfeed: add support for media:description and media:title (used by youtube et al)Hiltjo Posthuma
2015-08-02sfeed: cleanup a bit and improve checking if in contentHiltjo Posthuma
2015-08-02sfeed_frames: limit titles and feednames to 128 chars for filenamesHiltjo Posthuma
This prevents unnecessary path-truncation in some cases, with the side-effect it can overwrite items with the same title more often. We handle path truncation as a fatal error, so this was annoying.
2015-08-02sfeed_frames: normalizepath: dont start with replaced -, just ignoreHiltjo Posthuma
2015-08-02README: remove awk/gawk archive example, add C program (more portable aswell)Hiltjo Posthuma
2015-08-02config.mk: make optimized the defaultHiltjo Posthuma
2015-08-02util: simplify parseline() and check t for strtotime().Hiltjo Posthuma
2015-08-02refactor print, decodefield into xmlencodeHiltjo Posthuma
... put specific formatting-logic per program (printcontent()).
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-01code-style: remove level of indentation + mark TODOHiltjo Posthuma
2015-08-01sfeed_mbox: xmlencode link for HTML mail, simplify a bitHiltjo Posthuma
2015-08-01xml: only allow full uppercase or full lowercase for entitiesHiltjo Posthuma
2015-07-31improve documentationHiltjo Posthuma
2015-07-31xml: fix xml_namedentitytostr loopHiltjo Posthuma
2015-07-31update some commentsHiltjo Posthuma
2015-07-31xml: fix missing include strings.h, for strncasecmpHiltjo Posthuma
2015-07-31sfeed_mbox: dont decodefield anymoreHiltjo Posthuma
2015-07-31update and improve documentation (WIP)Hiltjo 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-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.