summaryrefslogtreecommitdiff
path: root/sfeed_twtxt.c
AgeCommit message (Collapse)Author
2021-06-01portability and standards: add BSD-like err() and errx() functionsHiltjo Posthuma
These are BSD functions. - HaikuOS now compiles without having to use libbsd. - Tested on SerenityOS (for fun), which doesn't have these functions (yet). With a small change to support wcwidth() sfeed works on SerenityOS.
2020-07-05format tools: don't skip items with a missing/invalid timestamp fieldHiltjo Posthuma
Handle it appropriately in the context of each format tool. Output the item but keep it blanked. NOTE: maybe in sfeed_twtxt it should use the current time instead?
2020-04-01util: improve/cleanup parseline()Hiltjo Posthuma
- remove a check that has no use/can never happen. - remove the return value as it's unused and the input size is known. - fix an old comment that doesn't reflect what the function does anymore.
2020-03-15sfeed_twtxt: fix error message if gmtime() fails, "localtime" -> "gmtime"Hiltjo Posthuma
2020-01-24cleanup some includesHiltjo Posthuma
2018-11-04whitespace and comment fixHiltjo Posthuma
2018-08-23sfeed_twtxt: slightly nicer outputHiltjo Posthuma
2018-08-22sfeed_twtxt: dont use the author and mention style, use a regular linkHiltjo Posthuma
Thanks trqx for pointing it out!
2018-08-22add sfeed_twtxt format program: format to a twtxt feedHiltjo Posthuma