i got file news.xml
it will be used for feeds.
content of news.xml
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title>page news</title>
<link>http://link.com</link>
<description>page news</description>
<item>
<title>some title</title>
<description>
<?php echo 'text goes here'; ?>
</description>
<link>http://link.com/?1</link>
</item>
<item>
<title>some title2222</title>
<description>
<?php echo 'text goes here2222'; ?>
</description>
<link>http://link.com/?2222</link>
</item>
</channel>
</rss>
problem is that php code in this xml file isnt working. that is just a sample php line in code. later i want to get titles and texts from database with sql query, so the feed would work. but there is this problem...
how to solve this? any ideas?
thanks!