parse rss feed using javascript
问题 I am parsing an RSS feed using PHP and JavaScript. First I created a proxy with PHP to obtain the RSS feed. Then get individual data from this RSS feed using JavaScript. My issue with with the JavaScript. I am able to get the entire JavaScript document if I use console.log(rssData); with no errors. If I try to get individual elements within this document say for example: <title> , <description> , or <pubDate> using rssData.getElementsByName("title"); it gives an error "Uncaught TypeError: