Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7871931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:03:38+00:00 2026-06-03T02:03:38+00:00

I have an rss feed which i would like to read from in my

  • 0

I have an rss feed which i would like to read from in my page, i have a local copy of the feed which reads fine but i am required to use the online version. From what i can see i am doing this correctly:

        $url ='http//www.numyspace.co.uk/~cgel1/holidays/holidays.xml';
        $holidayDoc = simplexml_load_file($url);

However i am met with the following error:

Warning: simplexml_load_file() [function.simplexml-load-file]: I/O
warning : failed to load external entity
“http//www.numyspace.co.uk/~cgel1/holidays/holidays.xml”

Why is this not working?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:03:39+00:00Added an answer on June 3, 2026 at 2:03 am
    $use_errors = libxml_use_internal_errors(true);
    $xml = simplexml_load_file("http://www.numyspace.co.uk/~cgel1/holidays/holidays.xml");
    if (!$xml) {
      //throw new Exception("Cannot load xml source.\n");
    }
    libxml_clear_errors();
    libxml_use_internal_errors($use_errors);
    

    You missed a colon

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following rss feed which I would like to query to get
i have a mysql database from which i require an rss feed of its
I have an RSS feed which has an image and some text. I want
From a rss feed i have either pubdate as well the timestamp: pubdate: Thu,
I have a ready RSS atom feed on my ASP.net site,but I want to
I have an XML file taken from an RSS feed, saved locally, and I
I want to run a cronjob from my server which pulls the rss feed
I would like to provide a (auto discoverable) link to a private RSS feed
I'm building a Yahoo! Pipe to pull an RSS feed from Reddit which links
I have a RSS feed i need to display in a table (its clothes

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.