Hello, we're WordLift and we provide Structured Data as PaaS. We host Knowledge Graphs for our custo

Hello, we're WordLift and we provide Structured Data as PaaS. We host Knowledge Graphs for our customers and provide them with the structured data in JSON-LD format through an API, e.g. https://api.wordlift.io/data/https/example.org would return the structured data for the https://example.org web page. Right now customers are required to load a tiny JavaScript which will fetch the api and inject the JSON-LD payload into the web page head in a script type=application/ld+json tag. We would like to offload this part from the customers using CloudFlare, by creating a Managed Component(?) or a Worker(?) that would perform the fetch and the injection server-side. I've been studying the Managed Components, but I don't see how I can use them for this specific case - embed still requires the customer to alter the web page with the embed code(?) and widget only words in body(?). Are my understandings correct? Should I resort to Workers?
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?