RSS error in CI |
[eluser]nirbhab[/eluser]
hi guys, i am working for rss creation, i have already done this module without CI, but i am doing similar activity in CI i am getting following error: Error: xml declaration not at start of external entity Source File: http://nirbhab/lostandfound/index.php/test/rss Line: 1, Column: 2 Source Code: <?xml version='1.0'?>-^ Explanation of my work: VIEW: <?php echo "<?xml version='1.0'?> <rss version='2.0'> <channel> <title>Liftoff News</title> <link>http://liftoff.msfc.nasa.gov/</link> <description>Liftoff to Space Exploration.</description> <language>en-us</language> <pubDate>Tue, 10 Jun 2003 04:00:00 GMT</pubDate> <lastBuildDate>Tue, 10 Jun 2003 09:41:01 GMT</lastBuildDate> <docs>http://blogs.law.harvard.edu/tech/rss</docs> <generator>Weblog Editor 2.0</generator> <managingEditor>[email protected]</managingEditor> <webMaster>[email protected]</webMaster> <item> <title>Star City</title> <link>http://liftoff.msfc.nasa.gov/news/2003/news-starcity.asp</link> <description>How do Americans get ready to work with Russians aboard the International Space Station? They take a crash course in culture, language and protocol at Russia's Star City.</description> <pubDate>Tue, 03 Jun 2003 09:39:21 GMT</pubDate> <guid>http://liftoff.msfc.nasa.gov/2003/06/03.html#item573</guid> </item> </channel> </rss> "; ?> can anyone help me out?
|
Welcome Guest, Not a member yet? Register Sign In |