Page 1 of 2

Toon app: Newsreader (RSS)

PostPosted: Mon Jan 07, 2019 11:37 pm
by Toonz
Hi all,

I just published the initial release of the newsreader app which can show actual rss feeds.
News items are refreshed every 10 minutes.

An initial set of rss sources has been included (/qmf/qml/apps/newsreader/userSettings.json).
This list can be edited via the app or via ssh (gui restart required after editing via ssh).
The default list is attached here in a zip file for reference:
userSettings.zip
(448 Bytes) Downloaded 262 times


The app also installs full list of CA root certificates for use in https connections (source: actual Mozilla CA root certificate store).

Via the menu option 'Wijzig bron' you can select another defined rss source to show, delete existing ones or add new ones.
The tray icon can be disabled.
The tile always shows the latest News header from the current selected rss feed.

Known limitations in the initial release:
- images included in the rss feed are not shown
- if links are provided to websites they will not work obviously as Toon doesn't have a browser

Have fun and let the change requests and bug reports coming..... :-)

Kind regardz,

Toonz

screenshots:
newsreader_screenshot_1.png
newsreader_screenshot_1.png (66.88 KiB) Viewed 6806 times

newsreader_screenshot_2.png
newsreader_screenshot_2.png (60.89 KiB) Viewed 6806 times

newsreader_screenshot_3.png
newsreader_screenshot_3.png (75.81 KiB) Viewed 6806 times

Re: Toon app: Newsreader (RSS)

PostPosted: Tue Jan 08, 2019 10:10 pm
by edwin999
Good job!

I Have two requests:
1. can you show the single article view in full screen?
2. can you integrate navigation arrows for previous/next in the single article screen? I.e.
< Sluiten >

Re: Toon app: Newsreader (RSS)

PostPosted: Tue Jan 08, 2019 10:34 pm
by Toonz
edwin999 wrote:Good job!

I Have two requests:
1. can you show the single article view in full screen?
2. can you integrate navigation arrows for previous/next in the single article screen? I.e.
< Sluiten >

1. Yes. I was a bit lazy for the first release to use the standard dialogbox for the single article view.
I will make this a normal (full) screen in next version
2 Yes

Thanks for the suggestions....

Kind regardz,

Toonz

Re: Toon app: Newsreader (RSS)

PostPosted: Fri Jan 11, 2019 10:41 am
by mAiden
Nicely done Toonz. Works perfectly.

Take the app all the RSS feeds on dim screen? or only the last used?
Only do not work Tweakers' RSS feed, as it works with feedburner ( http://feeds.feedburner.com/tweakers/mixed )

Re: Toon app: Newsreader (RSS)

PostPosted: Fri Jan 11, 2019 11:30 am
by Toonz
mAiden wrote:Take the app all the RSS feeds on dim screen? or only the last used?
Only do not work Tweakers' RSS feed, as it works with feedburner ( http://feeds.feedburner.com/tweakers/mixed )


The dim screen only shows the latest item of the active RSS feed.
Currently the app only reads one RSS feed at a time.
But it is a nice addition to be able to merge multiple feeds (future version), not too much work to implement.

I will check the tweakers feed when I am back home....

Re: Toon app: Newsreader (RSS)

PostPosted: Fri Jan 11, 2019 9:41 pm
by Toonz
mAiden wrote:Only do not work Tweakers' RSS feed, as it works with feedburner ( http://feeds.feedburner.com/tweakers/mixed )

The tweakers link works fine on my Toon 1 (fw4) and Toon 2 (fw5).
Have you entered the link in the userSettings.json file as "Tweakers@http://feeds.feedburner.com/tweakers/mixed" ?
The text "Tweakers" before the @ is just a logical name of the URL to be shown in the settings screen

Re: Toon app: Newsreader (RSS)

PostPosted: Sat Jan 12, 2019 11:08 pm
by Toonz
Hi all,

the next major version of the newsreader app will be available in the ToonStore early next week (need to do more testing on different firmwares and Toon 1 /2).
Preliminary Changelog 1.1.0:
- all rss feed text now shown as rich text on the tile and screens
- item detail screen completely redesigned, is now a 'flickable' full screen text area
no scrollbar anymore, scroll via vertical swipe gestures
- now showing the publishing time of each item on all screens
- overview screen is now more responsive to clicks (whole cell is clickable compared to the textfield only previously)
- in the overview screen you can now scroll between the different RSS feeds
- in the News item detail screen you can scroll back and forth through the News items of that rss feed

Kind regardz,

Toonz

Re: Toon app: Newsreader (RSS)

PostPosted: Mon Jan 14, 2019 8:41 pm
by Toonz
Hi all,

version 1.1.0 is available in ToonStore (see above), a major improvement over the initial release.

Kind regardz,

Toonz

Re: Toon app: Newsreader (RSS)

PostPosted: Mon Jan 14, 2019 10:13 pm
by edwin999
Thanks a lot, a very useful update!
One minor issue: I wanted to remove the Newsreader tile (so I only have the Systray access). But the tile does not respond to a long press, could you look into this?
Thanks, Ed

Re: Toon app: Newsreader (RSS)

PostPosted: Mon Jan 14, 2019 10:30 pm
by Toonz
edwin999 wrote:Thanks a lot, a very useful update!
One minor issue: I wanted to remove the Newsreader tile (so I only have the Systray access). But the tile does not respond to a long press, could you look into this?
Thanks, Ed

you're right, never noticed before. Didn't know it was possible :-)
Will have a look.

Re: Toon app: Newsreader (RSS)

PostPosted: Mon Jan 14, 2019 10:40 pm
by Toonz
found the root cause but don't like it.
I used a TextEdit filed in readonly mode to show the last News item in rich text format.
This has as a side effect that the mouse clicks are captured for the TextEdit field instead of the tile.

Changing back to a normal text field (not supporting rich text) will make some News titles not look nice.

Anyway, as a temporary workaround you can long press on the field "laatste nieuws" which is a normal Text field after which you can remove the tile.

Will see if I can change the behaviour of the TextEdit field...

Re: Toon app: Newsreader (RSS)

PostPosted: Mon Jan 14, 2019 10:49 pm
by edwin999
You are right, a long press on the tile header did show the option to remove the tile, thanks!

Re: Toon app: Newsreader (RSS)

PostPosted: Mon Jan 14, 2019 11:41 pm
by mAiden
Toonz wrote:
mAiden wrote:Only do not work Tweakers' RSS feed, as it works with feedburner ( http://feeds.feedburner.com/tweakers/mixed )

The tweakers link works fine on my Toon 1 (fw4) and Toon 2 (fw5).
Have you entered the link in the userSettings.json file as "Tweakers@http://feeds.feedburner.com/tweakers/mixed" ?
The text "Tweakers" before the @ is just a logical name of the URL to be shown in the settings screen


Strange Toonz. This is what i get when i put the url in it.
Add url and name to the app from the config screen.

image-2019-01-14.jpg
image-2019-01-14.jpg (12.03 KiB) Viewed 6335 times

Re: Toon app: Newsreader (RSS)

PostPosted: Mon Jan 14, 2019 11:54 pm
by Toonz
wow, weird. Did you install the app via ToonStore?

My userSettings.json for newsreader 1.1.0:
Code: Select all
{"Newsfeeds":["Tweakers@http://feeds.feedburner.com/tweakers/mixed","NOS Algemeen@http://feeds.nos.nl/nosnieuwsalgemeen","NOS Sport@http://feeds.nos.nl/nossportalgemeen","NOS Economie@http://feeds.nos.nl/nosnieuwseconomie","NOS Nieuws Tech@http://feeds.nos.nl/nosnieuwstech","AD@http://www.ad.nl/rss.xml","NRC@http://www.nrc.nl/rss","Bright@http://feeds.bright.nl/brightmagazine?format=xml","New York Times@http://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml","Nu.nl Opmerkelijk@http://www.nu.nl/rss/Opmerkelijk","Nu.nl Algemeen@http://www.nu.nl/rss/Algemeen","Nu.nl Wetenschap@http://www.nu.nl/rss/Wetenschap"],"TrayIcon":"Yes","LastUsedSourceIndex":0}


and the result (both on a Toon 1(fw4) and a Toon 2 (fw5)):

tweakers.png
tweakers.png (67.29 KiB) Viewed 6332 times

Re: Toon app: Newsreader (RSS)

PostPosted: Tue Jan 15, 2019 12:02 am
by Toonz
when you give the command:
Code: Select all
wget http://feeds.feedburner.com/tweakers/mixed -O  tweakers.txt


do you get a file like in this zipfile?
tweakers.zip
(9.97 KiB) Downloaded 229 times