Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-14 | minor code-style improvements | Hiltjo Posthuma | |
2015-08-14 | sfeed_update: don't redirect, use only the feed url specified. | Hiltjo Posthuma | |
It could mess up urls in items (redirect http to https). It is also safer. | |||
2015-08-14 | xml: whoops, remove leftover xml_getnext_stdin | Hiltjo Posthuma | |
2015-08-14 | xml: separate reader context from parser | Hiltjo Posthuma | |
also: - rename xmlparser_ prefix to xml_. - make xml_parse public, this allows a custom reader like a direct mmap, see: XMLParser.getnext and (optionall) XMLParser.getnext_data. - improve the README text. | |||
2015-08-10 | util: parseuri: nul-terminate, bug introduced by ↵ | Hiltjo Posthuma | |
7f11ef506465896705f15c39bd0416d96ca651a8 | |||
2015-08-10 | update README | Hiltjo Posthuma | |
2015-08-08 | sfeed_mbox: use feedname in message-id | Hiltjo Posthuma | |
2015-08-08 | util: just zero strings by null-terminating first byte | Hiltjo Posthuma | |
2015-08-08 | Revert "sfeed: set TZ=UTC at start, use mktime() not the deprecated timegm()." | Hiltjo Posthuma | |
Some libc implementations like musl provide a heavy optimized version of timeg() which mktime() cannot provide. We use -D_BSD_SOURCE anyway (also for strlcpy, strlcat), so just keep using this for now. This reverts commit f7c579c3b8e77215d60f1948367221b738823585. | |||
2015-08-08 | sfeed: use snprintf -> strlcpy for some case | Hiltjo Posthuma | |
2015-08-08 | xml: move entity to namedentitystr() | Hiltjo Posthuma | |
2015-08-07 | sfeed: set TZ=UTC at start, use mktime() not the deprecated timegm(). | Hiltjo Posthuma | |
... timegm() is also -D_BSD_SOURCE. | |||
2015-08-07 | update documentation | Hiltjo Posthuma | |
2015-08-07 | util: strtotime: stricter time parsing | Hiltjo 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-07 | sfeed_update: just use the feed name as the temporary filename | Hiltjo Posthuma | |
the base temporary directory is random. The directory is cleaned afterwards or on SIGTERM etc so remove this unneeded line. | |||
2015-08-07 | sfeed_mbox: use simple hash for Message-Id | Hiltjo Posthuma | |
2015-08-07 | sfeed: only handle tags in HTML content, strip tags from type "text" | Hiltjo Posthuma | |
2015-08-06 | xml: remove forced __inline__ attribute | Hiltjo Posthuma | |
2015-08-06 | sfeed: proper sort order for comparing tag | Hiltjo Posthuma | |
2015-08-06 | general cleanups | Hiltjo Posthuma | |
2015-08-06 | sfeed: fix, skip milliseconds for: %Y-%m-%dT%H:%M:%S.000Z | Hiltjo Posthuma | |
2015-08-05 | sfeed: minor cleanup | Hiltjo Posthuma | |
2015-08-05 | sfeed: gettag: simplify | Hiltjo Posthuma | |
2015-08-05 | sfeedrc.example: update | Hiltjo Posthuma | |
2015-08-05 | update TODO | Hiltjo Posthuma | |
2015-08-05 | sfeed_update: fix time modified on feed first run | Hiltjo 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-05 | README: sort program names and write more clearly | Hiltjo Posthuma | |
2015-08-05 | config.mk: dont use VERSION except for make dist | Hiltjo Posthuma | |
2015-08-05 | Makefile: remove old broken rules, fix make dist | Hiltjo Posthuma | |
2015-08-05 | sfeed_xmlenc: simplify and kill some lines | Hiltjo Posthuma | |
2015-08-05 | improve man-pages and documentation | Hiltjo Posthuma | |
2015-08-05 | sfeed_web: separate by tab, url<tab>contenttype, simplify | Hiltjo Posthuma | |
2015-08-05 | sfeed_mbox: combine date check condition | Hiltjo Posthuma | |
2015-08-05 | sfeed_update, opml_export: slightly safer comparison | Hiltjo Posthuma | |
2015-08-05 | sfeed_opml_import: change to new config (feeds directory) + simplify | Hiltjo Posthuma | |
2015-08-05 | sfeed_plain: save a character before status | Hiltjo Posthuma | |
2015-08-05 | README: improve | Hiltjo Posthuma | |
2015-08-05 | xml.h: sort callbacks and improve comments | Hiltjo Posthuma | |
2015-08-05 | sfeed: consistency, use XMLParser instead of struct xmlparser | Hiltjo Posthuma | |
2015-08-05 | sfeed: cleanup code a bit, shorten element to el + cleanup | Hiltjo Posthuma | |
- end element, restructure control flow - simplify and some code cleanups | |||
2015-08-02 | sfeed_plain: remove control char check, assume input is sanitized for format ↵ | Hiltjo Posthuma | |
programs | |||
2015-08-02 | sfeed_frames: wrap plain-text, encode as XML/HTML 2.0 | Hiltjo Posthuma | |
2015-08-02 | sfeed: add support for media:description and media:title (used by youtube et al) | Hiltjo Posthuma | |
2015-08-02 | sfeed: cleanup a bit and improve checking if in content | Hiltjo Posthuma | |
2015-08-02 | sfeed_frames: limit titles and feednames to 128 chars for filenames | Hiltjo 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-02 | sfeed_frames: normalizepath: dont start with replaced -, just ignore | Hiltjo Posthuma | |
2015-08-02 | README: remove awk/gawk archive example, add C program (more portable aswell) | Hiltjo Posthuma | |
2015-08-02 | config.mk: make optimized the default | Hiltjo Posthuma | |
2015-08-02 | util: simplify parseline() and check t for strtotime(). | Hiltjo Posthuma | |
2015-08-02 | refactor print, decodefield into xmlencode | Hiltjo Posthuma | |
... put specific formatting-logic per program (printcontent()). |