summaryrefslogtreecommitdiff
path: root/sfeed.c
AgeCommit message (Collapse)Author
2015-07-31update some commentsHiltjo 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-29improve documentation: some fixesHiltjo Posthuma
2015-07-29sfeed: whoops, remove "debug" statementHiltjo Posthuma
2015-07-29sfeed: improve time parsingHiltjo Posthuma
- bit stricter time parsing. - change format from "GMT+HHMM" to "UTC+HH:MM".
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-28improve code-style and consistencyHiltjo Posthuma
2015-07-28use new uri parserHiltjo Posthuma
2015-06-21string_print: dont print control charsHiltjo Posthuma
2015-06-21improve printlink, escape charactersHiltjo Posthuma
2015-06-21separate xml specific code into xml.cHiltjo Posthuma
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-16xml: adjust for API change: read from fdHiltjo Posthuma
2015-05-16sfeed: code-styleHiltjo Posthuma
2015-01-05remove some TODOs, styleHiltjo Posthuma
2015-01-05sfeed: prefer updated timestamp over published for AtomHiltjo Posthuma
2015-01-05sfeed: fix start tags (HTML) in Atom content + style fixHiltjo Posthuma
2015-01-05sfeed: simplify + style fixesHiltjo Posthuma
2015-01-05sfeed: fix for "2015-01-05T09:44:46.555Z"Hiltjo Posthuma
2015-01-05sfeed: add note of truncation of tags (not an issue)Hiltjo Posthuma
2015-01-04cleanup a bitHiltjo Posthuma
2015-01-04snprintf() truncation checksHiltjo Posthuma
2015-01-04sfeed: improve time parsing some more (sscanf in particular)Hiltjo Posthuma
2015-01-03sfeed: even more time improvementsHiltjo Posthuma
2015-01-03clear some fields if they are set previously (some feeds define multiple ↵Hiltjo Posthuma
date field)
2015-01-03improve date parsing and displayHiltjo Posthuma
2015-01-03sfeed: remove level of indent in parsetimeHiltjo Posthuma
2015-01-03sfeed: clean up gettimetzHiltjo Posthuma
2015-01-03sfeed: fix set offset on successHiltjo Posthuma
2015-01-03more time fixesHiltjo Posthuma
2015-01-03time fixesHiltjo Posthuma
2015-01-02sfeed: add -v flag to display program versionHiltjo Posthuma
2015-01-02trim stringHiltjo Posthuma
2015-01-02sfeed: fix incorrect strlcpy, style and strict check for bufHiltjo Posthuma
2015-01-02sfeed: changes, needs some testingHiltjo Posthuma
2015-01-02sfeed: styleHiltjo Posthuma
2015-01-02sfeed: cleanup, use err()Hiltjo Posthuma
2014-11-11code style, use actual column width of charHiltjo Posthuma
2014-11-11sfeed.c: code-styleHiltjo Posthuma
2014-06-28sfeed: fix check for div in atom contentHiltjo Posthuma
as suspected it should match the tagname exactly "div", it would match <diva> too :P Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-06-28handle invalid values of strto*lHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-06-28handle invalid value for strtoul, refactor a bitHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-06-28compile with -Wextra, ignore unused parametersHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-05-13sfeed: fix invalid length parameterHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-05-13cleanup, tested with tccHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-05-08style: linewrap, etcHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>
2014-05-08sfeed: remove level of indentationHiltjo Posthuma
Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>