Age | Commit message (Collapse) | Author | |
---|---|---|---|
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_plain: remove control char check, assume input is sanitized for format ↵ | Hiltjo Posthuma | |
programs | |||
2015-08-02 | sfeed_frames: wrap plain-text, encode as XML/HTML 2.0 | Hiltjo Posthuma | |
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-02 | sfeed_frames: limit titles and feednames to 128 chars for filenames | Hiltjo Posthuma | |
This prevents unnecessary path-truncation in some cases, with the side-effect it can overwrite items with the same title more often. We handle path truncation as a fatal error, so this was annoying. | |||
2015-08-02 | sfeed_frames: normalizepath: dont start with replaced -, just ignore | Hiltjo Posthuma | |
2015-08-02 | README: remove awk/gawk archive example, add C program (more portable aswell) | Hiltjo Posthuma | |
2015-08-02 | config.mk: make optimized the default | Hiltjo Posthuma | |
2015-08-02 | util: simplify parseline() and check t for strtotime(). | Hiltjo Posthuma | |
2015-08-02 | refactor print, decodefield into xmlencode | Hiltjo Posthuma | |
... put specific formatting-logic per program (printcontent()). | |||
2015-08-02 | sfeed_mbox: improvements | Hiltjo Posthuma | |
- don't xmlencode HTML, show as is. - mangle "From " mboxrd-style. Content-Length would be cleaner but would require extra buffering. | |||
2015-08-01 | code-style: remove level of indentation + mark TODO | Hiltjo Posthuma | |
2015-08-01 | sfeed_mbox: xmlencode link for HTML mail, simplify a bit | Hiltjo Posthuma | |
2015-08-01 | xml: only allow full uppercase or full lowercase for entities | Hiltjo Posthuma | |
2015-07-31 | improve documentation | Hiltjo Posthuma | |
2015-07-31 | xml: fix xml_namedentitytostr loop | Hiltjo Posthuma | |
2015-07-31 | update some comments | Hiltjo Posthuma | |
2015-07-31 | xml: fix missing include strings.h, for strncasecmp | Hiltjo Posthuma | |
2015-07-31 | sfeed_mbox: dont decodefield anymore | 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-31 | add fdm.conf example | Hiltjo Posthuma | |
... sfeed_maildir, procmailrc and fdm.conf will probably be removed and moved to a documentation file for clarity. The ways to use sfeed to output mail in any format is available (via sfeed_mbox). I'll assume the person who uses this has enough knowledge to convert mbox to the format he/she wants. | |||
2015-07-31 | sfeed_maildir: check if procmail config exists and is readable | Hiltjo Posthuma | |
2015-07-31 | sfeed_mbox: improvements | Hiltjo Posthuma | |
- Date parsing: if invalid UNIX timestamp skip message. - Message-Id to Message-ID. - Print HTML link in HTML mail content, else plain-text link. - Fix year in Date header (%y to %Y). - Use author name in item post if available. - Add newline to message. - Code-style improvements. - ... still needs more work though... | |||
2015-07-30 | sfeed_maildir: initial version, needs more work | Hiltjo Posthuma | |
2015-07-30 | sfeed_mbox: initial version, needs more work | Hiltjo Posthuma | |
2015-07-30 | check for time() failure | Hiltjo Posthuma | |
2015-07-29 | improve documentation: some fixes | Hiltjo Posthuma | |
2015-07-29 | sfeed: whoops, remove "debug" statement | Hiltjo Posthuma | |
2015-07-29 | update documentation regarding timezone parsing | Hiltjo Posthuma | |
Clarity CAVEAT concerning timezone parsing, some feeds incorrectly use non-RFC-822 timezones in RSS feeds, this will be interpreted as UTC+0. The formatted time will contain this timezone but without an offset. | |||
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_frames: style: sys includes at top | Hiltjo Posthuma | |
2015-07-29 | improve includes (dont include headers in .h), fix build on Linux | Hiltjo Posthuma | |
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 | sfeed_frames, sfeed_html: add space before amount of new items | Hiltjo Posthuma | |
2015-07-28 | remove gitignore file | Hiltjo Posthuma | |
2015-07-28 | improve code-style and consistency | Hiltjo Posthuma | |
2015-07-28 | util, absuri: check truncation of more cases | Hiltjo Posthuma | |
2015-07-28 | update documentation... | Hiltjo Posthuma | |
... and add strlcat to compat.h | |||
2015-07-28 | update strlcpy, add strlcat | Hiltjo Posthuma | |
2015-07-28 | sfeed_plain: xbasename, free memory after use | Hiltjo Posthuma | |
2015-07-28 | use new uri parser | Hiltjo Posthuma | |
2015-07-28 | util: rewrite uri parser | Hiltjo Posthuma | |
- don't print directly but use an internal buffer (also better for testing). - encode uri when printing (security). - add some comments. | |||
2015-06-23 | xml: fix comment issue, improve cdata and comment while encountering separator | Hiltjo Posthuma | |
2015-06-22 | xml: fix cdata issue | Hiltjo Posthuma | |
2015-06-21 | sfeed_html, sfeed_frames: escape name | Hiltjo Posthuma | |
2015-06-21 | improvements | Hiltjo Posthuma | |
2015-06-21 | improvements | Hiltjo Posthuma | |