Convert RSS feeds elfeed-org format to a file readable by newsboat
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Gator e42a4a3c55 quick n dirty fix for ignoring things that are not headings 11 months ago
.gitignore initial commit 1 year ago
Makefile more tests for good boy points, split entities into files 1 year ago
README.md added examples to readme 12 months ago
feed.go more tests for good boy points, split entities into files 1 year ago
go.mod ignore commented headings 12 months ago
lexer.go removing useless buffer, changing token type to int constants 1 year ago
main.go quick n dirty fix for ignoring things that are not headings 11 months ago
main_test.go more tests for good boy points, split entities into files 1 year ago
token.go removing useless buffer, changing token type to int constants 1 year ago

README.md

org2newsboat

org2newsboat parses an elfeed-org RSS file and writes a urls file readable by Newsboat (Newsbeuter's successor). It exports the URL, tags and link description as a comment if it exists.

Installation

make install to compile the org2newsboat binary and copy it in ~/.local/bin

Input Example

Example : RSS links with tags, commented headings, link description

* RSS Subscriptions                                                  :elfeed:
...
** http://radiofrance-podcast.net/podcast09/rss_18081.xml            :music:
** COMMENT https://thequietus.com/feed                                       :music:
** [[https://www.youtube.com/channel/UCm9K6rby98W8JigLoZOh6FQ][LockPickingLawyer]]            :sec:

Output Example

The link description is kept as a comment, org headings marked as COMMENT are excluded from the generated feed list, tags are processed to work with Newsboat

http://radiofrance-podcast.net/podcast09/rss_18081.xml music
https://www.youtube.com/channel/UCm9K6rby98W8JigLoZOh6FQ sec # LockPickingLawyer