For my project, a host for rss feeds for podcasts, an xml file needs to be returned containing links to media determined from the data in the canister.
But I can’t figure out how to get a canister to return generated xml that a podcast player can parse.
A normal canister won’t work because it only returns data in Candid format, which podcast readers can’t parse.
An asset canister won’t work because, as far as I know, it must go through webpack or can only return static assets. I need to generate the xml on the fly based on the data in the canister and the values in the url. I tried using Mithril for simple routing/url parsing, but because it still goes through webpack I can’t serve just the generated xml. It’s always polluted by the single-page-application scaffolding that webpack forces upon me.
Is it possible to get just a generated xml feed out of the IC?