Results 1 to 4 of 4

 

Thread: fopen & DGM Comet feed problem

  1. #1
    Registered User

    Status
    Offline
    Join Date
    Dec 2003
    Location
    Leicestershire
    Posts
    106
    Thanks
    1
    Thanked 3 Times in 3 Posts


    I've always used PHP fopen to grab my feeds and save them to the server but for some reason it won't work with the DGM comet feed, all i get is...

    Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known

    I tried using WGET from a Cron and that just says the host is unknown, its though niether can resolve http://xmlfeed.dgm2.com

    Any ideas of how i can download this file http://xmlfeed.dgm2.com/cometcsv/Com...XXXXX_Feed.csv ?

    Cheers

  2. #2
    Registered User

    Status
    Offline
    Join Date
    Aug 2003
    Location
    Leicester
    Posts
    811
    Thanks
    5
    Thanked 5 Times in 4 Posts
    I got the Comet feed last night with no problems.

    Maybe it's a DNS problem on your server.

    Have you tried downloading it to your PC instead?

    One possible problem with the Comet feed is that they only let you download it once every 24 hours. So if you've connected but failed to retrieve it, you might have to wait a day before you can try again.

  3. #3
    0111000001110010011010010

    Status
    Offline
    Join Date
    Jan 2005
    Posts
    46
    Thanks
    0
    Thanked 0 Times in 0 Posts
    tryed

    $feed = file_get_contents($url);
    John C

  4. #4
    Registered User

    Status
    Offline
    Join Date
    Dec 2003
    Location
    Leicestershire
    Posts
    106
    Thanks
    1
    Thanked 3 Times in 3 Posts
    I don't think its the 24 hour thing as i tried yesterday after having these problems and it downloaded to my pc with no probs.

    I tried the file_get_contents but still get...

    Warning: file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known

    Warning: file_get_contents(http://xmlfeed.dgm2.com/cometcsv/Com...XXXXX_Feed.csv): failed to open stream:

    How could i tell if its a DNS issue on my server?



Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •  
To Top

Content Relevant URLs by vBSEO 3.5.0 RC2