summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-07sfeed_update: just use the feed name as the temporary filenameHiltjo Posthuma
the base temporary directory is random. The directory is cleaned afterwards or on SIGTERM etc so remove this unneeded line.
2015-08-07sfeed_mbox: use simple hash for Message-IdHiltjo Posthuma
2015-08-07sfeed: only handle tags in HTML content, strip tags from type "text"Hiltjo Posthuma
2015-08-06xml: remove forced __inline__ attributeHiltjo Posthuma
2015-08-06sfeed: proper sort order for comparing tagHiltjo Posthuma
2015-08-06general cleanupsHiltjo Posthuma
2015-08-06sfeed: fix, skip milliseconds for: %Y-%m-%dT%H:%M:%S.000ZHiltjo Posthuma
2015-08-05sfeed: minor cleanupHiltjo Posthuma
2015-08-05sfeed: gettag: simplifyHiltjo Posthuma
2015-08-05sfeedrc.example: updateHiltjo Posthuma
2015-08-05update TODOHiltjo Posthuma
2015-08-05sfeed_update: fix time modified on feed first runHiltjo Posthuma
A feeds file was created with touch when it didnt exist. This confuses curl -z since it uses that file for If-Modified-Since. Now it just copies the temporary file to the new file without merging if it doesn't exist. The warning for curl for a non-existant file is already suppressed with curl -s.
2015-08-05README: sort program names and write more clearlyHiltjo Posthuma
2015-08-05config.mk: dont use VERSION except for make distHiltjo Posthuma
2015-08-05Makefile: remove old broken rules, fix make distHiltjo Posthuma
2015-08-05sfeed_xmlenc: simplify and kill some linesHiltjo Posthuma
2015-08-05improve man-pages and documentationHiltjo Posthuma
2015-08-05sfeed_web: separate by tab, url<tab>contenttype, simplifyHiltjo Posthuma
2015-08-05sfeed_mbox: combine date check conditionHiltjo Posthuma
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...