Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-08-14 | minor code-style improvements | 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-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-07 | sfeed: set TZ=UTC at start, use mktime() not the deprecated timegm(). | Hiltjo Posthuma | |
... timegm() is also -D_BSD_SOURCE. | |||
2015-08-07 | sfeed: only handle tags in HTML content, strip tags from type "text" | 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 | 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: 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-01 | code-style: remove level of indentation + mark TODO | Hiltjo Posthuma | |
2015-07-31 | update some comments | Hiltjo Posthuma | |
2015-07-31 | update and improve documentation (WIP) | Hiltjo Posthuma | |
2015-07-31 | Various improvements | Hiltjo 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-29 | improve documentation: some fixes | Hiltjo Posthuma | |
2015-07-29 | sfeed: whoops, remove "debug" statement | Hiltjo Posthuma | |
2015-07-29 | sfeed: improve time parsing | Hiltjo Posthuma | |
- bit stricter time parsing. - change format from "GMT+HHMM" to "UTC+HH:MM". | |||
2015-07-29 | sfeed: prefer published over updated | Hiltjo 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-28 | improve code-style and consistency | Hiltjo Posthuma | |
2015-07-28 | use new uri parser | Hiltjo Posthuma | |
2015-06-21 | string_print: dont print control chars | Hiltjo Posthuma | |
2015-06-21 | improve printlink, escape characters | Hiltjo Posthuma | |
2015-06-21 | separate xml specific code into xml.c | Hiltjo Posthuma | |
2015-05-25 | improve timezone parsing and conversion (WIP) | Hiltjo Posthuma | |
2015-05-25 | improve entitytostr | Hiltjo Posthuma | |
- should end with ; or end of string. - code-style: reduce level of indentation by returning earlier. | |||
2015-05-25 | string_buffer_realloc: doesnt return | Hiltjo Posthuma | |
2015-05-16 | xml: adjust for API change: read from fd | Hiltjo Posthuma | |
2015-05-16 | sfeed: code-style | Hiltjo Posthuma | |
2015-01-05 | remove some TODOs, style | Hiltjo Posthuma | |
2015-01-05 | sfeed: prefer updated timestamp over published for Atom | Hiltjo Posthuma | |
2015-01-05 | sfeed: fix start tags (HTML) in Atom content + style fix | Hiltjo Posthuma | |
2015-01-05 | sfeed: simplify + style fixes | Hiltjo Posthuma | |
2015-01-05 | sfeed: fix for "2015-01-05T09:44:46.555Z" | Hiltjo Posthuma | |
2015-01-05 | sfeed: add note of truncation of tags (not an issue) | Hiltjo Posthuma | |
2015-01-04 | cleanup a bit | Hiltjo Posthuma | |
2015-01-04 | snprintf() truncation checks | Hiltjo Posthuma | |
2015-01-04 | sfeed: improve time parsing some more (sscanf in particular) | Hiltjo Posthuma | |
2015-01-03 | sfeed: even more time improvements | Hiltjo Posthuma | |
2015-01-03 | clear some fields if they are set previously (some feeds define multiple ↵ | Hiltjo Posthuma | |
date field) | |||
2015-01-03 | improve date parsing and display | Hiltjo Posthuma | |
2015-01-03 | sfeed: remove level of indent in parsetime | Hiltjo Posthuma | |
2015-01-03 | sfeed: clean up gettimetz | Hiltjo Posthuma | |
2015-01-03 | sfeed: fix set offset on success | Hiltjo Posthuma | |
2015-01-03 | more time fixes | Hiltjo Posthuma | |
2015-01-03 | time fixes | Hiltjo Posthuma | |