Closed jpawlowski closed 5 years ago
@jpawlowski Btw, I now force the Content Type to be "application/atom+xml" on Netlify, but now opening https://scripter.co/atom.xml even on the latest Firefox prompts me to download it instead of rendering it nicely in the browser.. any hints on how to avoid that download prompt?
Linking this back to the README: https://github.com/kaushalmodi/hugo-atom-feed#pay-attention-to-web-server-mime-type
This file being downloaded instead of rendered is actually one of the expected behaviors. Likely browsers will also start to automatically open your feed reader, depending if your feed reader application actually claimed to handle this particular mime-type. This will improve the end-user experience, developers shall be able to live with this and find workarounds to watch the file in clear text (e.g. using cURL on the terminal).
@kaushalmodi about your feed validation issue: Make sure you're not forgetting the correct encoding, otherwise the validator will fall back to latin1 and likely not be able to parse your content properly.
TIL, thanks!