RE: Re: [PHP] RSS Generation

From: Date: Mon, 10 Apr 2006 18:41:41 +0000
Subject: RE: Re: [PHP] RSS Generation
Groups: php.general 
Request: Send a blank email to php-general+get-233684@lists.php.net to get a copy of this message
Actually, the dot is the end of a sentence ... damn my excellnet grammar skills :) In the htaccess file, I hadn't included a dot at either end of XML. I think I'm going to just leave the file extension as PHP and see how that goes. Thanks, Robbert >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 >> >> >> > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#233684) next »