maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [M5] cuteNews - RSS news and podcast aggregator (https://talk.maemo.org/showthread.php?t=95797)

Halftux 2020-02-14 16:12

Re: cuteNews - RSS news and podcast aggregator
 
I have no problems with https feeds but also not using the version from the repos because I am using qt4-network from cssu-devel.
QSsl is set to secureprotocols and I changed the user agent to ("Wget/1.19.5 (linux-gnu)").

For wget, called from cutenews, it could be a shell/environment problem so define the ca path like this in cutenews settings:

Code:

/usr/bin/wget --ca-directory=/etc/certs/common-ca -q %f -O -
Another possibility could be to create a file ".wgetrc" in your home folder with this content.

Code:

ca_directory=/etc/certs/common-ca
Maybe it needs another user agent try with:

Code:

wget -U "Mozilla/5.0"
It could be also that you need a new certificate. But without an example it is impossible to debug.

If nothing helps try wget with this option:
Code:

--no-check-certificate
Checklist(my system):
  • on cssu (stable or testing).
  • openssl1.1.0h and certificates from cssu-devel installed.
  • qt4 core and dependencies from cssu-devel installed.
  • cutenews1.3.1 installed.
  • N900 region to UK.

I can't find my uploaded modified cutenews, I think I posted it somewhere together with qmlbrowser. So I made a new one with version up and execute permission fix.

https://openrepos.net/content/halftux/cutenews

About the qlocale and region settings, cutenews gets somehow the date from it which seems to fail with a different region.

nonsuch 2020-02-16 06:57

Re: cuteNews - RSS news and podcast aggregator
 
^ I was using cutenews 1.3.0 - the highest version that shows up with cssu-devel and extras-devel enabled - I did not know there was a newer one.
I am now trying your 1.3.1 and will report back.

FWIW, one of the podcasts currently not updating at all is
https://www.drabblecast.org/feed/podcast-m4a/

Halftux 2020-02-16 13:57

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by nonsuch (Post 1565385)
^ I was using cutenews 1.3.0 - the highest version that shows up with cssu-devel and extras-devel enabled - I did not know there was a newer one.

Yes it is buried in some thread and it is unknown that it works because nobody tried. So I will upload all related packages to openssl 1.1.0h to my openrepos repository.
Code:

deb https://maemo.openrepos.net/halftux personal main

Quote:

Originally Posted by nonsuch (Post 1565385)
I am now trying your 1.3.1 and will report back.

Good I gave it only a really quick testing and maybe also forget to disable wget command.


Quote:

Originally Posted by nonsuch (Post 1565385)
FWIW, one of the podcasts currently not updating at all is
https://www.drabblecast.org/feed/podcast-m4a/

Ok I will see, but could take some time.

Halftux 2020-02-16 15:15

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by nonsuch (Post 1565385)
FWIW, one of the podcasts currently not updating at all is
https://www.drabblecast.org/feed/podcast-m4a/

I can confirm that this feed is working with v1.3.1.
I can also confirm that I see some pictures. (https://www.riskiq.com/feed/)

@Sicelo
Also your feed is working btw.*
https://mybroadband.co.za/news/feed

But I think there is still a problem with the date? I can't see the latest news? Is this correct?

Maemish 2020-02-16 17:25

Re: cuteNews - RSS news and podcast aggregator
 
Not understanding how this works. Installed your cutenews. Gave as an url this https://feeds.feedburner.com/eset/blog and also one for darkreading rss feed. I recognized both (though for darkreading the date was 1970) but from neither it fetch nothing to reed.

Halftux 2020-02-16 17:37

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by Maemish (Post 1565396)
Not understanding how this works. Installed your cutenews. Gave as an url this https://feeds.feedburner.com/eset/blog and also one for darkreading rss feed. I recognized both (though for darkreading the date was 1970) but from neither it fetch nothing to reed.

This is a known cutenews bug. To fix this you need to change your region settings from N900 to uk. Rebooting and it should work.

nonsuch 2020-02-17 11:41

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by Halftux (Post 1565392)
Yes it is buried in some thread and it is unknown that it works because nobody tried. So I will upload all related packages to openssl 1.1.0h to my openrepos repository.
Code:

deb https://maemo.openrepos.net/halftux personal main

Updating the feeds works just fine now.
All dependencies and requirements are already the same versions as from your repo, or from *-devel.

I still have a problem with downloading some audio files - afaics this happens when the filename has too many "weird" characters in them, the Download shows "Failed: Invalid argument" (0%).
I thought I could use an URL opener to fix this, so I added via GUI (according to the example of post #1 in this thread):

Regex:
Code:

http(s|)://.+\\.mp3.+
Command:
Code:

/usr/bin/wget --ca-directory=/etc/certs/common-ca -q %u -O test.mp3
But the behaviour does not change.
I tried all sorts of permutations, e.g. Regex: .* (this would be my favourite - use the custom downloader for everything).

How do I even trigger this custom URL opener?
What I currently do is
long-tap on feed item => Enclosures
long-tap on URL => Download => don't choose anything, just "Done"
or
normal tap on URL => Open Externally
but nothing seems to be happening in either case?

Halftux 2020-02-17 13:00

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by nonsuch (Post 1565415)
afaics this happens when the filename has too many "weird" characters in them, the Download shows "Failed: Invalid argument" (0%).

Try to set your filename like this with "upper commas".
Code:

'weird_characters.mp3'
Maybe this helps but I can't follow you completly what you try to achieve. Or try to make some html notations with % bla for special characters.

nonsuch 2020-02-20 10:21

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by Halftux (Post 1565419)
I can't follow you completly what you try to achieve.

  • Some enclosure downloads (audio podcasts) fail with cutenews' inbuilt capabilities (no extra commands defined anywhere)
  • I’m trying to use the URL Opener feature as described in post #1 but I’m not sure it’s doping anything at all. How do I
    • define it
    • access it from the GUI
    ??

Do you also use cutenews for podcasts?
Custom URL openers can be used to download Enclosures afaiu.

Halftux 2020-02-20 15:24

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by nonsuch (Post 1565499)
Some enclosure downloads (audio podcasts) fail with cutenews' inbuilt capabilities (no extra commands defined anywhere)

An example would be nice.

Quote:

Originally Posted by nonsuch (Post 1565499)
[*]I’m trying to use the URL Opener feature as described in post #1 but I’m not sure it’s doping anything at all. How do I
  • define it
  • access it from the GUI
??[/list]

I dont't know.

Quote:

Originally Posted by nonsuch (Post 1565499)
Do you also use cutenews for podcasts?
Custom URL openers can be used to download Enclosures afaiu.

Never used cutenews before, but maybe starting to used it.

So I took the version from our repos and patched it. But now I recognized that on github there are some more commits compared to the version in our repos, and I think for what you would like to do, it can't be done with the "regexp" option. I think you need to touch the source code.


All times are GMT. The time now is 14:21.

vBulletin® Version 3.8.8