Some more formatting for new sfeed 1.9 article. - tgtimes - The Gopher Times HTML git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit b2690a23c386936f1a6e37902a041b0db1ebb6ae DIR parent 531bf1a9a8b439ea011b38681ef2b3febcf6b215 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 27 Aug 2023 21:24:37 +0200 Some more formatting for new sfeed 1.9 article. Diffstat: M opus7/9-7-article-bitreich-sfeed-1… | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) --- DIR diff --git a/opus7/9-7-article-bitreich-sfeed-1.9.md b/opus7/9-7-article-bitreich-sfeed-1.9.md @@ -34,19 +34,23 @@ This marks the items of the last week as bold in HTML. Based on the initial patch by Alvar Penning, thanks! sfeed_update/sfeedrc: add url a as parameter to the filter() and order() -function This makes it easier to set filters or ordering by pattern matching on -a group of feeds by the feed URL. For example for Youtube or Reddit feeds. +function This makes it easier to set filters or ordering by pattern +matching on a group of feeds by the feed URL. For example for Youtube +or Reddit feeds. sfeed_curses: move one line down when marking an item as read or unread. -I don't mind either behaviour, but it has been suggested by a few people. For -example the mutt mail client also has this behaviour. +I don't mind either behaviour, but it has been suggested by a few people. +For example the mutt mail client also has this behaviour. ## Fixes Improve to use proper includes. -Reduce using some of the unneeded sys/* headers too. Using the C99 includes. -sfeed_atom: for gmtime_r() make the error message consistent with sfeed_mbox. +Reduce using some of the unneeded sys/* headers too. Using the C99 +includes. + +sfeed_atom: for gmtime_r() make the error message consistent with +sfeed_mbox. Makefile: change Gentoo commented example from -lcurses to -lncurses. @@ -58,7 +62,8 @@ sfeed: datetounix: code-style, change , to separate lines (-Wcomma). sfeed_curses: make struct urls static like the other variables. -sfeed_gopher: reduce scope and shadowing of a variable (no effective change though). +sfeed_gopher: reduce scope and shadowing of a variable (no effective +change though). xml.h: _XML_H_: macro name with an underscore is a reserved identifier. @@ -68,7 +73,8 @@ xml.h: _XML_H_: macro name with an underscore is a reserved identifier. Improve note about CDNs and HTTP User-Agent blocking and change the example in sfeedrc.5 by setting a User-Agent. -sfeedrc.example: add comment to reference to the man pages and README file. +sfeedrc.example: add comment to reference to the man pages and README +file. README: RSS 0.90+ is supported (not 0.91+).