zlacker

[parent] [thread] 0 comments
1. michae+(OP)[view] [source] 2012-03-29 05:19:25
Request: RSS feed to return "Access-Control-Allow-Origin" HTTP header set to * to enable all sources, for both GET and OPTIONS requests.

Details: To read HN more conveniently both on desktops and on iPad I would like to have fewer headings per page, have them in larger font etc, I am writing my own, magazine like (or Flipboard like) HTML viewer. I don't want the data from HN to travel via my server, fetching it directly from the browser.

However fetching RSS from the client side, at least on Chrome, and going forward on any modern browser, would require obtaining permission from the Cross Domain site. Currently RSS returns none. Chrome reports error, will not allow JavaScript code to process. For the development purposes I fake it via proxy (Fiddler2) but once coded it would either require RSS returning the right header, or me channeling this request via my server (Google App Engine)

Since the point of having RSS is to publish it to other services, I presume you would not object to such use of your data. If you do, please let me know and I'll stop.

I plant to make HTML/JS/CSS open sourced once it is done.

Contact: Michael Kariv michael_kariv@yahoo.com

[go to top]