Parsing and encoded RSS Feed with JQuery

Hey all,

I'm attempting to parse an RSS feed, but it looks like all of the elements in the <description> tag are coming over HTMLEncoded.  

The logical answer here would be "Well, DECODE it then!".

Right, but after it's decoded, I've attempted to get JQuery to "find" an element (specifically an img tag) with no success.

My code looks like this:

if(jQuery('rss', xml).length == 0) this.version = '1.0';
        else this.version = jQuery('rss', xml).eq(0).attr('version');

        var channel = jQuery('channel', xml).eq(0);
        var images = jQuery(channel).find('img');

A sample feed is attached... any help would be greatly appreciated.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

there's not image node/tag but : <img instead < img
channel is ok ( < channel )
sbweitzmanAuthor Commented:
I figured it out...  i was looking fro images within the channel.  The code looks like this:

jQuery('img:first', item.description);

Where item.description =


The problem I'm having now is that Frikkin JQ can't find an image... argh.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sbweitzmanAuthor Commented:
I figured this out on my own, though I was still having some intresting JQ issues in the end.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.