|
|
9-7-article-bitreich-sfeed-1.9.md - tgtimes - The Gopher Times |
|
|
 |
git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes (git://bitreich.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
Tags |
|
|
 |
README |
|
|
|
--- |
|
|
|
9-7-article-bitreich-sfeed-1.9.md (3101B) |
|
|
|
--- |
|
|
|
1 sfeed 1.9 was released by bob |
|
|
|
2 |
|
|
|
3 sfeed is a tool to convert RSS or Atom feeds from XML to a TAB-separated file. |
|
|
|
4 |
|
|
|
5 It can be found at: |
|
|
|
6 |
|
|
|
7 git://git.codemadness.org/sfeed |
|
|
|
8 gopher://codemadness.org/1/git/sfeed |
|
|
|
9 https://codemadness.org/releases/sfeed/ |
|
|
|
10 gopher://codemadness.org/1/releases/sfeed/ |
|
|
|
11 |
|
|
|
12 sfeed has the following small changes compared to 1.8: |
|
|
|
13 |
|
|
|
14 ## Features |
|
|
|
15 |
|
|
|
16 sfeed_{curses,frames,gopher,html,plain}: add $SFEED_NEW_MAX_SECS |
|
|
|
17 |
|
|
|
18 By introducing the new environment variable $SFEED_NEW_MAX_SECS in some |
|
|
|
19 sfeed_* utilities marking feeds as new based on comparing their age, |
|
|
|
20 it is now possible to override this age limit. The default limit was |
|
|
|
21 the last day (86400 seconds). |
|
|
|
22 |
|
|
|
23 This allows, for example, to be notified about new feeds within the last |
|
|
|
24 hour with by prefixing new items with " N ": |
|
|
|
25 |
|
|
|
26 SFEED_NEW_MAX_SECS=3600 sfeed_plain ~/.sfeed/feeds/* |
|
|
|
27 |
|
|
|
28 While creating a web report for last week's news by: |
|
|
|
29 |
|
|
|
30 SFEED_NEW_MAX_SECS=604800 sfeed_html ~/.sfeed/feeds/* |
|
|
|
31 |
|
|
|
32 This marks the items of the last week as bold in HTML. |
|
|
|
33 |
|
|
|
34 Based on the initial patch by Alvar Penning, thanks! |
|
|
|
35 |
|
|
|
36 sfeed_update/sfeedrc: add url a as parameter to the filter() and order() |
|
|
|
37 function This makes it easier to set filters or ordering by pattern |
|
|
|
38 matching on a group of feeds by the feed URL. For example for Youtube |
|
|
|
39 or Reddit feeds. |
|
|
|
40 |
|
|
|
41 sfeed_curses: move one line down when marking an item as read or unread. |
|
|
|
42 I don't mind either behaviour, but it has been suggested by a few people. |
|
|
|
43 For example the mutt mail client also has this behaviour. |
|
|
|
44 |
|
|
|
45 ## Fixes |
|
|
|
46 |
|
|
|
47 Improve to use proper includes. |
|
|
|
48 |
|
|
|
49 Reduce using some of the unneeded sys/* headers too. Using the C99 |
|
|
|
50 includes. |
|
|
|
51 |
|
|
|
52 sfeed_atom: for gmtime_r() make the error message consistent with |
|
|
|
53 sfeed_mbox. |
|
|
|
54 |
|
|
|
55 Makefile: change Gentoo commented example from -lcurses to -lncurses. |
|
|
|
56 |
|
|
|
57 sfeed_markread: fail early if creating a temporary file failed. |
|
|
|
58 |
|
|
|
59 ## Code-cleaning / pedantic fixes: |
|
|
|
60 |
|
|
|
61 sfeed: datetounix: code-style, change , to separate lines (-Wcomma). |
|
|
|
62 |
|
|
|
63 sfeed_curses: make struct urls static like the other variables. |
|
|
|
64 |
|
|
|
65 sfeed_gopher: reduce scope and shadowing of a variable (no effective |
|
|
|
66 change though). |
|
|
|
67 |
|
|
|
68 xml.h: _XML_H_: macro name with an underscore is a reserved identifier. |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 ## Documentation: |
|
|
|
72 |
|
|
|
73 Improve note about CDNs and HTTP User-Agent blocking and change the |
|
|
|
74 example in sfeedrc.5 by setting a User-Agent. |
|
|
|
75 |
|
|
|
76 sfeedrc.example: add comment to reference to the man pages and README |
|
|
|
77 file. |
|
|
|
78 |
|
|
|
79 README: RSS 0.90+ is supported (not 0.91+). |
|
|
|
80 |
|
|
|
81 Typo fixes, consistency and structure fixes and some rewording. |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 ## Bitreichcon 2023 |
|
|
|
85 |
|
|
|
86 Bitreichcon 2023 was cool. It was also fun to hold a RSS/Atom/web |
|
|
|
87 presentation to a club of like-minded peoples. |
|
|
|
88 |
|
|
|
89 gopher://bitreich.org/1/con/2023 |
|
|
|
90 gopher://bitreich.org/0/usr/20h/phlog/\ |
|
|
|
91 2023-08-10T17-08-41-168752.md |
|
|
|
92 gopher://bitreich.org/0/usr/20h/phlog/\ |
|
|
|
93 2023-08-10T19-40-04-621487.md |
|
|
|
94 |
|
|
|
95 Slides: gopher://bitreich.org/9/con/2023/rec/\ |
|
|
|
96 state-of-sfeed.zip |
|
|
|
97 Audio: gopher://bitreich.org/9/con/2023/rec/\ |
|
|
|
98 brcon2023-dump-2023-08-10-20-06-35.mp3 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 Thanks for all feedback and patches, |
|
|
|
102 |
|
|
|
103 Donations can be send to: |
|
|
|
104 |
|
|
|
105 https://codemadness.org/donate/ |
|
|
|
106 |
|
|
|
107 :) |
|
|
|
108 |
|
|
|
109 Thanks, |
|
|
|
110 Gopherholistic coach, |
|
|
|
111 Hiltjo |
|