I’m trying to build a custom RSS link. I would use the WP native one like explained in this ticket: RSS feed but I cannot use it because my site is in WordPress.com and when you switch domains, the RSS link is also redirected so I’d like to create a new library to generate the RSS.
The problem is that I cannot find a way to generate XML whenever a user lands on
/feed because Frontity, if I’m not wrong, doesn’t have any slot before the tag, which would be very handy (though not sure if even possible) to overwrite the whole document. I cannot find either some sort of middleware to hook before the request is done and use a different template than the one in Frontity core (
Is there a current way to do something like this?