What is the format for RSS feeds
Posted: 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
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