Hello Cristian,
Newsboat doesn't provide a way to export to RSS, and I don't think it
should. It's an end-user application, not meant to be used as
middleware. It only exports to formats that are useful to end users,
like OPML and plain text.
That said, you can still leverage Newsboat for your project. All the
downloaded items are stored in an SQLite3 database, located in
~/.newsboat/cache.db by default. You can use SQLite command-line tool to
export all article bodies in CSV:
$ sqlite3 ~/.newsboat/cache.db
sqlite> .mode csv
sqlite> .output articles.csv
sqlite> select content from rss_item;
I believe R can read CSV files, so that should cover your needs. Perhaps
R even has bindings for SQLite, to import SQL tables straright into
R tables; I'm not sure.
We don't make any promises about the database structure, so there is no
user documentation for it. But I believe you can make sense of it if you
run ".schema" in sqlite prompt and consult SQLite's docs on CREATE TABLE
statement. If something is still unclear, don't hesitate to ask here.
I'm not sure how software is cited; I guess you'll need author(s),
title, and a URL? If so, please attribute it to "Alexander Batischev and
Newsboat contributors". The title would be "Newsboat", and the URL would
be "
https://newsboat.org".
--
Regards,
Alexander Batischev
PGP key 356961A20C8BFD03
Fingerprint: CE6C 4307 9348 58E3 FD94 A00F 3569 61A2 0C8B FD03