Search code examples
javascriptangularjsrssfirefox-os

Parsing RSS in JS without tierce service (vanilla JS or Angular)


I want to recover an RSS feed in JS.

I looked-up on the web a whole day, and found that nearly everybody use google feed API, Yahoo API, or a nodejs/php page for the computing and Jsonification. And I don't want to depend on a service like Google Feed API.

My goal is to fetch an RSS feed, and then create an array where each article on the feed will be an object, in full javascript.

I'm using Angular JS, so if the help could use the benefits of this lib, it would be great, but I'm not closed to any vanilla-JS code if needed.

For those who may want to ask why : it is for a Firefox OS appliaction, and that's why I can't have any php/nodejs. All have to be made in JS.

Thanks, Tom


Solution

  • Thanks for pople who took the time to answer me :) It appears it is not really possible without any server computing.

    I have to confess that I'm pretty lucky, because the service I wanted to call have just realesed a new API, so happy end for me :)

    Thanks every body !