Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-06-11 | sfeed_update: clarify a comment about being non-optimal | Hiltjo Posthuma | |
2019-06-11 | optimization: only convert entities when we are inside a RSS/Atom tag | Hiltjo Posthuma | |
2019-06-11 | reorder function | Hiltjo Posthuma | |
2019-06-11 | Handle entities in attribute values. | Julian Schweinsberg | |
2019-05-25 | gettzoffset: fix possible arithmetic overflow if int is 16-bit | Hiltjo Posthuma | |
also reduce size of return type (32-bit+ should be enough). | |||
2019-05-15 | README and sfeed_update: use names (order vs sort) and in the execution order | Hiltjo Posthuma | |
2019-05-15 | sfeed_opml_export: code-style for whitespace with variables | Hiltjo Posthuma | |
2019-05-12 | sfeed_update: cleanup proper encoding file (if any) | Hiltjo Posthuma | |
2019-05-11 | bump version to 0.9.11 | Hiltjo Posthuma | |
2019-05-10 | sfeed_opml_export: optimize | Hiltjo Posthuma | |
Tested using 1000 feeds, took about 20s, now 0.02s. The overhead of sed and printf was too high. Now pipe an intermediate TAB format to awk and print it in one stage. | |||
2019-05-10 | remove unused variables | Hiltjo Posthuma | |
2019-05-10 | sfeed_plain: start with timestamp, consistent with sfeed_twtxt | Hiltjo Posthuma | |
2019-05-10 | README: use HTTPS links | Hiltjo Posthuma | |
2019-05-10 | sfeed: remove support for military zones and simplify | Hiltjo Posthuma | |
see RFC2822 4.3 page 32: " [...] However, because of the error in [RFC822], they SHOULD all be considered equivalent to "-0000" unless there is out-of-band information confirming their meaning. " | |||
2019-05-08 | Makefile: remove TODO | Hiltjo Posthuma | |
2019-05-08 | remove TODO | Hiltjo Posthuma | |
2019-05-08 | README: add tail-like example in honor of the removed sfeed_tail | Hiltjo Posthuma | |
2019-05-06 | remove sfeed_tail and recently added security considerations | Hiltjo Posthuma | |
... both are out-of-scope for sfeed. - sfeed_tail can be written as some simple customized awk script reading from a FIFO. The C version did not work well on FIFO's. - Security considerations are mentioned in the official HTML spec and applies to all HTML and protocol handlers, so is out-of-scope. | |||
2019-05-03 | bump version to 0.9.10 | Hiltjo Posthuma | |
2019-05-02 | README: reword a bit | Hiltjo Posthuma | |
2019-05-02 | README: fix typo in path | Hiltjo Posthuma | |
2019-05-02 | sfeed_update: disable If-Modified-Since by default | Hiltjo Posthuma | |
2019-05-02 | sfeed: improve content type (attribute) handling | Hiltjo Posthuma | |
- handle type attribute for MRSS media:description, media:description type="plain" is now parsed properly. - handle default content-types per tag now. - when multiple content-like fields are specified use the proper content-type. - be flexible about type attribute handling. - minor code tweaks. | |||
2019-05-02 | sfeed.{1,5}: reword "saved" to output | Hiltjo Posthuma | |
this program does not store anything, but just write to stdout. | |||
2019-05-02 | README: add security considerations, tweak preface a bit | Hiltjo Posthuma | |
2019-04-30 | improve README | Hiltjo Posthuma | |
- add preface text. - use "\t" pattern for awk (easier to read and copy-paste). - add a small example to get the most recent enclosure. | |||
2019-04-30 | sfeed_frames, sfeed_html: use the same code for link handling | Hiltjo Posthuma | |
2019-04-30 | sfeed_gph: when a link is empty show as regular text | Hiltjo Posthuma | |
2019-04-25 | bump version to 0.9.9 | Hiltjo Posthuma | |
2019-04-25 | sfeed_atom: add content too (for completeness) | Hiltjo Posthuma | |
2019-04-25 | sfeed_mbox: use simpler djb2 hash, fix message-id as intended | Hiltjo Posthuma | |
The message-id has not been working as intended for a while. It only hashed the timestamp field because parseline() modifies the buffer in-place. | |||
2019-04-25 | util: small code-style fix | Hiltjo Posthuma | |
2019-04-22 | README: fix tiny formatting whitespace | Hiltjo Posthuma | |
2019-04-22 | sfeed_atom: if the link is empty, don't print it | Hiltjo Posthuma | |
2019-04-21 | sfeed_mbox: show enclosure url when it is non-empty | Hiltjo Posthuma | |
2019-04-21 | util: keep brackets when parsing IPv6 addresses | Hiltjo Posthuma | |
2019-04-20 | README: add sfeed_atom aggregate feed example | Hiltjo Posthuma | |
2019-04-20 | add sfeed_atom: convert one or more feeds from TSV (back to) Atom | Hiltjo Posthuma | |
2019-04-20 | README: update filter example | Hiltjo Posthuma | |
- Show how to filter protocol schemes more strictly. For example to allow only http://, https:// and gopher:// (not file://, javascript:, etc). - Filter links and now also enclosures. | |||
2019-04-20 | sfeed_frames, sfeed_html: do not send referer header | Hiltjo Posthuma | |
Do not send referer header if the browser supports this tag. This makes sure in some browsers where referer hiding is not setup this header is still hidden. The proper way is to setup your browser environment however to strip/change the referer header and trim your browser footprint. | |||
2019-04-15 | util: remove unneeded err.h header | Hiltjo Posthuma | |
2019-04-14 | sfeed_update: fix typo in comment | Hiltjo Posthuma | |
2019-04-14 | sfeed_update: rename fetchfeed to fetch | Hiltjo Posthuma | |
... and simplify example in README. | |||
2019-04-14 | sfeed_tail: rename "line" to "l" in local scope | Hiltjo Posthuma | |
char *line is a global variable (reused pointer to line buffer). | |||
2019-04-14 | sfeed: add support for the first enclosure of an item | Hiltjo Posthuma | |
This is useful for example for podcasts (audio attachment), newsposts (usually some image) or comic strips (link to page, image as enclosure). thanks leot for the feedback! | |||
2019-04-14 | sfeed_update improvements | Hiltjo Posthuma | |
- Better checking and verbose logging (on failure) of each stage: fetchfeed, filter, merge, order, convertencoding. This makes sure on out-of-memory, disk-space or other resource limits the output is not corrupted. - This also has the added advantage it runs less processes (piped) at the same time. - Clear previous unneeded file to preserve space in /tmp (/tmp is often mounted as mfs/tmpfs). - Add logging function (able to override), use more logical logging format (pun intended). - Code-style: order overridable functions in execution order. | |||
2019-04-07 | README: change procmail parallel running, improve some words | Hiltjo Posthuma | |
make the procmail example safer due to account process limits. | |||
2019-04-07 | Makefile: fix make dist (compat src: strlcpy, strlcat) | Hiltjo Posthuma | |
2019-04-06 | optimization: define GETNEXT as an inline macro | Hiltjo Posthuma | |
This reduces much function call overhead. getnext is defined in xml.h for inline optimization. sfeed only uses one XML parser context per program, this allows further optimizations of the compiler also. On OpenBSD it was noticable because of retpoline etc function call overhead. Using clang and a 500MB test XML file reduces processing time from +- 12s to 5s. Tested using some crazy optimization flags: SFEED_CFLAGS = -O3 -std=c99 -DGETNEXT=getchar_unlocked -fno-ret-protector \ -mno-retpoline -static A GETNEXT macro is also nice for programs which mmap(2) some big XML file. Then you can simply define: #define GETNEXT() (off >= len ? EOF : reg[off++]) | |||
2019-04-06 | sfeed_frames/sfeed_html: improve HTML output a bit | Hiltjo Posthuma | |
declare UTF-8 before <title> |