I've updated the archive to take care of a few discrepancies:
rsspausescroller_pie.zip
In theory yes. I don't have anywhere very good to try it out though. I checked using my local hard drive to access it on my local server. That worked.
Try it out. Make sure to follow the instructions as far as where to use absolute paths, as mentioned on the demo page for syndication.
The routines for that are in the scrollerbridge.php file and I did my best to update them to work with the simplepie.inc file.
But they only determine which domains are allowed. If no domains are configured here:
PHP Code:
//Domains that are authorized to display scroller:
//Seperate multiple domains each with a comma (",")
//For example: $allowedDomains="dynamicdrive.com, javascriptkit.com"
//OR enter a blank string to allow any domain (ie: for RSS feed syndication):
$allowedDomains="";
////Beginners don't need to configure past here////////////////////
all are allowed. It remains to be seen whether or not simplepie.inc will go along. However, as far as I can tell, all it does is process the feed. If you want to give people a copy of demo.htm with a link to the rsspausescroller.js on your site, and do it according to the instructions on the demo page, that should work.
One thing I realized when I did my test is that this line in the new scrollerbridge.php file:
PHP Code:
include "../simplepie/simplepie.inc"; //path to lastRSS.php on your server relative to scrollerbridge.php
should read:
PHP Code:
include "../simplepie/simplepie.inc"; //path to simplepie.inc on your server relative to scrollerbridge.php
But that doesn't change how it works, and doesn't need to be updated for syndication.
The path to rsspausescroller.js on the demo.htm that you distribute as well as the path to scrollerbridge.php in the rsspausescroller.js on your server, must both be absolute, just as it says on the demo page for the original script.
Bookmarks