Dashticz - Latest news

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Post Reply
JacEngels
Posts: 18
Joined: Sunday 03 December 2017 10:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Dashticz - Latest news

Post by JacEngels »

There is a newsfeed for the news in my region: http://feeds.feedburner.com/l1/nieuws but I can't get it working with some of the provided solutions.
Any idea / solution is appreciated.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Latest news

Post by robgeerts »

Do you get any errors in your console (f12) ?
rldn
Posts: 16
Joined: Thursday 16 November 2017 20:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz - Latest news

Post by rldn »

I asked in the general topic for a solution a long time ago now, no reactions. My feeds dont work. Nothing shows up. Neither with the proxy.
JacEngels
Posts: 18
Joined: Sunday 03 December 2017 10:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Dashticz - Latest news

Post by JacEngels »

robgeerts wrote: Wednesday 03 January 2018 21:49 Do you get any errors in your console (f12) ?
I get this message in the console:
Failed to load http://feeds.feedburner.com/l1/nieuws: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.3:8080' is therefore not allowed access.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz - Latest news

Post by robgeerts »

@rldn, just tested the following and it worked:

Code: Select all

blocks['news_10'] = {}
blocks['news_10']['feed'] = 'https://cors-anywhere.herokuapp.com/http://www.nu.nl/rss/algemeen';
@JacEngels, try using this as the url: https://cors-anywhere.herokuapp.com/htt ... /l1/nieuws
So, for example:

Code: Select all

blocks['news_10'] = {}
blocks['news_10']['feed'] = 'https://cors-anywhere.herokuapp.com/http://feeds.feedburner.com/l1/nieuws';
JacEngels
Posts: 18
Joined: Sunday 03 December 2017 10:17
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Contact:

Re: Dashticz - Latest news

Post by JacEngels »

Rob, i've already tried this and it isn't working.
The nu.nl news is working but the L1 news not.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest