Jump to content

Data from XML


iNealec

Recommended Posts

How can i get all the item titles, descriptions & links from http://feeds.bbci.co.uk/news/rss.xml.

 

I managed it with php but I need to use client side scripting.

 

Desired output would be something like this:

<a href="link">
<span class="item-title">title</span
<span class="item-description">description</span>
</a>

<a href="link">
<span class="item-title">title</span
<span class="item-description">description</span>
</a>

<a href="link">
<span class="item-title">title</span
<span class="item-description">description</span>
</a>

Thanks in advance for any help.

Link to comment
https://forums.phpfreaks.com/topic/286199-data-from-xml/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.