I am struggling with my PHP script, so I'd like some additional help please.
I am trying to open a remote RSS/XML file and extract the "title" and "link" within a loop.
This is the RSS/XML file.
<?xml version="1.0" encoding="us-ascii" ?>
<rss version="2.0">
<channel>
<title>RSS</title>
<description>Description</description>
<link></link>
<docs>TBA</docs>
<generator>Website V1</generator>
<ttl>5</ttl>
[B]<item>
<title>Google</title>
<description>Search Engine</description>
<link>http://www.google.com/</link>
</item>
<item>
<title>Yahoo</title>
<description>Search Engine</description>
<link>http://www.yahoo.com/</link>
</item>
<item>
<title>Bing</title>
<description>Search Engine</description>
<link>http://www.bing.com/</link>
</item>[/B]
</channel>
</rss>
I've been using this article, http://www.ibm.com/developerworks/library/os-xmldomphp/, but I'm not getting anywhere.