Welcome Guest, Not a member yet? Register   Sign In
My RSS feed is being interpreted as download?
#5

[eluser]alectrash[/eluser]
My solution is to get rid of the xml declaration at start of the doc here
Code:
<?xml version='1.0' ?>
Also make sure the mime type header goes in the controller.
Code:
header('Content-Type: text/xml; charset=utf-8');
     $this->load->view('blog_rss', $data);


The feed will still validate according to www.feedvalidator.org and validator.w3.org. Problem solved?


Messages In This Thread
My RSS feed is being interpreted as download? - by El Forum - 05-01-2008, 06:08 PM
My RSS feed is being interpreted as download? - by El Forum - 05-02-2008, 01:10 AM
My RSS feed is being interpreted as download? - by El Forum - 05-04-2008, 11:44 AM
My RSS feed is being interpreted as download? - by El Forum - 05-15-2008, 03:35 PM
My RSS feed is being interpreted as download? - by El Forum - 08-08-2008, 05:03 AM
My RSS feed is being interpreted as download? - by El Forum - 08-08-2008, 11:09 AM
My RSS feed is being interpreted as download? - by El Forum - 08-08-2008, 01:45 PM
My RSS feed is being interpreted as download? - by El Forum - 08-08-2008, 01:48 PM
My RSS feed is being interpreted as download? - by El Forum - 08-09-2008, 05:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB