mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-04-13 05:19:56 -04:00
nip73: bring back previous ordering.
This commit is contained in:
parent
67145a72b2
commit
8f676dc0a5
67
73.md
67
73.md
@ -15,22 +15,52 @@ There are certain established global content identifiers such as [Book ISBNs](ht
|
|||||||
|
|
||||||
| Type | `i` tag | `k` tag |
|
| Type | `i` tag | `k` tag |
|
||||||
| --- | --- | --- |
|
| --- | --- | --- |
|
||||||
| Blockchain Transaction | "`<blockchain>`:[`<chainId>`:]tx:`<txid, hex, lowercase>`" | "`<blockchain>`:tx" |
|
| URLs | "`<URL, normalized, no fragment>`" | "web" |
|
||||||
| Blockchain Address | "`<blockchain>`:[`<chainId>`:]address:`<address>`" | "`<blockchain>`:address" |
|
|
||||||
| Books | "isbn:`<id, without hyphens>`" | "isbn" |
|
| Books | "isbn:`<id, without hyphens>`" | "isbn" |
|
||||||
| Geohashes | "geo:`<geohash, lowercase>`" | "geo" |
|
| Geohashes | "geo:`<geohash, lowercase>`" | "geo" |
|
||||||
| Hashtags | "#`<topic, lowercase>`" | "#" |
|
|
||||||
| Movies | "isan:`<id, without version part>`" | "isan" |
|
| Movies | "isan:`<id, without version part>`" | "isan" |
|
||||||
| Papers | "doi:`<id, lowercase>`" | "doi" |
|
| Papers | "doi:`<id, lowercase>`" | "doi" |
|
||||||
|
| Hashtags | "#`<topic, lowercase>`" | "#" |
|
||||||
| Podcast Feeds | "podcast:guid:`<guid>`" | "podcast:guid" |
|
| Podcast Feeds | "podcast:guid:`<guid>`" | "podcast:guid" |
|
||||||
| Podcast Episodes | "podcast:item:guid:`<guid>`" | "podcast:item:guid" |
|
| Podcast Episodes | "podcast:item:guid:`<guid>`" | "podcast:item:guid" |
|
||||||
| Podcast Publishers | "podcast:publisher:guid:`<guid>`" | "podcast:publisher:guid" |
|
| Podcast Publishers | "podcast:publisher:guid:`<guid>`" | "podcast:publisher:guid" |
|
||||||
| URLs | "`<URL, normalized, no fragment>`" | "web" |
|
| Blockchain Transaction | "`<blockchain>`:[`<chainId>`:]tx:`<txid, hex, lowercase>`" | "`<blockchain>`:tx" |
|
||||||
|
| Blockchain Address | "`<blockchain>`:[`<chainId>`:]address:`<address>`" | "`<blockchain>`:address" |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Examples
|
## 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
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
### Podcasts:
|
||||||
|
|
||||||
|
- Podcast RSS Feed GUID: `["i", "podcast:guid:c90e609a-df1e-596a-bd5e-57bcc8aad6cc"]` - https://podcastindex.org/podcast/c90e609a-df1e-596a-bd5e-57bcc8aad6cc
|
||||||
|
- Podcast RSS Item GUID: `["i", "podcast:item:guid:d98d189b-dc7b-45b1-8720-d4b98690f31f"]`
|
||||||
|
- Podcast RSS Publisher GUID: `["i", "podcast:publisher:guid:18bcbf10-6701-4ffb-b255-bc057390d738"]`
|
||||||
|
|
||||||
|
### Movies:
|
||||||
|
|
||||||
|
- Movie ISAN: `["i", "isan:0000-0000-401A-0000-7"]` - https://web.isan.org/public/en/isan/0000-0000-401A-0000-7
|
||||||
|
|
||||||
|
Movie 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
|
||||||
|
|
||||||
### Blockchain
|
### Blockchain
|
||||||
|
|
||||||
`<blockchain>` can be any layer 1 chain (`bitcoin`, `ethereum`, `solana`, ...). If necessary (e.g. for ethereum), you can specify a `<chainId>`.
|
`<blockchain>` can be any layer 1 chain (`bitcoin`, `ethereum`, `solana`, ...). If necessary (e.g. for ethereum), you can specify a `<chainId>`.
|
||||||
@ -87,35 +117,6 @@ E.g. https://gnosisscan.io/tx/0x98f7812be496f97f80e2e98d66358d1fc733cf34176a8356
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
### 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
|
|
||||||
|
|
||||||
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.
|
|
||||||
|
|
||||||
### Podcasts:
|
|
||||||
|
|
||||||
- Podcast RSS Feed GUID: `["i", "podcast:guid:c90e609a-df1e-596a-bd5e-57bcc8aad6cc"]` - https://podcastindex.org/podcast/c90e609a-df1e-596a-bd5e-57bcc8aad6cc
|
|
||||||
- Podcast RSS Item GUID: `["i", "podcast:item:guid:d98d189b-dc7b-45b1-8720-d4b98690f31f"]`
|
|
||||||
- Podcast RSS Publisher GUID: `["i", "podcast:publisher:guid:18bcbf10-6701-4ffb-b255-bc057390d738"]`
|
|
||||||
|
|
||||||
### Movies:
|
|
||||||
|
|
||||||
- Movie ISAN: `["i", "isan:0000-0000-401A-0000-7"]` - https://web.isan.org/public/en/isan/0000-0000-401A-0000-7
|
|
||||||
|
|
||||||
Movie 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
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Optional URL Hints
|
### Optional URL Hints
|
||||||
|
Loading…
x
Reference in New Issue
Block a user