Conversation

Charlotte lotteheartplural/Cinny cinny_heart_plural thetadelta ursaminor treblesand

if json-ld has a million haters,then i am one of them.if json-ld has ten haters,then i am one of them.if json-ld has only one hater then that is me.if json-ld has no haters,then that means i am no longer on earth.if the world is for javascript object notation linked data,then i am against the world.

1
0
1
@charlotte at some point I had to parse Json-ld to get the URL for Garfield comics, it was rather bad
1
0
1

@erk that might be one of the easier cases, since i’d assume on one site you can squint hard enough and get weirdly formatted json out

1
0
1
@charlotte Yeah tbh the worst part of it was that I had to actually parse the html to get the json out (It still exist as a fallback: https://git.sr.ht/~erk/lasagna/tree/master/item/comic/src/lib.rs#L92)

I had to use a very limited amount of the json so it was fine. Though if you have a look at all the jsonld objects on the site it gets complicated see for example: https://www.gocomics.com/garfield/2026/08/30 and search for "ld+json" and you get 32 hits lol.
0
0
0