upleb.uk

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

summaryrefslogtreecommitdiff
path: root/XX.md
diff options
context:
space:
mode:
Diffstat (limited to 'XX.md')
-rw-r--r--XX.md47
1 files changed, 47 insertions, 0 deletions
diff --git a/XX.md b/XX.md
new file mode 100644
index 0000000..636629d
--- /dev/null
+++ b/XX.md
@@ -0,0 +1,47 @@
1NIP-XX
2======
3
4External Content IDs
5-------------------------
6
7`draft` `optional`
8
9There are certain established global content identifiers that would be useful to reference in nostr events so that clients can query all events assosiated with these ids.
10
11- Book [ISBNs](https://en.wikipedia.org/wiki/ISBN)
12- Podcast [GUIDs](https://podcastnamespace.org/tag/guid)
13- Movie [ISANs](https://en.wikipedia.org/wiki/International_Standard_Audiovisual_Number)
14
15Since the `i` tag is already used for similar references in kind-0 metadata events it makes sense to use it for these content ids as well.
16
17
18## Supported IDs
19
20### Books:
21
22- Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030
23
24Book 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.
25
26### Podcasts:
27
28- Podcast RSS Feed GUID: `["i", "podcast:guid:c90e609a-df1e-596a-bd5e-57bcc8aad6cc"]` - https://podcastindex.org/podcast/c90e609a-df1e-596a-bd5e-57bcc8aad6cc
29- Podcast RSS Item GUID: `["i", "podcast:item:guid:d98d189b-dc7b-45b1-8720-d4b98690f31f"]`
30
31### Movies:
32
33- Movie ISAN: `["i", "isan:0000-0000-401A-0000-7"]` - https://web.isan.org/public/en/isan/0000-0000-401A-0000-7
34
35Movie ISANs SHOULD be referenced _**without the version part**_ as the versions / edits of movies are not relevant. More info on ISAN parts here - https://support.isan.org/hc/en-us/articles/360002783131-Records-relations-and-hierarchies-in-the-ISAN-Registry
36
37---
38
39### Optional URL Hints
40
41Each `i` tag MAY have a url hint as the second argument to redirect people to a website if the client isn't opinionated about how to interpret the id:
42
43`["i", "podcast:item:guid:d98d189b-dc7b-45b1-8720-d4b98690f31f", https://fountain.fm/episode/z1y9TMQRuqXl2awyrQxg]`
44
45`["i", "isan:0000-0000-401A-0000-7", https://www.imdb.com/title/tt0120737]`
46
47