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?
Feed name
-
- Bear Rating Overlord
- Posts: 373
- Joined: 20 Aug 2013, 23:13
Re: Feed name
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:
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.)
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.)
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Feed name
windows people believe in file extensions on the internet
more retarded shit at eleven
more retarded shit at eleven
Re: Feed name
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!
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!
Who is online
Users browsing this forum: No registered users and 12 guests