upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/73.md
diff options
context:
space:
mode:
authorAlex Gleason <alex@alexgleason.me>2026-04-10 13:31:37 -0500
committerAlex Gleason <alex@alexgleason.me>2026-04-10 13:31:37 -0500
commit5e1e24766910fc07cb61a049aed2623987458ec2 (patch)
treeb7588f61fddf9374268d5cd6f4e3f2655d7c840a /73.md
parentb8782df594b4e7e8f088869134908eed58be6078 (diff)
parent3465f540e3eaedccb5309711b502f0febf56b52f (diff)
Merge nip44-big-payloads into bigger-nip44bigger-nip44
Diffstat (limited to '73.md')
-rw-r--r--73.md20
1 files changed, 18 insertions, 2 deletions
diff --git a/73.md b/73.md
index d883e79..3e975ae 100644
--- a/73.md
+++ b/73.md
@@ -6,7 +6,7 @@ External Content IDs
6 6
7`draft` `optional` 7`draft` `optional`
8 8
9There 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. 9There 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
51Geohashes are a geocoding system that encodes geographic locations into short strings of letters and digits. They MUST be lowercase.
52
53### Countries:
54
55ISO 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
60ISO 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
50Book 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. 66Book 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