3 ms·
Did json-ld get a lot of traction for link previews? I haven't really encountered it much. I actually implemented a simple link preview system a while ago. It
by jillesvangurp 2y ago
Did json-ld get a lot of traction for link previews? I haven't really encountered it much.
I actually implemented a simple link preview system a while ago. It uses opengraph and twitter cards meta data that is commonly added to web pages for SEO. That works pretty well.
Ironically, I did use chat gpt for helping me implement this stuff. It did a pretty good job too. It suggested some libraries I could use and then added some logic to extract titles, descriptions, icons, images, etc. with some fallbacks between various fields people use for those things. It did not suggest me to add logic for json-ld.