Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-04-06 | sfeed_frames/sfeed_html: improve HTML output a bit | Hiltjo Posthuma | |
declare UTF-8 before <title> | |||
2019-04-06 | util: remove unnecesary cast and initialization | Hiltjo Posthuma | |
2019-04-06 | sfeed: gettag: simplify and use ANSI bsearch() | Hiltjo Posthuma | |
2019-04-06 | Makefile: make it simpler to not compile compat objects | Hiltjo Posthuma | |
on OpenBSD: make COMPATOBJ= | |||
2019-03-16 | xml: write x->getnext to a default GETNEXT macro | Hiltjo Posthuma | |
this allows to override x->getnext to expand to global context parsing and allows the compiler to optimize this inline. also remove checking if the x->getnext function exists (just crash hard). | |||
2019-03-08 | util: pedantic snprintf improvement | Hiltjo Posthuma | |
POSIX says about snprintf: "If an output error was encountered, these functions shall return a negative value". So check for < 0 instead of -1. Afaik all implementations return -1 though. | |||
2019-03-03 | gettzoffset: bit more strict UTC offset parsing | Hiltjo Posthuma | |
2019-03-03 | skip spaces in parsetime() itself | Hiltjo Posthuma | |
2019-03-03 | sfeed: style, break in switch instead of return | Hiltjo Posthuma | |
this style change is useful for my local coverage profile. | |||
2019-03-01 | sfeed_update: remove wrong/incomplete comment | Hiltjo Posthuma | |
2019-02-27 | util: parseuri: fix typo in cast (ssize_t) | Hiltjo Posthuma | |
2019-02-27 | atomlinktype make enum TagId instead of int | Hiltjo Posthuma | |
2019-02-27 | improve RSS2 permalink support | Hiltjo Posthuma | |
In RSS2 (but not RSS0.9), a <link> is optional and it can also be specified by <guid isPermaLink="true"> (permalink is "true" by default). When a <link> is also present this will be used instead of the GUID permalink. | |||
2019-02-27 | sfeed.c: improve comment | Hiltjo Posthuma | |
2019-02-24 | stricter Atom link parsing | Hiltjo Posthuma | |
the Atom link parsing is more strict now and checks the rel attribute. When the rel attribute is empty it is handled as a normal link ("alternate"). This makes sure when an link with an other type is specified (such as "enclosure", "related", "self" or "via") before a link it is not used. sfeed does not handle enclosures, but the code is reworked so it is very simple to add this. Enclosures are often used for example to attach some image to a newspost or an audio file to a podcast. | |||
2019-02-24 | fix RFC822 ANSI and military zones parsing | Hiltjo Posthuma | |
2019-02-24 | documentation: fix typo to RFC reference for timestamps: RFC-3332 to RFC-3339 | Hiltjo Posthuma | |
2019-02-17 | bump version to 0.9.8 | Hiltjo Posthuma | |
2019-02-17 | update README.xml | Hiltjo Posthuma | |
2019-02-08 | Makefile: add DOCPREFIX for installing docs in ports | Hiltjo Posthuma | |
change installed doc from /usr/local/share/sfeed to /usr/local/share/doc/sfeed | |||
2019-02-08 | don't read XML data inside tag for Atom <link href/> | Hiltjo Posthuma | |
Noticed in the webcomic "amphibian": http://amphibian.com/feeds/atom | |||
2019-02-08 | trim whitespace around uri field value | Hiltjo Posthuma | |
... and abstract printing timetamp and uri to string_print_{timestamp,uri} similar to string_print_trimmed (normal string) and string_print_encoded (content). Noticed with whitespace around the field in the webcomic "amphibian": http://amphibian.com/feeds/atom | |||
2019-02-08 | short some callback variable names, change "name" to "t" (tag) | Hiltjo Posthuma | |
2019-01-29 | document: minor reword, reference sfeedrc(5) in README | Hiltjo Posthuma | |
2019-01-29 | sfeed: use the same handler names as the XMLParser | Hiltjo Posthuma | |
2019-01-25 | README: sfeed_frames still mentioned it output content, remove it | Hiltjo Posthuma | |
This was removed before, because of potential security issues in commit b7e288a96418e1ea5e7904ab2896edb3f4615a10 Thanks trqx for the feedback. | |||
2019-01-25 | tree.h: remove unused SPLAY tree macros | Hiltjo Posthuma | |
2019-01-25 | sfeedrc.example: fix/update urls, add 2 examples for github and reddit | Hiltjo Posthuma | |
2019-01-25 | Makefile: add POSIX target, respect (packaging) system CFLAGS/LDFLAGS | Hiltjo Posthuma | |
this also makes packaging slightly simpler. | |||
2019-01-25 | documentation improvements | Hiltjo Posthuma | |
Man pages: - sfeed_update: fix: fetchfeed parameter documentation. - sfeed_update: fix/update: urls in sfeedrc.example. - sfeed_update: document maxjobs variable. - sfeedrc: document filter and order functions here. - more semantic keywords: function arguments and some Nm. README: - Document more clearly sfeedrc is a shellscript at the first usage "steps". - Add newsboat OPML export and import to sfeed_update example. - Document the Makefile is POSIX (not some GNU/Makefile). - Add reference to my tool hurl: a HTTP/HTTPS/Gopher file grab client. - Describe the reason/usefulness of the filter example. - Describe how to override curl(1), an optional dependency. With feedback from lich, thanks! | |||
2019-01-13 | bump LICENSE | Hiltjo Posthuma | |
2019-01-08 | xml: remove unnecesary checks | Hiltjo Posthuma | |
- reduce amount of data to check. - remove unnecesary checks from (now) internal functions. | |||
2018-12-24 | bump version to 0.9.7 | Hiltjo Posthuma | |
2018-12-14 | sfeed: rename buffer to buf, change entitytostr check, it can never happen | Hiltjo Posthuma | |
2018-12-14 | tweak README: move cp style.css from initial step to HTML example | Hiltjo Posthuma | |
+ change "append" to "change". | |||
2018-12-14 | sfeed_tail: wakeup less often by default | Hiltjo Posthuma | |
The files are now checked every 10 seconds instead of 1 second. NOTE: ofcourse it still first checks the filesize and modification time and only then proceeds. | |||
2018-12-02 | sfeed_xmlenc: don't treat not finding an encoding as an error | Hiltjo Posthuma | |
in scripts empty output should be checked. | |||
2018-12-02 | sfeed_xmlenc.1: document output better | Hiltjo Posthuma | |
2018-12-02 | XML tag parse improvements for PI and end tags | Hiltjo Posthuma | |
- Stricter parsing of tags, no whitespace stripping after <. - For end tags the "internal" context x->tag would be "/sometag". Make sure this matches exactly with the parameter tag. - Reset tagname after parsing an end tag. - Make end tag handling more consistent. - Remove temporary variable taglen. | |||
2018-12-02 | sfeed_xmlenc: simplify and don't print control characters | Hiltjo Posthuma | |
2018-12-01 | sfeed_opml_export: escape `&' | Leonardo Taccari | |
2018-11-09 | minor white-space style fix | Hiltjo Posthuma | |
2018-11-04 | README.xml: remove mention of variable that is not used anymore | Hiltjo Posthuma | |
2018-11-04 | whitespace and comment fix | Hiltjo Posthuma | |
2018-10-24 | sfeed_update: fix wrong comment "temporary file" -> "temporary directory" | Hiltjo Posthuma | |
2018-10-24 | Revert "sfeed_update: replace non-POSIX mktemp with $$" | Hiltjo Posthuma | |
This reverts commit 8699fa2bb4c75670952fee503a58ca4a652627eb. There is a regression in directory permissions among other things. | |||
2018-10-11 | sfeed_update: replace non-POSIX mktemp with $$ | Hiltjo Posthuma | |
+ fix wrong comment "temporary file" -> "temporary directory". | |||
2018-10-08 | util.h: remove unused macro ISUTF8() | Hiltjo Posthuma | |
2018-10-08 | sfeed_mbox: remove an unneeded strlcpy call | Hiltjo Posthuma | |
2018-10-08 | sfeed_mbox: add seconds to Date header | Hiltjo Posthuma | |