scottbak
07-18-2006, 03:24 PM
Script: Ajax Ticker
http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm
I am trying to add the ability to pull the images from the rss feed without prevail.
I tried editing these but it hung the ticker at initializing ticker...
rssticker.js:
var enclosureurl='<div class="rssdate"><a class="SText" href="'+this.link
if (this.logicswitch.indexOf("enclosureurl")==-1) enclosureurl=""
+enclosreurl //STRING FOR FEED CONTENTS
Bridge.php:
echo "<item>\n<link>$item[link]</link>\n<title>$item[title]</title>\n<enclosureurl>$item[enclosure url]</enclosureurl>\n<description>$item[description]</description>\n<pubDate>$item[pubDate]</pubDate>\n</item>\n\n";
Help! It's driving me crazy!:confused:
Here is the rss.xml file line I wish to pull:
<enclosure url="http://calendar.csus.edu//helpers/imagewriter.aspx?imageId=63" length="5000" type="image/jpg" />
thanks! Scott
http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm
I am trying to add the ability to pull the images from the rss feed without prevail.
I tried editing these but it hung the ticker at initializing ticker...
rssticker.js:
var enclosureurl='<div class="rssdate"><a class="SText" href="'+this.link
if (this.logicswitch.indexOf("enclosureurl")==-1) enclosureurl=""
+enclosreurl //STRING FOR FEED CONTENTS
Bridge.php:
echo "<item>\n<link>$item[link]</link>\n<title>$item[title]</title>\n<enclosureurl>$item[enclosure url]</enclosureurl>\n<description>$item[description]</description>\n<pubDate>$item[pubDate]</pubDate>\n</item>\n\n";
Help! It's driving me crazy!:confused:
Here is the rss.xml file line I wish to pull:
<enclosure url="http://calendar.csus.edu//helpers/imagewriter.aspx?imageId=63" length="5000" type="image/jpg" />
thanks! Scott