Menu

#19 Magpie Fails to fetch feed from non-standard port

open
nobody
None
5
2005-04-06
2005-04-06
Alan Levine
No

I've seen this in the past and a user of our Feed2JS software that
runs on Magpie also reports that an RSS feed from a non standard
port:

http://www.somewhere.com:8080/news/stuff.xml

fails because Magpie is trying to fetch:

http://www.somewhere.com/news/stuff.xml

e.g. it is losing track of the port passed to it. Any quick fixes I can
suggest?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Magpie or related Feed2JS programme is having problems
    fetching a local rss on our own server. We have changed the
    RSS version, character encoding and even the directions to
    the file, at times using the entire URL or simply the relative
    path.

    The script itself seems to run find and locates all components
    which are run in due order. It the fetch function works on all
    external feeds, but, as said, fails on our own.

    Any ideas of whether this belongs to the same type of
    problem described above or is something entirely unrelated?

    Thanks!

    GKAN

     
  • Tony Grant

    Tony Grant - 2006-01-13

    Logged In: YES
    user_id=79894

    It is failing to work with my JForum feeds. I am running
    Feed2JS and the validated feed is not seen.

     
  • Ansel Halliburton

    Logged In: YES
    user_id=867158

    I just did a quick verification of this bug by changing from
    a feed on port 8000 (which did not work) to another feed on
    port 80 (which did work).

    Possibly interesting note: the port 8000 feed worked fine on
    my laptop (Server: Apache/2.0.53 (Win32) PHP/5.0.3;
    X-Powered-By: PHP/5.0.3), but failed when hosted on an IIS
    server (Server: Microsoft-IIS/5.0; X-Powered-By: PHP/4.3.10).

     
  • Ansel Halliburton

    Logged In: YES
    user_id=867158

    In my case, it appears to be because the webhosting company
    is doing some blocking. You can check this by adding:

    error_reporting(E_ALL);

    to the top of your page. If the problem is the actual
    connectivity to your target feed, you'll get something like
    this:

    Warning: MagpieRSS: Failed to fetch http://\***:8080/***
    (HTTP Error: connection failed () in
    ***\magpierss\rss_fetch.inc on line 238

    Can't blame that on MagpieRSS!

     

Log in to post a comment.