Closed protist closed 7 years ago
Do they support ownCloud News API? We already have ownCloud News support in master.
"Legacy API"seem to be it, but it's hard to check from the phone.
-- Regards, Alexander Batischev
Ok, I checked and Legacy API is indeed the one used by ownCloud News; we already have an implementation for that.
Oh great! Thanks for that. However, I can't seem to get it working. I have the following in my newsbeuter config.
urls-source "ocnews"
ocnews-login "protist"
ocnews-passwordeval "python -m keyring get owncloud protist"
ocnews-url "https://protist.dynu.com/nextcloud"
However I can't connect.
$ newsbeauter -l 6
Starting newsbeuter 2.10-d1c1...
Loading configuration...done.
Opening cache...done.
Loading URLs from ownCloud News...Authentication failed.
I also tried hard-coding the password with ocnews-password
, but that had the same error.
In my previous comment, I updated to master, then changed my config for ocnews, and got the above errors. I now reverted my config to syncing with tt-rss, and I get the Authentication failed
errors again. I reverted to newsbeuter 2.9, and tt-rss authentication works again.
Do you have a self-signed certificate there? The domain doesn't resolve for me at the moment, so I can't check myself.
Actually, I shouldn't be so lazy, and just state my hypothesis. So: in master
we've added ssl-verifyhost
and ssl-verifypeer
settings, both set to "yes" by default. Here's the docs.
They don't affect TT-RSS and Newsblur (see #537), but should work fine for ownCloud News (and hence nextCloud News). If your certificate is indeed self-signed, try setting both options to "no" and trying with nextCloud again.
Do you have a self-signed certificate there?
Yes, I do.
The domain doesn't resolve for me at the moment, so I can't check myself.
Oh, sorry, the domain name from my config was just dummy text to maintain privacy.
They don't affect TT-RSS…
I actually found that I did need to set ssl-verifypeer no
to get even tt-rss to work.
Having said that, this also worked well for Nextcloud too. (Again, I only needed the one flag for my setup.) Thank you!
However, with the master version, Newsbeuter is ridiculously slow with some commands with Nexcloud. I tried marking articles read with N
. For ten articles, it averaged 1.6 seconds each. I re-tested with tt-rss on the same newsbeuter version, and it is near instantaneous.
But you said previously that TT-RSS is very slow! :P
On a serious note, though: I don't have anything to say offhand, so I've filed an issue #567.
Argh… sorry! 😭
Newsbeuter version (copy from
newsbeuter -v
):Steps to reproduce the issue:
Other info you think is relevant: It would be most excellent if Newsbeuter could sync with Nextcloud News. Nextcloud is the replacement to OwnCloud; the "News" app is a web-based feed aggregator similar to Google Reader, etc. There are over a dozen existing clients, ~3 of them Linux, but none of them command-line based. Adding Nextcloud News support to Newsbeuter would be very useful! Thank you.