diff --git a/73.md b/73.md index afed8d12..d15c5b23 100644 --- a/73.md +++ b/73.md @@ -9,26 +9,37 @@ External Content IDs There are certain established global content identifiers such as [Book ISBNs](https://en.wikipedia.org/wiki/ISBN), [Podcast GUIDs](https://podcastnamespace.org/tag/guid), and [Movie ISANs](https://en.wikipedia.org/wiki/International_Standard_Audiovisual_Number) that are useful to reference in nostr events so that clients can query all the events assosiated with these ids. -`i` tags are used for referencing these external content ids, with `k` tags representing the external content id kind so that clients can query all the events for a specific kind. +`i` tags are used for referencing these external content ids, with `k` tags representing the external content id kind so that clients can query all the events for a specific kind. ## Supported IDs -| Type | `i` tag | `k` tag | -|- | - | - | -| URLs | "`<URL, normalized, no fragment>`" | "`<scheme-host, normalized>`" | -| Hashtags | "#`<topic, lowercase>`" | "#" | -| Geohashes| "geo:`<geohash, lowercase>`" | "geo" | -| Books | "isbn:`<id, without hyphens>`" | "isbn" | -| Podcast Feeds | "podcast:guid:`<guid>`" | "podcast:guid" | -| Podcast Episodes | "podcast:item:guid:`<guid>`" | "podcast:item:guid" | -| Podcast Publishers | "podcast:publisher:guid:`<guid>`" | "podcast:publisher:guid" | -| Movies | "isan:`<id, without version part>`" | "isan" | -| Papers | "doi:`<id, lowercase>`" | "doi" | +| Type | `i` tag | `k` tag | +| --- | --- | --- | +| URLs | "`<URL, normalized, no fragment>`" | "web" | +| Hashtags | "#`<topic, lowercase>`" | "#" | +| Geohashes | "geo:`<geohash, lowercase>`" | "geo" | +| Books | "isbn:`<id, without hyphens>`" | "isbn" | +| Podcast Feeds | "podcast:guid:`<guid>`" | "podcast:guid" | +| Podcast Episodes | "podcast:item:guid:`<guid>`" | "podcast:item:guid" | +| Podcast Publishers | "podcast:publisher:guid:`<guid>`" | "podcast:publisher:guid" | +| Movies | "isan:`<id, without version part>`" | "isan" | +| Papers | "doi:`<id, lowercase>`" | "doi" | --- ## Examples +### Webpages + +For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i" and "k" tags are: + +```jsonc +[ + ["i","https://myblog.example.com/post/2012-03-27/hello-world"], + ["k", "web"] +] +``` + ### Books: - Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030 @@ -56,5 +67,3 @@ Each `i` tag MAY have a url hint as the second argument to redirect people to a `["i", "podcast:item:guid:d98d189b-dc7b-45b1-8720-d4b98690f31f", https://fountain.fm/episode/z1y9TMQRuqXl2awyrQxg]` `["i", "isan:0000-0000-401A-0000-7", https://www.imdb.com/title/tt0120737]` - -