Wordpress rss feeds as rest api data

As many of us, are looking to integrate our wordpress rss to AG.
In my case, I use Elementor and the “content” that I obtain with the “posts” api is not fine.

I was thinking about take the post trough rss but is in xml.

I found a solution to pass xml rss from Wordpress to Json format. The extension is named Json Feed https://wordpress.org/plugins/jsonfeed/

My API call with postman it’s ok and the answer is like this

But when I want to use DATA api rest in AG I obtain “Error: TypeError: Failed to fetch. Does the server allow CORS?status: undefined”

I read that is a generic error message but I don’t know what I’m doing wrong.



Other users have gotten it to work with a slightly different endpoint, see for example this thread , are you able to use that technique? If it works on postman but not in Composer it’s probably due to CORS issues

Hi Cecilia. The topic you show me, I know it. I replied at the end.

I’m trying a different point of view that is doing my own endpoints for wordpress . If I got it I will publish how I made.