Hi Marcoo,
I don't think that is possible at the moment, and that kind of automation is not really something we are likely to support/implement in Newsboat.
From the sfeed description:
> It converts RSS or Atom feeds from XML to a TAB-separated file.
and
> There are also some programs and scripts included to <...> fetch, filter, merge and order feed items.
However, I didn't use it before, so I'm not sure how to use it.
If you really want to use Newsboat for this, the first two steps of your list can be automated with newsboat and some other CLI tools, e.g.:
```
#!/usr/bin/env bash
set -e
set -x
RSS_URL='
https://newsboat.org/news.atom'
TEMP=`mktemp -d`
echo "$RSS_URL" >> "$TEMP/urls"
newsboat --url-file "$TEMP/urls" --cache-file "$TEMP/cache.db" --config-file /dev/null --execute reload
# Show number of articles in database
sqlite3 "$TEMP/cache.db" 'select COUNT(*) from rss_item;'
```
Afterwards, the cache file (an sqlite3 database) can be queried with the sqlite3 CLI tool.
However, that is again a tool I'm not very familiar with.
Keep in mind that the database model is an implementation detail, we don't guarantee that the database schema will be kept backwards compatible.
Kind regards,
Dennis