jarun / buku

:bookmark: Personal mini-web in text
GNU General Public License v3.0
6.47k stars 295 forks source link

Add RSS import/export #750

Closed vagos closed 2 months ago

vagos commented 3 months ago

When exporting to a file ending with .rss, buku will now generate an RSS feed compatible with RSS readers. The feed encodes each bookmark as an entry with <title>, <url>, <conent> and <category> elements.

The feed generated right now is an Atom feed.

Tested both import and export with: buku -e bk.rss and buku -i bk.rss Tested feed validity using newsboat and opening it in Brave browser.

vagos commented 3 months ago

@LeXofLeviafan My bad, something went wrong with the log and had to open a new PR. Incorporated latest comments too.

LeXofLeviafan commented 2 months ago

@vagos Incidentally, I suggest making pull-requests from feature-branches created for that purpose (and only keeping upstream commits in your master in the projects you've forked with the aim to contribute).

This makes it less confusing to manage the remote updates, and allows for multiple feature branches when needed.

vagos commented 2 months ago

@LeXofLeviafan Ah, yes. That makes sense.

By the way, thank you very much for the feedback and help getting this PR ready.

Cheers!