Feed name

Support requests, bug reports, etc. go here. Dedicated servers / VDS hosting only
User avatar
dlohan
Joy Division
Posts: 29
Joined: 04 Oct 2013, 22:26

Feed name

Postby dlohan » 30 Mar 2016, 22:38

I'm using an output feed from my TT-RSS installation. The feed is http://davidlohan.com/TinyTinyRSS/publi ... c2a7b5b03c. Works fine for some purposes, but not for others. Told that the format should be more like:

http://feeds.bbci.co.uk/news/business/rss.xml
http://rss.cnn.com/rss/edition.rss

Is there some way to alter URL formats so that they end .rss or .xml in TT-RSS?

JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Feed name

Postby JustAMacUser » 30 Mar 2016, 23:28

The extension is really quite useless. What's important is the Content-Type in the HTML header. File extensions tell web servers which mime type to use in the Content-Type HTML response header. The client is then supposed to handle the file accordingly.

That being said, TT-RSS produces the following header:

Code: Select all

Content-Type: text/xml; charset=utf-8


This is valid and acceptable because--surprise, surprise--files ending in .rss or .xml have a mime type of: text/xml.

Since the web server is not just reading a file off disk and sending it, the extension is useless. The web server is instead reading a response from the PHP interpreter, which itself passed the correct Content-Type header.

In other words, if someone is telling you TT-RSS is doing it wrong, those people need to educate themselves. Or fix their software. Or whatever.

(Not that it is at all relevant, but WordPress is used by millions and their pretty permalinks have RSS feeds in URLs like: http://example.org/feed/ No extension, etc. and everything is fine.)

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Feed name

Postby fox » 30 Mar 2016, 23:39

windows people believe in file extensions on the internet

more retarded shit at eleven

User avatar
dlohan
Joy Division
Posts: 29
Joined: 04 Oct 2013, 22:26

Re: Feed name

Postby dlohan » 31 Mar 2016, 17:30

Thanks JustAMacUser.

Seemed dubious to me that a feed URL would need to be in a particular format. As I said in my post the feed works fine with other applications, but in one instance it does not. Oddly RSS feeds from the BBC and CNN work with the application in question. The feed from TT-RSS does not. Will look at a different application. Thanks again!


Return to “Support”

Who is online

Users browsing this forum: No registered users and 6 guests