strukturart / feedolin

rss reader and podcast player for KaiOS
https://feedolin.strukturart.com
MIT License
34 stars 6 forks source link

Support for OPML import #1

Closed sibeliusg closed 3 years ago

sibeliusg commented 3 years ago

As I have a lot of feeds in my other news readers, inserting all into the json file is a lot of work. Importing them by an .opml file would be much more pleasant

strukturart commented 3 years ago

I will try, what is the structure of the opml files?

sibeliusg commented 3 years ago

It is in Markup language

Something like this: https://ufile.io/r2nxt1di

strukturart commented 3 years ago

in principle opml would be possible, but I save in the json file how many articles from the feeds should be displayed in the reader. I did it that way because you can quickly change a device and because the user input in the phone is really no fun.

sibeliusg commented 3 years ago

I see. Most Feed readers only have a global setting, which defines how many articles per feed are loaded... opml is kind of standard for most news readers. That's why I believe it would be nice and easy to have. For me it would be okay to define globally, how many articles are loaded rather than for each feed individually.

strukturart commented 3 years ago

yes that would be a possibility, if the global value set is used, otherwise it was stored in the json file.

strukturart commented 3 years ago

https://github.com/strukturart/rss-reader/projects/1

strukturart commented 3 years ago

I started to support .opml files, please do a test by storing the url for your opml in the settings. in order not to write the whole url you can use a qr code. the structure should look like this: https://raw.githubusercontent.com/strukturart/rss-reader/master/example.opml

sibeliusg commented 3 years ago

Thank you! The result is a white screen with a black stripe and after some seconds it brings me to the settings of the app. Impossible to close the app now...

at <anonymous> (app://{6578cafa-ae8b-423e-8880-0f3cad1293c1}/assets/js/script.js:802:1)

is all webIDE-console is giving me

Here is the OPML

strukturart commented 3 years ago

is the opml file stored online or locally ?

Am Do., 20. Mai 2021 um 11:26 Uhr schrieb sibeliusg < @.***>:

Thank you! The result is a white screen with a black stripe and after some seconds it brings me to the settings of the app. Impossible to close the app now...

at (app://{6578cafa-ae8b-423e-8880-0f3cad1293c1}/assets/js/script.js:802:1)

is all webIDE-console is giving me

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/strukturart/rss-reader/issues/1#issuecomment-844907570, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIKX3MPHL3PTVQ3GZDLSD3TOTIV5ANCNFSM45B3OOOQ .

sibeliusg commented 3 years ago

it's online. I used the link above

strukturart commented 3 years ago

Your opml file works for me, did you save it in the correct field in the settings? have you installed the latest version of the app via webIDE?

strukturart commented 3 years ago

updated: support for local opml file

sibeliusg commented 3 years ago

I installed the Zip-build. Am I supposed to install via WebIDE? I'll try the latest version

sibeliusg commented 3 years ago

Well the new app doesn't load more than the Welcome screen or stays at a white screen. No console output at all. Installed latest git-version with WebIDE

strukturart commented 3 years ago

pls try the zip from the pre release: https://github.com/strukturart/rss-reader/releases/tag/1.8

sibeliusg commented 3 years ago

yesss!!! works! Awesome! Thank you for bringing us the best news reader for KaiOS!

strukturart commented 3 years ago

Your are welcome! pls share the app and have look to my o.map app: https://github.com/strukturart/o.map

sibeliusg commented 3 years ago

Yep! I use o.map for quite some time and love it. Same with Telekram and Bhackers-Store.

strukturart commented 3 years ago

I've added a new tab: recently played, if you want to test it....