This is bad advise, because web servers will serve this file extension not as text/xml, application/xml, nor application/atom+xml, but, at least in nginx’s case, as application/octet-stream. That's why jekyll-feed named the optional feed XSLT feed.xslt.xml, because xml file extensions will by default served as text/xml.
While this can be configured server-side, the "just upload static files and it works out of the box" mantra is broken.
The change in https://github.com/jekyll/jekyll-feed/pull/359 changed feed name examples to
.atom
.This is bad advise, because web servers will serve this file extension not as
text/xml
,application/xml
, norapplication/atom+xml
, but, at least in nginx’s case, asapplication/octet-stream
. That's why jekyll-feed named the optional feed XSLTfeed.xslt.xml
, becausexml
file extensions will by default served astext/xml
.While this can be configured server-side, the "just upload static files and it works out of the box" mantra is broken.