Add new 9-7-article bitreich sfeed 1.9 article. Remove 1.7. - tgtimes - The Gop… | |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws… | |
Log | |
Files | |
Refs | |
Tags | |
README | |
--- | |
commit a9590eae945653d021fd9372bfa9cfdfc42f4586 | |
parent 70b036827ebba8d8a9b75ebdbd1d62ad21caed08 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sun, 27 Aug 2023 21:18:29 +0200 | |
Add new 9-7-article bitreich sfeed 1.9 article. Remove 1.7. | |
Diffstat: | |
M filters/boxquote.filter | 2 +- | |
M filters/markdown.filter | 2 +- | |
D opus7/9-7-article-bitreich-sfeed-1… | 28 ---------------------------- | |
A opus7/9-7-article-bitreich-sfeed-1… | 105 +++++++++++++++++++++++++++… | |
4 files changed, 107 insertions(+), 30 deletions(-) | |
--- | |
diff --git a/filters/boxquote.filter b/filters/boxquote.filter | |
@@ -8,7 +8,7 @@ italicreset="$(echo -ne "\033[23m")" | |
boldformat="$(echo -ne "\033[1m")" | |
boldreset="$(echo -ne "\033[22m")" | |
underlineformat="$(echo -ne "\033[4m")" | |
-underlinereset="$(echo -ne "\033[m")" | |
+underlinereset="$(echo -ne "\033[0m")" | |
reverseformat="$(echo -ne "\033[7m")" | |
reversereset="$(echo -ne "\033[27m")" | |
diff --git a/filters/markdown.filter b/filters/markdown.filter | |
@@ -9,7 +9,7 @@ italicreset="$(echo -ne "\033[23m")" | |
boldformat="$(echo -ne "\033[1m")" | |
boldreset="$(echo -ne "\033[22m")" | |
underlineformat="$(echo -ne "\033[4m")" | |
-underlinereset="$(echo -ne "\033[m")" | |
+underlinereset="$(echo -ne "\033[0m")" | |
reverseformat="$(echo -ne "\033[7m")" | |
reversereset="$(echo -ne "\033[27m")" | |
diff --git a/opus7/9-7-article-bitreich-sfeed-1.7.md b/opus7/9-7-article-bitrei… | |
@@ -1,28 +0,0 @@ | |
-# sfeed 1.7 was released. by Hiltjo | |
- | |
-sfeed is a tool to convert RSS or Atom feeds from XML to a TAB-separated | |
-file. It can be found at: | |
- | |
- git://git.codemadness.org/sfeed | |
- gopher://codemadness.org/1/git/sfeed | |
- https://codemadness.org/releases/sfeed/ | |
- gopher://codemadness.org/1/releases/sfeed/ | |
- | |
-sfeed has the following small changes compared to 1.6: sfeed_curses: | |
- | |
-* Add SCO keys for next, prior (CSI I and CSI G). Tested on DragonFlyBSD | |
- (cons25 console). | |
- | |
-* Add SUN keys support. Tested on OpenIndiana. | |
- | |
-sfeed_gopher: | |
- | |
-* Remove unnecesary PATH_MAX restricting the path length. | |
- This also makes it compile cleanly on GNU/Hurd. | |
- | |
-* Man page and documentation improvements. | |
- | |
-I want to thank all people who gave feedback, | |
- | |
-Thanks, | |
-Hiltjo | |
diff --git a/opus7/9-7-article-bitreich-sfeed-1.9.md b/opus7/9-7-article-bitrei… | |
@@ -0,0 +1,105 @@ | |
+sfeed 1.9 was released by bob | |
+ | |
+sfeed is a tool to convert RSS or Atom feeds from XML to a TAB-separated file. | |
+ | |
+It can be found at: | |
+ | |
+ git://git.codemadness.org/sfeed | |
+ gopher://codemadness.org/1/git/sfeed | |
+ https://codemadness.org/releases/sfeed/ | |
+ gopher://codemadness.org/1/releases/sfeed/ | |
+ | |
+sfeed has the following small changes compared to 1.8: | |
+ | |
+## Features | |
+ | |
+sfeed_{curses,frames,gopher,html,plain}: add $SFEED_NEW_MAX_SECS | |
+ | |
+By introducing the new environment variable $SFEED_NEW_MAX_SECS in some | |
+sfeed_* utilities marking feeds as new based on comparing their age, | |
+it is now possible to override this age limit. The default limit was | |
+the last day (86400 seconds). | |
+ | |
+This allows, for example, to be notified about new feeds within the last | |
+hour with by prefixing new items with " N ": | |
+ | |
+ SFEED_NEW_MAX_SECS=3600 sfeed_plain ~/.sfeed/feeds/* | |
+ | |
+While creating a web report for last week's news by: | |
+ | |
+ SFEED_NEW_MAX_SECS=604800 sfeed_html ~/.sfeed/feeds/* | |
+ | |
+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. | |
+ | |
+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. | |
+ | |
+## 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. | |
+ | |
+Makefile: change Gentoo commented example from -lcurses to -lncurses. | |
+ | |
+sfeed_markread: fail early if creating a temporary file failed. | |
+ | |
+## Code-cleaning / pedantic fixes: | |
+ | |
+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 th… | |
+ | |
+xml.h: _XML_H_: macro name with an underscore is a reserved identifier. | |
+ | |
+ | |
+## Documentation: | |
+ | |
+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. | |
+ | |
+README: RSS 0.90+ is supported (not 0.91+). | |
+ | |
+Typo fixes, consistency and structure fixes and some rewording. | |
+ | |
+ | |
+## Bitreichcon 2023 | |
+ | |
+Bitreichcon 2023 was cool. It was also fun to hold a RSS/Atom/web presentation | |
+to a club of like-minded peoples. | |
+ | |
+ gopher://bitreich.org/1/con/2023 | |
+ gopher://bitreich.org/0/usr/20h/phlog/\ | |
+ 2023-08-10T17-08-41-168752.md | |
+ gopher://bitreich.org/0/usr/20h/phlog/\ | |
+ 2023-08-10T19-40-04-621487.md | |
+ | |
+ Slides: gopher://bitreich.org/9/con/2023/rec/\ | |
+ state-of-sfeed.zip | |
+ Audio: gopher://bitreich.org/9/con/2023/rec/\ | |
+ brcon2023-dump-2023-08-10-20-06-35.mp3 | |
+ | |
+ | |
+Thanks for all feedback and patches, | |
+ | |
+Donations can be send to: | |
+ | |
+ https://codemadness.org/donate/ | |
+ | |
+:) | |
+ | |
+Thanks, | |
+Gopherholistic coach, | |
+Hiltjo |