Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-20 Thread Hadrien Lacour
On Fri, Feb 11, 2022 at 02:54:24PM +0100, Hiltjo Posthuma wrote:
> Hi,
>
> I would like to share my project I've been using and tweaking over the years:
>
> sfeed is a RSS and Atom parser (and it has some format programs).
>

Another thank for your project, which completely replaced newboat (and its
ridiculous asciidoctor and thus Ruby build time dependency) for me.

Some tricks that may be useful:
* Use `no_proxy=* feed ...` to disable curl proxying, useful for those
  Cloudflare websites blocking Tor.
* Here's a wrapper around sfeed_curses to conserve the feed order from your
  sfeedrc: https://git.sr.ht/~q3cpma/scripts/tree/master/item/sfeed_view.sh
  (only the logic of overriding the feed function together with eval should be
  "extracted" from this).



Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-16 Thread Laslo Hunhold
On Fri, 11 Feb 2022 14:54:24 +0100
Hiltjo Posthuma  wrote:

Dear Hiltjo,

> I would like to share my project I've been using and tweaking over
> the years:
> 
> sfeed is a RSS and Atom parser (and it has some format programs).

nice to see it having become so advanced over the years. I remember
when you started with it. Keep up the great work! :)

With best regards

Laslo



Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-14 Thread syg
Hi NRK,

> I tried out `choice` several months ago. Really liked it's key-value
> feature and patched my demnu to do something similar[0]. However not
> having a case insensitive search killed it for me.
I've added a case-insensitive and fuzzy search mode, both with a
command-line switch and a runtime shortcut. It hasn't found its way onto
master yet but is available on my branch[1] (with updated manual).

Sylvain

[1]: https://pedantic.software/git/choice/summary/refs/heads/syg


signature.asc
Description: PGP signature


Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-14 Thread NRK
Hi,

I've been using sfeed with the sfeed_curses frontend for a while now and
am generally pretty happy with it.

On Mon, Feb 14, 2022 at 03:15:40PM +1100, syg wrote:
> I made a tiny script on top of a terminal-based menu selector a friend
> and I have been developing for the last few years[1] and it works
> great.

> [1]: https://pedantic.software/projects/choice.html

I tried out `choice` several months ago. Really liked it's key-value
feature and patched my demnu to do something similar[0]. However not
having a case insensitive search killed it for me.

[0]: https://tools.suckless.org/dmenu/patches/separator

- NRK



Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-13 Thread syg
Hi Hiltjo,

Thanks a lot for this neat project. I am using it daily now, it
definitely replaced newsboat for me. I made a tiny script on top of a
terminal-based menu selector a friend and I have been developing for the
last few years[1] and it works great.

I wrote a blog post on my feed setup[2].

Thanks again,
Sylvain

[1]: https://pedantic.software/projects/choice.html
[2]: https://sgauthier.fr/blog/minimalism_3_sfeed.html


signature.asc
Description: PGP signature


Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-12 Thread Hiltjo Posthuma
On Fri, Feb 11, 2022 at 03:26:12PM +0100, Sebastiano Tronto wrote:
> Hello,
> 
> > I would like to share my project I've been using and tweaking over the 
> > years:
> > 
> > sfeed is a RSS and Atom parser (and it has some format programs).
> > [...]
> 
> Thank you Hiltjo for this nice piece of software. I have been using it
> for a while now and I really enjoy its flexibility. As a testament to
> how versatile sfeed is, let me share the little script that I use to
> browse my feeds [1]. It essentially just builds up on your example
> 
> > #!/bin/sh
> > url=$(curl -s gopher://codemadness.org/0/atom.xml | \
> > sfeed | sfeed_plain | \
> > dmenu -l 35 -i | \
> > sed -n 's@^.* \([a-zA-Z]*://\)\(.*\)$@\1\2@p')
> > test -n "${url}" && $BROWSER "${url}"
> 
> but it allows you to organize your feeds in folders and select the ones
> you want to see with dmenu (to be precise with a dmenu-based filepicker
> [2]). It then dynamically generates a sfeedrc file to show you only
> those feeds.
> 
> [1] https://sebastiano.tronto.net/git/scripts/file/sfeed-browser.html
> [2] https://sebastiano.tronto.net/git/scripts/file/dmenu-filepicker.html
> 
> Best,
> Sebastiano
> 

Hi Sebastiano,

Thanks for sharing the example, I'm glad its useful to others and its flexible
to change to your liking :)

-- 
Kind regards,
Hiltjo



Re: [dev] sfeed: RSS/Atom parser and reader

2022-02-11 Thread Sebastiano Tronto
Hello,

> I would like to share my project I've been using and tweaking over the years:
> 
> sfeed is a RSS and Atom parser (and it has some format programs).
> [...]

Thank you Hiltjo for this nice piece of software. I have been using it
for a while now and I really enjoy its flexibility. As a testament to
how versatile sfeed is, let me share the little script that I use to
browse my feeds [1]. It essentially just builds up on your example

>   #!/bin/sh
>   url=$(curl -s gopher://codemadness.org/0/atom.xml | \
>   sfeed | sfeed_plain | \
>   dmenu -l 35 -i | \
>   sed -n 's@^.* \([a-zA-Z]*://\)\(.*\)$@\1\2@p')
>   test -n "${url}" && $BROWSER "${url}"

but it allows you to organize your feeds in folders and select the ones
you want to see with dmenu (to be precise with a dmenu-based filepicker
[2]). It then dynamically generates a sfeedrc file to show you only
those feeds.

[1] https://sebastiano.tronto.net/git/scripts/file/sfeed-browser.html
[2] https://sebastiano.tronto.net/git/scripts/file/dmenu-filepicker.html

Best,
Sebastiano