I use php to auto generate an rss file from a database by putting some php commands in the rss file then changing the htaccess file in the rss directory so that the xml file will be parsed for php like this
AddType application/x-httpd-php .php .xml
But when i go to validate my feed it says the feed is valid but is being sent as a text file and I should change the htacces to include AddType application/xml. But when I add that after the php line, then the file won’t execute the php commands in the file
What’s the best solution for this?
try