3 ms·
My suggestion for best practice would be to have a feed endpoint that is as minimal and clean as possible, and provide a separate endpoint (can be the same base
by PeterStuer 2y ago
My suggestion for best practice would be to have a feed endpoint that is as minimal and clean as possible, and provide a separate endpoint (can be the same base url but with a parameter) for human consumption. This ensures maximal compatibility and ease of consumption for both machine and human.
- alifeee 2y agoI disagree, you can have an XML feed that does both For example: https://andrewstiefel.com/feed.xml https://andrewstiefel.com/feed.xml
- yakshaving_jgt 2y agoThis is brilliant. Thanks for sharing.
- PeterStuer 2y agoYes, and if everything is properly configured that is great. Where is falls apart is when your site host/admin slaps Cloudflare protection on the domain and forgets to properly exclude the RSS pages, then programs can't fetch the feed without resorting to anti-bot evasion tech scraping, and are left with rendered HTML instead of the actual feed and have to deal with that. Niche? It happens far more than you think.