I ask this because I see only two xml files in a wordpress blog, wlwmanifest.xml and default.xml and neither look like an rss feed. However I do see a php file called feed-rss2.php that looks like an rss feed. Everything I’ve ever read says that rss feeds have to be xml files. Am I wrong? Can they be php files with xml code inside?
Share
They are just outputting XML code with XML headers. The actual file doesn’t have to be an XML file, just the response has to be text/xml and contain XML output. You can do the same for things like CSS files… anything really.