RE: Re: RSS Generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux