I'm parsong RSS news using javascript.. The object returned (from Yahoo YQL) has the news inside a news object.
Normally, it's inside this subobject:
news.results.item
So I would just iterate normally using:
news.results.item.forEach
Now it gets interesting when I'm loading multiple sources.. it can return stuff like
news.results.item (array[10])
news.results.entry (array[10])
news.results.banana (array[10])
My question is, how can I iterate inside these entries when I don't know the naming that will be returned.. is there a simple way to merge them all? (Using jQuery is fine)