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)

marxian 2015-07-31 02:14

cuteNews - RSS news and podcast aggregator
 
cuteNews is a user-friendly internet RSS news and podcast aggregator for Maemo5.

Features include:
  • Choice of 'OSSO' and 'Touch' user interfaces.
  • Choice of 'Dark on light' or 'Light on dark' reading modes.
  • Choice of URL, local file or custom command for subscription sources.
  • Import subscriptions via OPML.
  • Search articles using keywords or SQLite WHERE query.
  • Option to save articles as favourites.
  • Option to automatically download enclosures.
  • Option to add custom URL openers for handling links and enclosures.

Using custom commands for subscription source

The only requirement for a custom command is that it must output a valid RSS feed response to STDOUT, for example:

Code:

wget -q http://talk.maemo.org/external?type=RSS2 -O -
Custom URL openers

Custom URL openers can be managed either in the application, or by manually creating/editing the config file located at
~/.config/cuteNews/urlopeners. Each URL opener has a display name, a regular expression (used to match the activated URL)
and a command that will be executed when a URL is activated:

Code:

[My MP3 handler]
regExp=http(s|)://.+\.mp3$
command=/usr/bin/mp3player

Now, any link to an MP3 file will be opened using the specified command.

Screenshots

http://marxoft.co.uk/static/images/c...s_maemo5_1.png
http://marxoft.co.uk/static/images/c...s_maemo5_3.png
http://marxoft.co.uk/static/images/c...s_maemo5_6.png
http://marxoft.co.uk/static/images/c...s_maemo5_9.png

More screenshots are available at http://marxoft.co.uk/projects/cutenews/

Source code

The source code is available at https://github.com/marxoft/cutenews.

nokiabot 2015-07-31 04:10

Re: cuteNews - RSS news and podcast aggregator
 
well as usual its a solid piece in your cute lineup of diverse products
but for me looks like i am more sticked to copernicious app though its slow but audio news is awsome and uses a fair amount of bandwith daily
but your app looks nicer i mean the layout so would like to ask any chances that it gets ofline mode i.e i open the app select offline consumption and it downloads articles for the session so i am able to disconnet save battrey read whenever i get time in my busy shedule without worring about network or battrey.
also if there is a plugin that i can install on dextop browsers that alows send to n900 i.e links and later on n900 i syncronise and have knowledge and fun without coming returning home with a empty battrey

currently i use opera mini for the purpose it works nice but got flatal flaws like draining battrey even if i disconect no ability to open links via system i.e a huge problem in itself no systemwide copypaste and more so i use a combination of linguine and opera daily it works but makes my n900 pee in my pockets

hopes are high for a new generation content aggregator program


thanks

endsormeans 2015-07-31 05:23

Re: cuteNews - RSS news and podcast aggregator
 
very good idea that nokiabot...yeah that is one thing I love is downloading for offline perusal later...

marxian 2015-07-31 14:15

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by nokiabot (Post 1478341)
well as usual its a solid piece in your cute lineup of diverse products
but for me looks like i am more sticked to copernicious app though its slow but audio news is awsome and uses a fair amount of bandwith daily
but your app looks nicer i mean the layout so would like to ask any chances that it gets ofline mode i.e i open the app select offline consumption and it downloads articles for the session so i am able to disconnet save battrey read whenever i get time in my busy shedule without worring about network or battrey.
also if there is a plugin that i can install on dextop browsers that alows send to n900 i.e links and later on n900 i syncronise and have knowledge and fun without coming returning home with a empty battrey

currently i use opera mini for the purpose it works nice but got flatal flaws like draining battrey even if i disconect no ability to open links via system i.e a huge problem in itself no systemwide copypaste and more so i use a combination of linguine and opera daily it works but makes my n900 pee in my pockets

hopes are high for a new generation content aggregator program


thanks

Articles are already downloaded and stored in a SQLite database. The only items not cached to disk are the images, but that option may be added later. You can download enclosures either manually using a long-press on the link, or automatically by enabling the 'Download enclosures automatically' option when adding a feed.

Regarding sync from desktop, you can source articles from wherever you like using the custom command option when adding a feed, so it's possible to use a script that retrieves the articles stored on your desktop machine.

mp107 2015-07-31 17:37

Re: cuteNews - RSS news and podcast aggregator
 
Unfortunately the application does not work properly for me.
It starts normally.
Then I go to "New subscription" and enter the address. All seems to work properly until now.
When I click done it downloads some data for short period of time and sets the name for the feed (properly). But there is no articles. Now every time I hit update it connects to the Internet but does nothing. I can see a short blink of "Updating..." information but the feed still is empty.

nokiabot 2015-07-31 18:26

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by marxian (Post 1478374)
Articles are already downloaded and stored in a SQLite database. The only items not cached to disk are the images, but that option may be added later. You can download enclosures either manually using a long-press on the link, or automatically by enabling the 'Download enclosures automatically' option when adding a feed.

Regarding sync from desktop, you can source articles from wherever you like using the custom command option when adding a feed, so it's possible to use a script that retrieves the articles stored on your desktop machine.

well i ll take my time to use this and report back how far it goes :)
thanks

Tomaszd 2015-08-11 19:36

Re: cuteNews - RSS news and podcast aggregator
 
Is there a plan to support OPML import?

marxian 2015-08-15 23:04

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by Tomaszd (Post 1479260)
Is there a plan to support OPML import?

OPML import has been implemented ready for the forthcoming update. :)

Also, a homescreen widget:

http://marxoft.co.uk/static/images/c..._maemo5_11.png

mp107 2015-08-17 12:21

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by mp107 (Post 1478386)
Unfortunately the application does not work properly for me.
It starts normally.
Then I go to "New subscription" and enter the address. All seems to work properly until now.
When I click done it downloads some data for short period of time and sets the name for the feed (properly). But there is no articles. Now every time I hit update it connects to the Internet but does nothing. I can see a short blink of "Updating..." information but the feed still is empty.

Some clarification:
After starting the app through Terminal, during updating any feed I get an error:
Code:

QNetworkReplyImpl::_q_startOperation was called more than once

marxian 2015-08-19 02:48

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by mp107 (Post 1479685)
Some clarification:
After starting the app through Terminal, during updating any feed I get an error:
Code:

QNetworkReplyImpl::_q_startOperation was called more than once

That is harmless warning caused by a private QtNetwork method being called more than once. The method simply returns in this case, so there is no harm done. Your problem is probably caused by some error in parsing the RSS feed. If you could list the feeds you have tried, I will test them on my device.

marxian 2015-08-19 02:52

Re: cuteNews - RSS news and podcast aggregator
 
Update

Version 0.2.2 will be in -devel soon.

Changelog:

* Add homescreen widget.
* Add OPML import.
* URL opener fixes.

mp107 2015-08-19 14:14

Re: cuteNews - RSS news and podcast aggregator
 
1 Attachment(s)
Quote:

Originally Posted by marxian (Post 1479805)
That is harmless warning caused by a private QtNetwork method being called more than once. The method simply returns in this case, so there is no harm done. Your problem is probably caused by some error in parsing the RSS feed. If you could list the feeds you have tried, I will test them on my device.

Here are some:
Code:

http://bash.org.pl/rss
http://android.com.pl/feed/
http://talk.maemo.org/external.php?type=RSS2

To be honest, until now I didn't come across any feed that would work on cuteNews on my N900.
In the meantime I have reflashed my phone once but it didn't help.
Maybe it is a problem with my phone? I have no idea.
All its functions seem to work properly.
It looks like the application downloads some data from the Internet during refreshing but they aren't shown later or the app don't save them in cuteNews.db file.

Could anybody upload the file cuteNews.db with at least one feed saved in?
I would transfer it to my phone and see if it would work.

EDIT:
My cuteNews.db file has 644 permissions. I attach my file.

After opening that file in SQLite db browser I can see that there are saved subscriptions but there is no articles even though I have refreshed the feeds before.

marxian 2015-08-19 15:28

Re: cuteNews - RSS news and podcast aggregator
 
I checked the database file in sqlite3, and it appears to be fine. I was able to add some dummy data to the 'articles' table without any problem. Have you tried using the latest version 0.2.2? 0.2.2 displays a popup if there is a database error. The other possibility is that there might be some problem with checking the datetime of the latest article when the feed is parsed. If this check returns an invalid datetime, then no articles will be added.

mp107 2015-08-20 08:23

Re: cuteNews - RSS news and podcast aggregator
 
Thank you for paying my attention on possible datetime problems.

The application started to work when I have changed my region to "United Kingdom". Normally I have set "Poland" region. It looks like the issue is somewhere here.

Is it possible to make it work when "Poland" region is set?

marmistrz 2015-08-20 12:11

Re: cuteNews - RSS news and podcast aggregator
 
Added this url: http://rss.gmane.org/messages/comple...auldron.builds

but nothing is downloaded. How to get some log?

capitannemo 2015-08-20 13:00

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by mp107 (Post 1479853)
Thank you for paying my attention on possible datetime problems.

The application started to work when I have changed my region to "United Kingdom". Normally I have set "Poland" region. It looks like the issue is somewhere here.

Is it possible to make it work when "Poland" region is set?



Same problem here; I have changed my region from Spain to UK and cuteNews has started to work properly (not reading feeds before that)

What an odd behaviour... :confused:

Cheers!

mp107 2015-08-20 13:30

Re: cuteNews - RSS news and podcast aggregator
 
Probably not as odd. ;)
Most likely there exists some API which returns some data (date?) in different formats depending on regional setting.
And cuteNews currently supports only one specified.
Or there is some bug in Maemo's API if that relationship shouldn't exist.


Quote:

Originally Posted by marmistrz (Post 1479860)
Added this url: http://rss.gmane.org/messages/comple...auldron.builds

but nothing is downloaded. How to get some log?

That feed has some errors.
Check:
https://validator.w3.org/feed/check....auldron.builds
Probably cuteNews is unable to parse date/time data and ignore the whole feed.

marxian 2015-08-26 19:18

Re: cuteNews - RSS news and podcast aggregator
 
Update

Version 0.3.0 is now available from -devel.

Changelog:
  • Add support for subscription plugins.
  • Fix datetime locale issues.
  • Improve feed parsing.

Plugins

Plugins are effectively preset custom commands that optionally define user-configurable parameters. The parameter names and their user-defined values are stored in the database and passed to the executable when updating the subscription feed. Plugins can also provide a redirect for enclosure downloads.

The first available plugin is cutenews-youtube, which provides a feed of latest YouTube videos determined by either a search query, or a user channel name. Source code for the plugin is at https://github.com/marxoft/cutenews/...lugins/youtube.

mp107 2015-08-27 11:02

Re: cuteNews - RSS news and podcast aggregator
 
Unfortunately the problem still persists in the newest version.
The behavior seems to be the same.

sixwheeledbeast 2017-03-13 16:45

Re: cuteNews - RSS news and podcast aggregator
 
Anyone tried the new version from Devel?
Doesn't seem to start, wondered if it was just me?
No output if run from a terminal either.

t-b 2017-03-13 19:08

Re: cuteNews - RSS news and podcast aggregator
 
Ditto - I think I tried to install it a while ago as well and can't remember that it worked then. Program is still being developed maybe this is the moment to push an update.

I am currently using elfeed in emacs for reading rss feeds on my N900

sixwheeledbeast 2017-03-13 23:20

Re: cuteNews - RSS news and podcast aggregator
 
This is version 1.0.0 released only a week ago.

t-b 2017-03-14 14:58

Re: cuteNews - RSS news and podcast aggregator
 
OK - so it is already the latest version. Version I installed that failed was also 1.0.0

marxian hasn't logged in for a while, maybe he prefers a bug report in git or a pm will get his attention.

sixwheeledbeast 2017-03-14 20:41

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by t-b (Post 1525395)
OK - so it is already the latest version. Version I installed that failed was also 1.0.0

marxian hasn't logged in for a while, maybe he prefers a bug report in git or a pm will get his attention.

After a bit of testing last night it appears that the cutenews binary is run with a flag to start either the widget or window.
So /opt/cutenews/bin/cutenews --window works, I would assume that the issue is the N900 .desktop folder is now executing an old start script "showwindow"?

sicelo 2017-06-07 17:44

Re: cuteNews - RSS news and podcast aggregator
 
just found where the real problem is - file permissions. so this fix works:
Code:

root:# chmod 755 /opt/cutenews/bin/showwi*

sicelo 2017-10-02 17:56

Re: cuteNews - RSS news and podcast aggregator
 
There was an update! :-)

Unfortunately, the issue above remains, and the solution still applies.

I've opened an issue on GitHub.

sicelo 2017-10-02 18:41

Re: cuteNews - RSS news and podcast aggregator
 
Is anyone able to open HTTPS feeds? Or we should submit a feature request?

nonsuch 2020-01-22 21:04

Re: cuteNews - RSS news and podcast aggregator
 
I can import an OPML file and the feeds show up.
But I don't get a list of articles when I open a feed, even after "Update".
The log shows no errors but says e.g. "Subscriptions::parseXml(). No new articles since ke tammikuuta 22 22:54:33 2020 for subscription 696eb7d1-d2ed-439b-a8cc-e55bbdd560dc"
Is this expected behaviour or am I missing something here?
I would like to see all articles to date!

edit one day later:
OK, there's at least one RSS feed that has new articles, but they still don't show up.
The feed list is populated (through the OPML import I guess), but clicking on each feed only shows "No articles".

nonsuch 2020-01-27 05:12

Re: cuteNews - RSS news and podcast aggregator
 
Stupid me, I'm having the same issue as mp107 earlier in this thread.
I changed the region to United Kingdom.
I deleted ~/cutenews.
I am now reimporting all my feeds. This is taking much longer than previously; hopefully a good sign (it's a long list).
...and it works.
I wish I could get my Finnish region back, but this is acceptable.

BTW, https feeds work.
Not sure if that's required, but I did this, this and this.

Maemish 2020-01-27 06:42

Re: cuteNews - RSS news and podcast aggregator
 
I could not get cutenews to work or haven't been able to get feeds to work. Would you have time to give step by step instructions how to get it to work. I have hoped to be able to get easily accessable cyber security neews feeds.

nonsuch 2020-01-27 18:32

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by Maemish (Post 1564781)
I could not get cutenews to work or haven't been able to get feeds to work. Would you have time to give step by step instructions how to get it to work.

https://dt.iki.fi/nokia-n900-resurrect, chapter Podcasts.
Still work in progress - be sure to check for additions/corrections later - but it should be enough to get you going.

Maemish 2020-01-27 22:09

Re: cuteNews - RSS news and podcast aggregator
 
I used rss feeds for a while so that I got the headers shwn in the widget. When I clicked and it started to load it I stopped it and changed the address from https to http and got to read it. I used Opera as a browser for reading.Too bad not ofline text based feeds work.

Maemish 2020-01-28 10:04

Re: cuteNews - RSS news and podcast aggregator
 
I am trying to get rss feeds working. Not really understanding at all what I'm doing. My idea is to save .opml feed file to sdcard and then point default rss reader to fetch feeds from there.

I found this https://github.com/cudeso/OPML-Security-Feeds which has some nicee lists about cybersecurity but I don't know how to proceed. There is a code window with a code with list of feeds but how to make it usable - I don't know.

Am I trying something not possible. I got feedcircuit to fetch feed to a cache file and I can read them offline now but I would want to see the headers on my desktop in a widget style. I just can't get this done.

Maemish 2020-01-29 06:56

Re: cuteNews - RSS news and podcast aggregator
 
Anyone know how I could get the default rss reader to use the feed cache feedcircuit has saved on a folder? Maybe too difficult. Just would like to have a automatically refreshing cybersecurity news heads on my desktop.

endsormeans 2020-01-29 07:41

Re: cuteNews - RSS news and podcast aggregator
 
Interestingly...
the n8x0 has the bloody best rss feed app.
it is stock ..
the app widget is resizable ..
it is auto scrolling ...(better than ticker tape)...
and you can set the updating ..

Freakin' absolute best designed rss feed reader EVER.

I am just astounded it was never redesigned or ported forward to the n900 or beyond.
It is one of the gems of the n8x0 line.

nonsuch 2020-01-29 08:05

Re: cuteNews - RSS news and podcast aggregator
 
^ does it handle HTPPS connections?

nonsuch 2020-02-14 08:33

Re: cuteNews - RSS news and podcast aggregator
 
It seems cutenews handles most SSL connections, but not all.
For some feeds I get "SSL handshake failed" errors when trying to update them.
However:
I can download them OK with my newer wget version.
Now according to post #1 of this thread I can tell cutenews to use wget to get RSS feeds, but it doesn't seem to work - I still get the very same error messages for some feeds.

My ~/.config/cutenews/settings currently looks like this:
Code:

[Browser]
javascriptEnabled=false

[Transfers]
downloadPath=/home/user/MyDocs/Podcasts
customCommand=/usr/bin/wget %f -O -
customCommandEnabled=true

[Logger]
verbosity=3

Does anybody actually use this, and can tell me if this works at all or where I'm going wrong?

Maemish 2020-02-14 08:38

Re: cuteNews - RSS news and podcast aggregator
 
I'm also interested on this. I use feedcircuit to download feeds from hackernews and register cybersecurity and for now it is enough for me but other options would be good to have.

Halftux 2020-02-14 12:03

Re: cuteNews - RSS news and podcast aggregator
 
Quote:

Originally Posted by nonsuch (Post 1565353)
It seems cutenews handles most SSL connections, but not all.
For some feeds I get "SSL handshake failed" errors when trying to update them.
However:
I can download them OK with my newer wget version.
Now according to post #1 of this thread I can tell cutenews to use wget to get RSS feeds, but it doesn't seem to work - I still get the very same error messages for some feeds.

Do you using the version from the repos?
Can you give an example RSS feed which do not work?

xman 2020-02-14 14:05

Re: cuteNews - RSS news and podcast aggregator
 
I switched to cutenews recently after the built in one kept corrupting and many url wouldn't work.

The only thing I miss is images included with articles.

x


All times are GMT. The time now is 11:09.

vBulletin® Version 3.8.8