David Van Staden
David Van Staden

Reputation: 1779

XMl(RSS) to Javascript

I would like to know, How can you convert(parse) the contents of an RSS feed url to javascript code, which updates itself via the feed url? I currently use an online parser but they do not include the rss images. It's for a feed for my website.

Thanks

Upvotes: 0

Views: 90

Answers (1)

hugomg
hugomg

Reputation: 69924

When you do a XMLHttpRequest for the URL you can get the contents in XML form instead of text. This means it should be already parsed for you and you can use the traditional DOM methods to inspect it.

Upvotes: 1

Related Questions