Hello,
Got another RSS feed issue.
We have here in the Netherlands P2000 a 'semaphone' system where Police/Fire department/Ambulance/Life liner can be monitored.
Let me begin by saying if I replace the default RSS feed in the config file to https://feeds.livep2000.nl
it works although it alternates because its officially the news feed.
or replace the url in the traffic.js file it works. but I want to be able to see the last 10 entries or so.
So reading here and there I came to the following two formats:
blocks['P2000'] ={};
blocks['P2000'] = {feed: 'https://feeds.livep2000.nl/?r=3&d=1,2,3'}; // or { feed: 'https://www.alarmeringen.nl/feeds/region/drenthe.rss'};
but also found:
blocks['P2000'] ={};
blocks['P2000']['feed'] = 'https://feeds.livep2000.nl/?r=3&d=1,2,3';
update: found in the block.js a case statement where there is a compare which search for 'news_' so I
made: blocks['news_p2000']={}; with above 2 formats, but also not working
the r in the url is the region I live in, the d is for the discipline Police,Firedepartment,Ambulance
and of course 'P2000' in a column
all info can be found here, sorry in Dutch only: https://www.livep2000.nl/index.php?p=rssfeedsInfo
oh, I tried with and without config['default_cors_url']
But neither formats work for me, what do I miss?
Thanks in advance.
Regards
Frank
What is the format for RSS feeds
Moderators: leecollings, htilburgs, robgeerts
-
- Posts: 2287
- Joined: Monday 29 August 2016 22:40
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: What is the format for RSS feeds
The following is working for me:yfands wrote: ↑Monday 13 May 2019 20:54 Hello,
Got another RSS feed issue.
We have here in the Netherlands P2000 a 'semaphone' system where Police/Fire department/Ambulance/Life liner can be monitored.
Let me begin by saying if I replace the default RSS feed in the config file to https://feeds.livep2000.nl
it works although it alternates because its officially the news feed.
or replace the url in the traffic.js file it works. but I want to be able to see the last 10 entries or so.
So reading here and there I came to the following two formats:
blocks['P2000'] ={};
blocks['P2000'] = {feed: 'https://feeds.livep2000.nl/?r=3&d=1,2,3'}; // or { feed: 'https://www.alarmeringen.nl/feeds/region/drenthe.rss'};
but also found:
blocks['P2000'] ={};
blocks['P2000']['feed'] = 'https://feeds.livep2000.nl/?r=3&d=1,2,3';
update: found in the block.js a case statement where there is a compare which search for 'news_' so I
made: blocks['news_p2000']={}; with above 2 formats, but also not working
the r in the url is the region I live in, the d is for the discipline Police,Firedepartment,Ambulance
and of course 'P2000' in a column
all info can be found here, sorry in Dutch only: https://www.livep2000.nl/index.php?p=rssfeedsInfo
oh, I tried with and without config['default_cors_url']
But neither formats work for me, what do I miss?
Thanks in advance.
Regards
Frank
Code: Select all
blocks['news_1']={
feed:'https://feeds.livep2000.nl/?r=3&d=1,2,3'
}
If you have a php enabled web server then it should work with the default Dashticz settings.
It only works with a recent beta version of Dashticz.
-
- Posts: 67
- Joined: Monday 04 July 2016 10:16
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest B
- Location: Netherlands
- Contact:
Re: What is the format for RSS feeds
@LokonliLokonli wrote: ↑Friday 17 May 2019 23:54The following is working for me:yfands wrote: ↑Monday 13 May 2019 20:54 Hello,
Got another RSS feed issue.
We have here in the Netherlands P2000 a 'semaphone' system where Police/Fire department/Ambulance/Life liner can be monitored.
Let me begin by saying if I replace the default RSS feed in the config file to https://feeds.livep2000.nl
it works although it alternates because its officially the news feed.
or replace the url in the traffic.js file it works. but I want to be able to see the last 10 entries or so.
So reading here and there I came to the following two formats:
blocks['P2000'] ={};
blocks['P2000'] = {feed: 'https://feeds.livep2000.nl/?r=3&d=1,2,3'}; // or { feed: 'https://www.alarmeringen.nl/feeds/region/drenthe.rss'};
but also found:
blocks['P2000'] ={};
blocks['P2000']['feed'] = 'https://feeds.livep2000.nl/?r=3&d=1,2,3';
update: found in the block.js a case statement where there is a compare which search for 'news_' so I
made: blocks['news_p2000']={}; with above 2 formats, but also not working
the r in the url is the region I live in, the d is for the discipline Police,Firedepartment,Ambulance
and of course 'P2000' in a column
all info can be found here, sorry in Dutch only: https://www.livep2000.nl/index.php?p=rssfeedsInfo
oh, I tried with and without config['default_cors_url']
But neither formats work for me, what do I miss?
Thanks in advance.
Regards
Frankand then add 'news_1' to a column definition.Code: Select all
blocks['news_1']={ feed:'https://feeds.livep2000.nl/?r=3&d=1,2,3' }
If you have a php enabled web server then it should work with the default Dashticz settings.
It only works with a recent beta version of Dashticz.
Thank you, all is working now, (except I wanted to see the last 10 entries but thats my problem not Dsahticz

I dont know where I messed up, but cut and past your example and voila working, although I tried blocks['news_p2000']
which didnt work. But thats also working now

Regards
Frank
Who is online
Users browsing this forum: No registered users and 1 guest