Re: RSS Generation

From: Date: Mon, 10 Apr 2006 17:56:05 +0000
Subject: Re: RSS Generation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-233680@lists.php.net to get a copy of this message
Robbert, maybe it is only a typo, but you have written: "xml." not ".xml" (notice the position of the dot). /frank 10 apr 2006 kl. 15.37 skrev Robbert van Andel:
I am working on creating some RSS feeds on my website using PHP. I'm still learning RSS but it seems easy enough. I managed to create the RSS giving the file a PHP extension. When I tried saving it with an xml extension and adding a .htaccess file to the directory in which the file was saved, I get prompted to save the file instead of being able to view the file in a browser. The only line in the .htaccess file is AddType application/x-httpd-php xml. First off, and I'm sorry that this isn't a PHP specific question, but does RSS require an XML extension? And if it does, how do I get the server to serve the PHP file correctly if I rename it with the xml extension? Thanks, Robbert van Andel


« previous php.general (#233680) next »