Hi guys
I am trying to buld an rss reader for random rss feeds in javascript. I need to catch the data in an event as I am going to pass around that event. I tried realtime.co or firebase and feedthefire but, there is no result so far. If someone has a relevant link that would be great
Thanks in advance
llgms 0 Newbie Poster
Recommended Answers
Jump to Postvar sites = [...]; //list of all the sites you need - choose one at random var site = sites[Math.floor(Math.random() * sites.length)]; var yql = 'http://query.yahooapis.com/v1/public/yql?q=' + encodeURIComponent('select * from xml where url="' + site + '"') + '&format=xml&callback=?'; // Request that YSQL string, …
Jump to PostI need one with the server pushing
Unless your server runs something like node.js, pushing to the client is impossible. Long polling is the way to go.
All 6 Replies

diafol
llgms 0 Newbie Poster

diafol
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
llgms 0 Newbie Poster
llgms 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.