![free rss feed reader free rss feed reader](https://windows-cdn.softpedia.com/screenshots/F-RSS-Feed-Reader_5.png)
Var e = document.getElementById("ddlViewBy") var strUser = e.options.value Would make strUser be 2. If you have a select element that looks like this: The solution came from StackOverflow user Paolo Berganino.
#FREE RSS FEED READER HOW TO#
I learned how to get a selected value in a dropdown list using JavaScript. The biggest thing I learned is not actually shown in my project code.īut, I learned it in my quest to manipulate the data coming from the JavaScript feed object. So, I searched until I found Feednami's Feed Reader API solution.Īfterwards, it was just a matter of putting my RSS's url into the script and then manipulating the data from the object to have it show onto the web page. In the past, you could use the Google AJAX Feed Reader API to fetch this information, but it has been discontinued. However, the problem with this project is I had to find a way to covert XML data that came from an RSS feed into a JavaScript Object. Normally, when you fetch content from a web page you can use JSON, which turns the content into an object. Not because the project itself was difficult, but because the project specifications required using some sort of feed reader to fetch content from a RSS feed. This JavaScript feed reader project's objective is to grab an RSS feed from BBC News or another feed and then display it on your web page. JavaScript Feed Reader Project (Hosted on Github Pages) Source Files Share JavaScript Feed Reader Project Hosted Project