./news/sfeed, RSS and Atom parser

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 1.5, Package name: sfeed-1.5, Maintainer: leot

RSS and Atom parser (and some format programs).

Required to build:

Master sites:

Filesize: 63.542 KB

Version history: (Expand)

CVS history: (Expand)

   2022-05-28 20:42:30 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
sfeed: Update to 1.5

* sfeed_curses: interrupt waitpid while interactive child program is running
  This now handles SIGTERM on sfeed_curses while an interactive child program is
* sfeed_curses: close stdin before spawning a plumb program in non-interactive
  mode, which is more intuitive: the program doesn't seem to hang when it expects
  input in this case since there is no way to send input anyway.
* Properly escape backslashes in the man pages (thanks adc!).
* Documentation improvements to the man pages and a progress indicator example
  script for sfeed_update.

* Improve read and write error handling in streams in many programs.
* sfeed_update:
  * Improve error handling and return a non-zero status if any feed fails.
    NOTE: this changes the way of using:
        sfeed_update && pkill -SIGHUP sfeed_curses
  * Separate errors to stderr and "OK" messages to stdout.
* sfeed_curses:
  * Avoid processes becoming a zombie (plumb, pipe, yank).
  * Line editor: temporarily disable the mouse when searching with /.
  * Improved signal handling.
  * Improved waiting on processes and status handling.
* sfeed_html/sfeed_frames: add dark mode support to the example stylesheet.
* sfeed_opml_export: use a control-character separator for converting the list.
* General code cleanup improvements.
* Compatibility: reduce the assumption the builtin libc locale is ASCII-compatible
  noticed on OpenBSD 3.8 where iscntrl detected C1 as control-characters,
  breaking UTF-8.
* General documentation improvements.
* Makefile: rebuild sfeed_curses if the same theme changes.
* README: improve error handling in downloader example when a feed fails.
   2022-03-07 23:47:34 by Leonardo Taccari | Files touched by this commit (2)
Log message:
sfeed: Update to 1.3

* Fix a compiler warning with some curses implementations, like NetBSD curses.
* sfeed_curses: add keybinds for the home key and the default home and end key
  for urxvt.
* sfeed_curses: fix a redraw when reloading a file with a feed file read from
  stdin and using an URL file and changing this URL file externally.
* sfeed_curses: cast character for SFEED_AUTOCMD to unsigned char to allow
  character sequences outside the ASCII range.

* README: add an example script to count new and unread items. This can be
  useful for some statusbar indicator (asked about by e-mail).
* Small code-style, comments and documentation improvements and fixes.
   2022-02-10 12:35:16 by Leonardo Taccari | Files touched by this commit (2)
Log message:
sfeed: Update to 1.2

* sfeed parser: extend the time range to atleast 64-bit (long long).
* sfeed parser: allow leap second like 23:59:60 (RFC2822 Section 3.3).
* sfeed_curses: pedantic fix for UB with an empty URL file (qsort and bsearch).
* sfeed_curses: fix a compile warning with tparm() on some systems.

* sfeed_atom: add category field(s).
* sfeed_curses: add feature to go to the next bold row and previous bold row
with J and K.  This is useful to quickly jump to the next new item or new feed.
Thanks to IanJ for the suggestion and feedback!
* sfeed_content: allow to set HTML converter with env variable $SFEED_HTMLCONV.
For example: SFEED_HTMLCONV="w3m -I UTF-8 -O UTF-8 -T text/html -dump"
* Add compile-time option to improve output on dumb non-UTF8 terminals

* Documentation improvements to the man page and a sfeed_download example in
the README: this is a parallel downloader/extractor example script.
* Code-style improvements.
   2021-12-18 15:14:24 by Leonardo Taccari | Files touched by this commit (3)
Log message:
sfeed: Update to 1.1

 * The formatting program sfeed_curses is now merged in the sfeed repo.
   This is a program for viewing items in a curses UI.
   sfeed can still be built without it if its considered bloat with:
         make SFEED_CURSES="".
 * sfeed_mbox: escape the link and enclosure text when using HTML content
   with the option SFEED_MBOX_CONTENT="1"
 * sfeed_mbox: add link as base URL for HTML content.
 * sfeed_mbox: use 64-bit for the checksum number on 32-bit systems.
 * sfeed_content: optimizations to the awk script for the UTF-8 locale and
   string replacements.
 * sfeed_content: add link as base URL for HTML content.
 * Documentation improvements and more examples in the man page.
 * Small code-style improvements.
   2021-10-26 13:09:37 by Nia Alarie | Files touched by this commit (27)
Log message:
news: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:45:00 by Nia Alarie | Files touched by this commit (27)
Log message:
news: Remove SHA1 hashes for distfiles
   2021-08-08 12:51:53 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
sfeed: Update to 1.0

* Performance: enable unlocked I/O by default improving read performance.
* Makefile: switch to use CPPFLAGS -D_DEFAULT_SOURCE preventing warning
  messages on some systems.

* sfeed:
  * Fix regression with parsing RSS guid, by default ispermalink="true".
  * Detect the proper mime-type for XHTML (application/xhtml+xml).
  * Support short digit years for RSS pubDate fields (specified in obsoleted
  * Improve content-type "type" attribute handling/buffering.
  * Improve "ispermalink", "rel" and "type" \ 
attribute handling/buffering.
  * Add support time fields for old/legacy Atom 0.3 feeds.
* sfeed_frames/sfeed_html: show the total counts and improve the title format
  to match the sfeed_curses title.
* sfeed_gopher: unveil: show path when it failed (OpenBSD).
* sfeed_mbox: add environment variable to print content (off by default because
  it can be insecure for some clients).
* sfeed_update: fix message when the configuration file does not exist yet.
* Portability and standards: add BSD-like err() and errx() functions.
* Code-style improvements.
* Documentation improvements: add examples, fix typos, etc.
* README: update newsboat export script to support the content-type field
  which is added in newer newsboat versions.
   2021-03-14 19:18:27 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
sfeed: Update to 0.9.22

* Fix a time parsing regression with the non-standard date format
  "2021-02-03 05:13:03" (without T). This non-standard format is now
  supported again.
* Fix/improve/refactor URI parsing and formatting. This now supports
  non-authoritive URI like "magnet:" links. local file URIs like \ 
file:/// are
  now also allowed (of course the user should be careful with file:/// URLs).
  This now follows the RFC standard more closely (but not completely):
* sfeed_update: just pass the feedurl directly as the base URL. This simplifies
  the code and allows for more correct transformation of relative URLs. Note
  though that feeds should not contain relative URLs though.
* sfeed_update: add an overridable parse() function, using sfeed(1) by default
  This can be useful to more cleanly make connector scripts.
* sfeed_update: restructure the code and allow to more easily reuse parts of
  the functions by including the script. Add an example script in the README
  to allow more efficient parallel execution using the non-POSIX xargs -P
* Documentation improvements: add examples, typo fixes, mandoc (lint) errors,