Click here to Skip to main content
13,556,507 members
Rate this:
Please Sign up or sign in to vote.
See more:
I wrote that codes in rss.php

header('Content-Type: text/xml');
echo "<?xml version = \"1.0\" encoding = \"utf-8\" ?>\n";

        <title> My Simple Blog</title>
        <link> http://localhost:1234/simple_blog/ </link>
        <desctiption> This blog is awesome. </desctiption>
        <language> en-us </language>

This XML file does not appear to have any style information associated with it. The document tree is shown below.

How fix it?
Posted 9-Jan-13 19:43pm
lewax00 10-Jan-13 1:54am
That's perfectly normal when opening an XML file in your browser. What are you expecting it to do?
zamshedfarhan 14-Jan-13 21:51pm
I am agreeing with lewax00, actually what output you have preferred for your provided code? Would you please clear us.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Nothing to do ... Ir working without any issues if you are seeing only this error.

And in which browser you are getting this error ?

Chrome doesn't have an RSS viewer built in. Check out this chrome extension to view RSS,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03-2016 | 2.8.180515.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100