RE: Re: [PHP] RSS Generation

2006-04-10 Thread Richard Lynch
On Mon, April 10, 2006 1:36 pm, [EMAIL PROTECTED] wrote: > Thanks. I had added the header to the file. If the php extension is > good enough, then I am not going to worry about the .htaccess file. I'd be awful careful here... SOME versions of Microsoft IE are particularly stoopid about dealing

Re: [PHP] RSS Generation

2006-04-10 Thread Richard Lynch
On Mon, April 10, 2006 8:37 am, Robbert van Andel wrote: > 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 > ad

RE: Re: [PHP] RSS Generation

2006-04-10 Thread php
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

RE: Re: [PHP] RSS Generation

2006-04-10 Thread php
Thanks. I had added the header to the file. If the php extension is good enough, then I am not going to worry about the .htaccess file. >> ... 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

Re: [PHP] RSS Generation

2006-04-10 Thread Frank Arensmeier
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 cr

Re: [PHP] RSS Generation

2006-04-10 Thread Dave Goodchild
If you want to serve .xml files as php, make the relevant change in the http.conf file (if you are using apache). On 10/04/06, Michael Crute <[EMAIL PROTECTED]> wrote: > > On 4/10/06, Robbert van Andel <[EMAIL PROTECTED]> wrote: > > First off, and I'm sorry that this isn't a PHP specific question,

Re: [PHP] RSS Generation

2006-04-10 Thread Greg Schnippel
> ... 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. I h

Re: [PHP] RSS Generation

2006-04-10 Thread Michael Crute
On 4/10/06, Robbert van Andel <[EMAIL PROTECTED]> wrote: > 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? No, you can use an

[PHP] RSS Generation

2006-04-10 Thread 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 g