Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Enable CORS support for RSS Feed

A topic by Spaxe created Sep 06, 2020 Views: 382
Viewing posts 1 to 1
(+1)

I'd like to showcase the featured games on Itch.io on a website using the RSS Feeds (e.g. http://itch.io/feed/featured.xml). It would be awesome to do this without a dedicated server, so I was hoping to use HTML Fetch (https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API) directly from the client. However, this is not possible because the feeds are not enabled for cross-origin requests, and browsers will not allow it.

I could get around this by adding a HTTP request on the server side, but ideally I'd like to avoid that. Information on how to enable CORS is at https://enable-cors.org/.

This would be awesome if it can be supported. Thanks!