Hi everyone
I’m really struggling on implementing Wix blog post export from my app. Indeed, my software is a FastAPI - ReactJS project and I want to export blog posts with FastAPI.
The only problem is that my content is in HTML while Wix asks for a weird “Ricos” language, which is indeed a custom JSON format. And I don’t find any proper way to translate it.
I’ve tried to use https://ricos.js.org/ however it seems to be really buggy and outdated as it seems to be created for JS backends and seems to only work with older react versions. Indeed, I’ve tried to npm install ricos-content
and tried to do this :
import { fromRichTextHtml } from 'ricos-content/libs/server-side-converters';
const content = fromRichTextHtml(myHTMLContent);
But I get a lot of file imports problems and it just does not work.
So does someone know if ever there is a good solution ? Maybe a translator in python ? Cause otherwise it means that I’ll have to implement it myself (so really time expensive) and I can’t imagine no one ever faced this issue.
Thanks in advance for your help !