make your example try with lantern extension

Reply to this note

Please Login to reply.

Discussion

Oof. That means nobody knows how to make them properly, except nostr:npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6 ?

I just copied from examples I saw in the wild when I made Lantern.

It's just the text of the highlight in the "content" field and the URL in the "r" tag. I also remove all query strings except in some rare cases where they're meaningful (hardcoded, it's basically YouTube).

The "textquotewhatever" stuff are Lantern-specific and not really necessary, but I keep them just because the code I inherited uses those as fallback and who am I to overrule them?

If I have to look at your code, to figure out what the spec describes, what is the spec for?