Skip to content

Makes the db of newsboat (a great rss reader) indexable by desktop search engine like recoll or docfetcher

License

Notifications You must be signed in to change notification settings

thiswillbeyourgithub/IndexableNewsboat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IndexableNewsboat

Makes the databse of newsboat (a great rss reader) indexable by desktop search engine like recoll or docfetcher.

Please read:

  • Why did I make this? I wanted to make my newsboat rss entries searchable though Recoll
  • What do you think of issues and contributions? They are more than welcome, even just for typos, don't hesitate to open an issue.
  • Will this change my database? No, it makes a copy before hand and doesn't change a thing.
  • What version of python should I use? It has been tested on Python 3.9
  • I'd like to index my anki database into recoll, is it possible? I created just that over there
  • How does it work? It finds your database, copies it inside /tmp (otherwise it might be locked), loads it into pandas, drops useless columns, saves each entry as a .txt file, zips all the txt files together, moves the zip in the desired folder, deletes the txt files and the temporary db.
  • Is it cross platform? Currently no, only Linux, and OSX could maybe work quite easily. It's on the todo list but don't be afraid to ask if you think you need this.

Usage:

` python3 ./IndexableNewsboat.py -a ~/snap/newsboat/current/.newsboat/ -o ~/Documents/`
usage: IndexableNewsboat.py [-h] [-n NEWSBOAT_PATH] [-o OUTPUT_PATH]

optional arguments:
-h, --help            show this help message and exit
-n NEWSBOAT_PATH, --newsboat_path NEWSBOAT_PATH
                    The path to the newsboat folder(ex: /home/USER/snap/newsboat/current/.newsboat)
-o OUTPUT_PATH, --output_dir OUTPUT_PATH
                    The path to the output folder

How do entries look like afterwards?

Here's an example entry :

NEWSBOAT RSS EXPORT AS TXT
id:  [XXXXXXXXXXXXX]
guid: [XXXXXXXXXXXXX]

url: [XXXXXXXXXXXXX]
title:  [XXXXXXXXXXXXX]
author: [XXXXXXXXXXXXX]
feedurl:  [XXXXXXXXXXXXX]
pubDate:  [XXXXXXXXXXXXX]

content:
[XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX]

About

Makes the db of newsboat (a great rss reader) indexable by desktop search engine like recoll or docfetcher

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages