Friday, 1 August 2014

Wordpress XML Feed is pulling HTML web page of blog instead of XML for PHP code only, browser displays correctly



Wordpress XML Feed is pulling the HTML web page of the blog instead of XML for PHP code only. Feed displays fine in browser such as IE or FF. When a request is executed in PHP or if you try to add to FeedBurner, it gives you the page of the blog only in HTML instead of XML. I am using a simple jquery to php proxy script - the php script echos the contents of the request. I don't think it is the code because I get the same errors with the FeedBurner site. Here is the FeedBurner error: [onshow.FeedURL] We could not find a valid feed at that address.


XML displays as HTML in feed for applications only, any idea why?


No comments:

Post a Comment