Re: OT - RSS Question
- From: Lars Eighner <eighner@xxxxxx>
- Date: Thu, 21 Jul 2005 18:19:11 -0500
In our last episode,
<aJUDe.769$Nh3.31@xxxxxxxxxxxxxxxxxxxxx>,
the lovely and talented SamMan
broadcast on comp.infosystems.www.authoring.html:
> "Andy Dingley" <dingbat@xxxxxxxxxxxxxx> wrote in message
> news:tbsvd1de7lr2s5ufkt6htmi3at81oon330@xxxxxxxxxx
>> On Thu, 21 Jul 2005 01:07:46 GMT, "SamMan" <sam@xxxxxxxxxxxxxxxx> wrote:
>>
>>>What is the difference in extensions for RSS files?
>>
>> There is none. Either works, both are equally good. In many cases (a
>> dynamic site) there won't be a "file extension" anyway. Once the
>> content has passed through the server and onto the web then there is no
>> "file extension", there's just the content-type and perhaps some random
>> characters at the tail of the URL - the content type always trumps the
>> URL's tail.
>>
>> The HTTP content type header should indicate that it's RSS and must
>> indicate that it's XML or RSS. Don't leave your server in the default
>> state of serving it as text/plain or text/html
>>
>> There is no agreement as to the _best_ media type to use. In practice so
>> many servers get it wrong that a feed reader will actually look at
>> whatever URL it's pointed at and just assumes that it's RSS.
>>
>> If you're using Apache, your .htaccess might include something like
>> this:
>>
>> AddType text/xml .xml
>> AddType application/rss+xml .rss
>>
>> Personally I use the .rss extension and the more specific content type.
> I don't have the level of access to modify the .htaccess.
There isn't a "the" .htaccess. It is a dot file in your own
directory. Your server may use software that doesn't recognize
..htaccess, and your server may be configured to disable some or
all options in .htaccess. But if you cannot modify files in
your own web directory, you cannot have a website.
> Would this be something that the admin's could set on a dir by
> dir basis?
Yes, they *could*. But in practice they generally set some
defaults for a particular class of users and also set what kind
of options can be set in *a* user's .htaccess.
--
Lars Eighner eighner@xxxxxx http://www.larseighner.com/
I don't see posts from or threads started from googlegroups.
War on Terrorism: Bad News from the Sanity Front
"In this autumn of anger, even a liberal can find his thoughts turning to ...
torture." --Jonathan Alter,_Newsweek_
.
- Follow-Ups:
- Re: OT - RSS Question
- From: SamMan
- Re: OT - RSS Question
- References:
- OT - RSS Question
- From: SamMan
- Re: OT - RSS Question
- From: Andy Dingley
- Re: OT - RSS Question
- From: SamMan
- OT - RSS Question
- Prev by Date: Re: OT - RSS Question
- Next by Date: Re: OT - RSS Question
- Previous by thread: Re: OT - RSS Question
- Next by thread: Re: OT - RSS Question
- Index(es):
Relevant Pages
|