Toon app: Newsreader (RSS)

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, TerrorSource, Toonz

Toon app: Newsreader (RSS)

Postby Toonz » Mon Jan 07, 2019 10:37 pm

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 34 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 1851 times

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

newsreader_screenshot_3.png
newsreader_screenshot_3.png (75.81 KiB) Viewed 1851 times
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby edwin999 » Tue Jan 08, 2019 9:10 pm

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 >
edwin999
Starting Member
Starting Member
 
Posts: 23
Joined: December 2018

Re: Toon app: Newsreader (RSS)

Postby Toonz » Tue Jan 08, 2019 9:34 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby mAiden » Fri Jan 11, 2019 9:41 am

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 )
mAiden
Member
Member
 
Posts: 222
Joined: July 2017

Re: Toon app: Newsreader (RSS)

Postby Toonz » Fri Jan 11, 2019 10:30 am

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....
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby Toonz » Fri Jan 11, 2019 8:41 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby Toonz » Sat Jan 12, 2019 10:08 pm

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
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby Toonz » Mon Jan 14, 2019 7:41 pm

Hi all,

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

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby edwin999 » Mon Jan 14, 2019 9:13 pm

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
edwin999
Starting Member
Starting Member
 
Posts: 23
Joined: December 2018

Re: Toon app: Newsreader (RSS)

Postby Toonz » Mon Jan 14, 2019 9:30 pm

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.
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby Toonz » Mon Jan 14, 2019 9:40 pm

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...
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby edwin999 » Mon Jan 14, 2019 9:49 pm

You are right, a long press on the tile header did show the option to remove the tile, thanks!
edwin999
Starting Member
Starting Member
 
Posts: 23
Joined: December 2018

Re: Toon app: Newsreader (RSS)

Postby mAiden » Mon Jan 14, 2019 10:41 pm

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 1384 times
mAiden
Member
Member
 
Posts: 222
Joined: July 2017

Re: Toon app: Newsreader (RSS)

Postby Toonz » Mon Jan 14, 2019 10:54 pm

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 1381 times
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Re: Toon app: Newsreader (RSS)

Postby Toonz » Mon Jan 14, 2019 11:02 pm

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 33 times
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1099
Joined: December 2016

Next

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest