t2021-03-13T13-42-00-133769.md - tgtimes - The Gopher Times HTML git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes DIR Log DIR Files DIR Refs DIR Tags --- t2021-03-13T13-42-00-133769.md (3740B) --- 1 # 2021-03-13 13:42:00.133769 UTC (+0000) 2 3 sfeed 0.9.22 and sfeed_curses 0.9.9 was released. 4 5 sfeed is a tool to convert RSS or Atom feeds from XML to a TAB-separated file. 6 7 It can be found at: 8 * git://git.codemadness.org/sfeed 9 * gopher://codemadness.org/1/git/sfeed 10 * https://codemadness.org/releases/sfeed/ 11 * gopher://codemadness.org/1/releases/sfeed/ 12 13 14 sfeed_curses is a curses UI front-end for sfeed. 15 16 It can be found at: 17 * git://git.codemadness.org/sfeed_curses 18 * gopher://codemadness.org/1/git/sfeed_curses 19 * https://codemadness.org/releases/sfeed_curses/ 20 * gopher://codemadness.org/1/releases/sfeed_curses/ 21 22 23 sfeed has the following changes compared to 0.9.21: 24 25 * Fix a time parsing regression with the non-standard date format 26 "2021-02-03 05:13:03" (without T). This non-standard format is now 27 supported again. 28 29 * Fix/improve/refactor URI parsing and formatting. This now supports 30 non-authoritive URI like "magnet:" links. local file URIs like file:/// are 31 now also allowed (of course the user should be careful with file:/// URLs). 32 33 This now follows the RFC standard more closely (but not completely): 34 https://tools.ietf.org/html/rfc3986 35 36 * sfeed_update: just pass the feedurl directly as the base URL. This simplifies 37 the code and allows for more correct transformation of relative URLs. Note 38 though that feeds should not contain relative URLs though. 39 40 * sfeed_update: add an overridable parse() function, using sfeed(1) by default 41 This can be useful to more cleanly make connector scripts. 42 43 * sfeed_update: restructure the code and allow to more easily reuse parts of the 44 functions by including the script. Add an example script in the README to allow 45 more efficient parallel execution using the non-POSIX xargs -P option. 46 47 * Documentation improvements: add examples, typo fixes, mandoc (lint) errors, etc. 48 49 50 sfeed_curses has the following changes compared to 0.9.8: 51 52 * sfeed_content: fix unescaping function. A sequence with an escaped \ before 53 another sequence would be incorrectly unescaped. 54 55 * UI: fix tiny glitch when the feed pane is exactly the same size as the 56 window which incorrectly misaligned the scrollbar by 1 column. 57 58 * sfeed_content: allow to use script on multiple TSV lines, separate entries by 59 a form feed (\f) character. 60 61 * Mark as read: use the ID if the link is empty. This allows to mark items as 62 read if the item does not have a link. An ID field should be mandatory by the 63 feeds specification. 64 Suggested by feedback from Hadrien Lacour, thanks! 65 66 * Add feature to process a sequence of keys automatically on startup. 67 This adds the environment variable $SFEED_AUTOCMD: 68 Read and process a sequence of keys as input commands from this environment 69 variable first, afterwards read from stdin as usual. 70 This can be useful to automate certain actions at the start. 71 72 * Add a horizontal and monocle layout and rework/cleanup drawing logic. 73 * Add the horizontal and monocle layouts. 74 * The monocle layout replaces the mode of hiding the sidebar using 's'. This 75 's' keybind now toggles between a monocle and non-monocle layout (vertical or 76 horizontal). When a feed is read from stdin (no filenames) then the default 77 layout will now be monocle also. 78 * The monocle layout also works nicely on smaller portable screens (such as a 79 Motorola Droid4) or on smaller terminals or if a more newsboat-like style is 80 preferred. 81 * Layouts can be changed with the keybinds '1', '2', '3', a preference can also 82 be set at startup using the recently added SFEED_AUTOCMD feature, like so: 83 SFEED_AUTOCMD=2 sfeed_curses. 84 85 * Allow to spawn the search prompt, even if there is nothing to search for. 86 87 * Documentation improvements and typofixes.