I have some blogs on blogger and I'm actually trying this:

I want to read the bolgs' feed Rss from my website to display the latest posts on my main website..

Everything works fine on the Development intranet server.
But when i try to publish online the internet server doesn't load() the feeds.

code:
$doc = new DOMDocument();
if($doc->load( 'http://myblog.blogspot.com/feeds/posts/default?alt=rss' )){
//never enters here !!! but only on the online server
}

i'm thinking i have to fix some apache setting , such as when u want to screen scraping some web content, isn't it?

What should i fix?

Many thanks!

    kante;10969209 wrote:

    i'm thinking i have to fix some apache setting , such as when u want to screen scraping some web content, isn't it?

    Not that I've heard of, no. It's more likely either a PHP issue or a network/firewall issue.

    What's the PHP error message you're getting?

      oh yep i was rite....
      need to enable allow_url_fopen

      just in case someone have the same issue

        kante;10969281 wrote:

        oh yep i was rite

        Well not really, since you asked if there was an Apache setting you'd need to change.

        Don't forget to mark this thread resolved (if it is) using the link on the Tread Tools menu above.

          Write a Reply...