Closed calm3285 closed 6 months ago
What exactly is the usecase, @calm3285 ? There is already the feature to export to an opml file. Can you elaborate a bit why you would want this?
I fetch youtube videos links. Since i cant see them all, I just save the links. I use miniflux to archive the links aince youtube only get the last 15 videos. some feeda are in their hundreds entries now
Ok, clear. I can add it if you want. My suggestion: I add a new flag: -output-all-articles
. And I will rename the other one. So in total it will be like this:
-output-starred-articles ~/Downloads/starred-articles.xml
-output-all-articles ~/Downloads/all-articles.txt
-output-opml ~/Downloads/feeds.opml
@calm3285 , agree with this? The format of the starred and the all-articles flag is an rss file. Agree with this format?
Will this output ALL the articules or just the unread?
I dont mind the idea of archiving all the articles, but if its gonna output the unread, the flag should be other
I also think you should keep the flags short -output-stars -output-all -output-opml
@calm3285 , can you try: https://github.com/rogierlommers/miniflux-exporter/releases/tag/9
I also updated the docs. My assumption is that you only want to export the unread articles, right? I added that flag now: -output-unread
. Please let me know if this works for you.
skipping opml export (see -help for more info) skipping export of bookmarks/starred entries (see -help for more info) exported 8282 articles, 14 MB written to file phone.xml
it works but it exports more articles that i have Unread (6928)
it works but it exports more articles that i have Unread (6928)
That's strange. I literally ask the miniflux instance for all entries that have status "unread". In my case it works fine. The filter I use when I "talk with the miniflux API":
minifluxFilter = &client.Filter{
Status: client.EntryStatusUnread,
}
Here you see my results, the Miniflux web client reports 35 unreads and the output results also contains 35 unreads.
My bad, I have the "Hide entries in global unread list" option checked in some categories
thanks dude
It will be nice to export all the entries not only the starred