• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rss feed creation probs

Hi friends,

I m using ci for my application. i tried to create an rss feed...in my controller
but it showing the following error..
*XML Parsing Error: XML or text declaration not at start of entity
*<?xml version="1.0" encoding="ISO-8859-1"?>-^
can one guide me how to create rss feeds from controller itself?

you have to echo that xml start tag out as it's conflicting with PHP:

echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>";

Thanks dude..its working fine....

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.