Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2451
  • Last Modified:

making XML into and rss extension

I created and rss feed using php. I am not sure how to get it to display as an .rss instead of a .php...For example, the page displaying the feed is

test.php (this files runs the php and creates the XML)

I want the page to be

test.rss

Thanks

Brad
0
brad0525
Asked:
brad0525
1 Solution
 
clampsCommented:
What webserver are you running?
IIS or Apache?
0
 
brad0525Author Commented:
I am running IIS
0
 
Ray PaseurCommented:
Don't do that.  XML is a data string, PHP is a program script.  They have different file suffixes for a good reason.  Instead, let your PHP script write the test.rss file into some path on your file server, and produce a link to the URL of the rss file.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now