Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-11-24 | README: add rss2email OPML import example | Hiltjo Posthuma | |
2019-11-24 | sfeed_opml_import: improve import with nested <outline> | Hiltjo Posthuma | |
This nested format is used by Mozilla Thunderbird: <outline title=""> <outline type="rss" title="" text="" xmlUrl=""/> </outline> other tests: - newsboat -e uses the title attribute, not text. - rss2email 3.x, r2e opmlexport uses type, text and xmlUrl (correct). | |||
2019-11-24 | OPML export improvements | Hiltjo Posthuma | |
- set type="rss", this is mandatory for OPML2 (although we use OPML v1). This fixes importing OPML with Mozilla Thunderbird. other: - Do not set the optional htmlUrl. This was (ab)used for the baseurl. - awk: set FS using the awk -F option (no need for OFS here). - awk: remove forced C locale. | |||
2019-11-22 | xml.c: upper-case named-entities are invalid in XML | Hiltjo Posthuma | |
Named entities are case-sensitive and in XML lower-case. (In HTML some of these are valid. Although &APOS; is invalid there too). References: 4.6 Predefined entities: https://www.w3.org/TR/xml/#sec-predefined-ent In the definition of "match": https://www.w3.org/TR/xml/#dt-match "No case folding is performed." | |||
2019-10-13 | bump version to 0.9.14 | Hiltjo Posthuma | |
2019-10-12 | string_append: check for addition and multiplication overflow | Hiltjo Posthuma | |
This could overflow / wrap the buffer. Note: SIZE_MAX is defined in POSIX to atleast 65535. On most platforms on 64-bit this is 0xffffffffffffffffUL bytes. | |||
2019-10-05 | Makefile: simplify, remove config.mk | Hiltjo Posthuma | |
2019-09-30 | README: remove wrong $LC_LOCALE, also remove $LC_ALL from examples | Hiltjo Posthuma | |
2019-09-12 | xml.h: remove #if 0 block | Hiltjo Posthuma | |
2019-09-06 | README: minor typos | Hiltjo Posthuma | |
2019-09-06 | README: improve mail example and add an example similar to rss2email | Hiltjo Posthuma | |
2019-09-05 | sfeed.c: fix typo in comment | Hiltjo Posthuma | |
2019-08-22 | README, README.xml: improve some wording | Hiltjo Posthuma | |
2019-08-01 | bump version to 0.9.13 | Hiltjo Posthuma | |
2019-07-27 | README: improve dmenu example | Hiltjo Posthuma | |
2019-07-20 | documentation: document "new" items in format programs | Hiltjo Posthuma | |
2019-07-20 | sfeed_gph: prefix/mark "new" items with "N" too. | Hiltjo Posthuma | |
minor consistency fix in sfeed_html.c comment | |||
2019-07-20 | use the same XML handler names as the fields and shorten variable names | Hiltjo Posthuma | |
Use the same XML handlers names as the fields to improve readability a bit. This is also consistent across all the programs using xml.c. Shorten the variable names aswell. | |||
2019-07-20 | man pages: reference sfeed(5) in format programs, reword sfeed(5) description | Hiltjo Posthuma | |
2019-07-14 | sfeed_update.1, sfeedrc.5: document replacing '/' in filenames | Hiltjo Posthuma | |
2019-07-07 | sfeed_update.1: remove an old filename reference | Hiltjo Posthuma | |
2019-07-04 | sfeed_gph: escape prefix path | Hiltjo Posthuma | |
2019-07-04 | sfeed_gph: improvements | Hiltjo Posthuma | |
- pledge(2) sooner. - Don't use getenv when it has no arguments and reads only from stdin. prefixpath is unused in that case. - Check for path truncation or an encoding error. No need to format the same path twice. - Use a fixed feed structure, no need for memory allocation in this format program. - Remove "totalnew" of all feeds. It was unused. | |||
2019-07-04 | util: struct feed: remove old unused fields and tiny code-style | Hiltjo Posthuma | |
2019-06-25 | bump version to 0.9.12 | Hiltjo Posthuma | |
2019-06-21 | README.xml: add comment about parser limitation/restriction | Hiltjo Posthuma | |
2019-06-17 | sfeed: optimization: xmlattr: when not in some RSS/Atom tag skip further checks | Hiltjo Posthuma | |
2019-06-11 | fix typo in comment | Hiltjo Posthuma | |
2019-06-11 | xml: improve cdata and comment callback logic | Hiltjo Posthuma | |
it used to call both handlers twice at the end for "-->" (comment) or "]]>" (CDATA) with the data "" and length 0. Now it is only called when non-empty. The start and end handlers can still be used. | |||
2019-06-11 | README: remove an old filename reference, simplify sfeed_update purpose here | Hiltjo Posthuma | |
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 | |