The Feed is:
<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5.2" -->
<rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
<channel>
<title>Apnijobs.com: Jobs in Pakistan</title>
<link>http://www.apnijobs.com</link>
<description>Work for pleasure, not for creating more work - Search
Jobs in Pakistan and around the World.</description>
<pubDate>Mon, 27 Mar 2006 10:35:13 +0000</pubDate>
<generator>http://wordpress.org/?v=1.5.2</generator>
<language>en</language>
<item>
<title>Teachers Required for Nursery / Kindergarten and Junior School
(Karachi)</title>
<link>http://www.apnijobs.com/teachers-required-for-nursery-kindergarten-and-junior-school-karachi.html</link>
<comments>http://www.apnijobs.com/teachers-required-for-nursery-kindergarten-and-junior-school-karachi.html#comments</comments>
<pubDate>Mon, 27 Mar 2006 10:34:17 +0000</pubDate>
<dc:creator>Ali Asgher</dc:creator>
<category>Teaching</category>
<category>Listing</category>
<category>Jobs</category>
<guid>http://www.apnijobs.com/teachers-required-for-nursery-kindergarten-and-junior-school-karachi.html</guid>
<description><![CDATA[<p>School of excellence requires teachers for
Nursery / Kindergarten and Junior school Science teach...</p>
]]></description>
<content:encoded><![CDATA[<p>School of excellence requires teachers
for Nursery / Kindergarten and Junior school Science teacher for
immediate appointment. </p>
<p>Contact 021-4981303, 4816345.</p>
<p>Address: D-2, Block-4, Gulshan-e-Iqbal, Karachi.</p>
<p>E-mail:
so*@cyber.net.pk</p>
]]></content:encoded>
<wfw:commentRSS>http://www.apnijobs.com/teachers-required-for-nursery-kindergarten-and-junior-school-karachi.html/feed/</wfw:commentRSS>
</item>
--------------------------------------------------------------------------------------------------------
and the code is:
for (var i=0; i<this.feeditems.length; i++){
if(i==this.feed_id){
var feedfound=1
this.title[i]=this.feeditems[i].getElementsByTagName("title")[0].firstChild.nodeValue
this.link[i]=this.feeditems[i].getElementsByTagName("link")[0].firstChild.nodeValue
this.description[i]=this.feeditems[i].getElementsByTagName("description")[0].firstChild.nodeValue
this.pubdate[i]=this.feeditems[i].getElementsByTagName("pubDate")[0].firstChild.nodeValue
tickercontent = "<a
href="+this.link[i]+">"+this.title[i]+"</a>"+"<br/>"
}
}