Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Technically, the web server can do content negotiation based on Accept headers with static files. But… In theory, you shouldn't need a direct link to the RSS feed on your web page. Most feed readers support a link-alternate in the HTML header:

<link rel="alternate" type="application/rss+xml" title="Blog Posts" href="/feed.xml">

Someone who wants to subscribe can just drop example.com/blog in to the feed reader and it will do the right thing. The "RSS Feed" interactive link then could go to a HTML web page with instructions for subscribing and/or a preview.





Who said "need"? He said "I want".

You're moving the goalposts.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: