Results 1 to 3 of 3

Thread: Pausing RSS Feed Script

  1. #1
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pausing RSS Feed Script

    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:
    http://www.dynamicdrive.com/dynamici...ller/index.htm


    I have made sure to point to the rsspausescoller file on my website.
    (http://www.protestantlawyersny.org)
    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.

    Nelson

  2. #2
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

    Nelson

  3. #3
    Join Date
    May 2006
    Posts
    37
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question re-writing RSS Scroller

    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?

    Thanks.

    Nelson

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •