diff options
| author | Alex Gleason <alex@alexgleason.me> | 2026-04-10 13:31:37 -0500 |
|---|---|---|
| committer | Alex Gleason <alex@alexgleason.me> | 2026-04-10 13:31:37 -0500 |
| commit | 5e1e24766910fc07cb61a049aed2623987458ec2 (patch) | |
| tree | b7588f61fddf9374268d5cd6f4e3f2655d7c840a /73.md | |
| parent | b8782df594b4e7e8f088869134908eed58be6078 (diff) | |
| parent | 3465f540e3eaedccb5309711b502f0febf56b52f (diff) | |
Merge nip44-big-payloads into bigger-nip44bigger-nip44
Diffstat (limited to '73.md')
| -rw-r--r-- | 73.md | 20 |
1 files changed, 18 insertions, 2 deletions
| @@ -6,7 +6,7 @@ External Content IDs | |||
| 6 | 6 | ||
| 7 | `draft` `optional` | 7 | `draft` `optional` |
| 8 | 8 | ||
| 9 | 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. | 9 | 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 associated with these ids. |
| 10 | 10 | ||
| 11 | 11 | ||
| 12 | `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. | 12 | `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. |
| @@ -18,6 +18,7 @@ There are certain established global content identifiers such as [Book ISBNs](ht | |||
| 18 | | URLs | "`<URL, normalized, no fragment>`" | "web" | | 18 | | URLs | "`<URL, normalized, no fragment>`" | "web" | |
| 19 | | Books | "isbn:`<id, without hyphens>`" | "isbn" | | 19 | | Books | "isbn:`<id, without hyphens>`" | "isbn" | |
| 20 | | Geohashes | "geo:`<geohash, lowercase>`" | "geo" | | 20 | | Geohashes | "geo:`<geohash, lowercase>`" | "geo" | |
| 21 | | Countries | "iso3166:`<code, uppercase>`" | "iso3166" | | ||
| 21 | | Movies | "isan:`<id, without version part>`" | "isan" | | 22 | | Movies | "isan:`<id, without version part>`" | "isan" | |
| 22 | | Papers | "doi:`<id, lowercase>`" | "doi" | | 23 | | Papers | "doi:`<id, lowercase>`" | "doi" | |
| 23 | | Hashtags | "#`<topic, lowercase>`" | "#" | | 24 | | Hashtags | "#`<topic, lowercase>`" | "#" | |
| @@ -43,11 +44,26 @@ For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i" | |||
| 43 | ] | 44 | ] |
| 44 | ``` | 45 | ``` |
| 45 | 46 | ||
| 47 | ### Geohashes: | ||
| 48 | |||
| 49 | - Geohash: `["i", "geo:ezs42e44yx96"]` - https://www.movable-type.co.uk/scripts/geohash.html | ||
| 50 | |||
| 51 | Geohashes are a geocoding system that encodes geographic locations into short strings of letters and digits. They MUST be lowercase. | ||
| 52 | |||
| 53 | ### Countries: | ||
| 54 | |||
| 55 | ISO 3166 codes can reference countries (ISO 3166-1 alpha-2) or subdivisions like states/provinces (ISO 3166-2). | ||
| 56 | |||
| 57 | - Country (Venezuela): `["i", "iso3166:VE"]` | ||
| 58 | - Subdivision (California, USA): `["i", "iso3166:US-CA"]` | ||
| 59 | |||
| 60 | ISO 3166 codes MUST be uppercase. More info: https://en.wikipedia.org/wiki/ISO_3166 | ||
| 61 | |||
| 46 | ### Books: | 62 | ### Books: |
| 47 | 63 | ||
| 48 | - Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030 | 64 | - Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030 |
| 49 | 65 | ||
| 50 | Book ISBNs MUST be referenced _**without hyphens**_ as many book search APIs return the ISBNs without hyphens. Removing hypens from ISBNs is trivial, whereas adding the hyphens back in is non-trivial requiring a library. | 66 | Book ISBNs MUST be referenced _**without hyphens**_ as many book search APIs return the ISBNs without hyphens. Removing hyphens from ISBNs is trivial, whereas adding the hyphens back in is non-trivial requiring a library. |
| 51 | 67 | ||
| 52 | ### Podcasts: | 68 | ### Podcasts: |
| 53 | 69 | ||