View Full Version : Pausing RSS Feed Script

05-19-2006, 01:53 PM
No matter what I do, I cannot get this feed to work for me.
Nor does the demo.htm work for me.

The script is at:

I have made sure to point to the rsspausescoller file on my website.
I have made sure to point to the PHP file in /lastRSS

The error message I get is:
Sorry: It's not possible to reach RSS file http://rss.cnn.com/rss/cnn_topstories.rss
I give up trying to fetch RSS feed.

Please...does anyone know what I am doing wrong?

Thanks in advance.


05-22-2006, 07:06 PM
With help from my hoster, I was able to determine the cause, and am posting to let everyone know.

Thanks to you, Jack, I have located the problem and am posting it here to alert others.

"This script works by first relying on a simple PHP RSS parser called LastRSS to retrieve/cache an RSS feed. "

When I searched LastRSS, I indeed found the "fopen" commands that you speak about:

if ($f = @fopen($cache_file, 'w')) {

if ($f = @fopen($rss_url, 'r')) {

If these commands are disabled by your web server, it well explains why this script doesn't work.

Apparently, one can substitute cURL commands.


05-22-2006, 10:16 PM
Can someone re-write the PHP files in this script to eliminate the fopen commands so that this script WILL work on servers where fopen is banned for security reasons?