diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2025-04-02 10:11:54 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2025-04-02 10:11:54 -0300 |
| commit | 8f676dc0a55e75564b54d96bcadf787b61654219 (patch) | |
| tree | 61d3eb916582a5acb7d6de509617e009c2f55586 /73.md | |
| parent | 67145a72b25c7db33592705c744d70ae8685e5a3 (diff) | |
nip73: bring back previous ordering.
Diffstat (limited to '73.md')
| -rw-r--r-- | 73.md | 67 |
1 files changed, 34 insertions, 33 deletions
| @@ -15,22 +15,52 @@ There are certain established global content identifiers such as [Book ISBNs](ht | |||
| 15 | 15 | ||
| 16 | | Type | `i` tag | `k` tag | | 16 | | Type | `i` tag | `k` tag | |
| 17 | | --- | --- | --- | | 17 | | --- | --- | --- | |
| 18 | | Blockchain Transaction | "`<blockchain>`:[`<chainId>`:]tx:`<txid, hex, lowercase>`" | "`<blockchain>`:tx" | | 18 | | URLs | "`<URL, normalized, no fragment>`" | "web" | |
| 19 | | Blockchain Address | "`<blockchain>`:[`<chainId>`:]address:`<address>`" | "`<blockchain>`:address" | | ||
| 20 | | Books | "isbn:`<id, without hyphens>`" | "isbn" | | 19 | | Books | "isbn:`<id, without hyphens>`" | "isbn" | |
| 21 | | Geohashes | "geo:`<geohash, lowercase>`" | "geo" | | 20 | | Geohashes | "geo:`<geohash, lowercase>`" | "geo" | |
| 22 | | Hashtags | "#`<topic, lowercase>`" | "#" | | ||
| 23 | | Movies | "isan:`<id, without version part>`" | "isan" | | 21 | | Movies | "isan:`<id, without version part>`" | "isan" | |
| 24 | | Papers | "doi:`<id, lowercase>`" | "doi" | | 22 | | Papers | "doi:`<id, lowercase>`" | "doi" | |
| 23 | | Hashtags | "#`<topic, lowercase>`" | "#" | | ||
| 25 | | Podcast Feeds | "podcast:guid:`<guid>`" | "podcast:guid" | | 24 | | Podcast Feeds | "podcast:guid:`<guid>`" | "podcast:guid" | |
| 26 | | Podcast Episodes | "podcast:item:guid:`<guid>`" | "podcast:item:guid" | | 25 | | Podcast Episodes | "podcast:item:guid:`<guid>`" | "podcast:item:guid" | |
| 27 | | Podcast Publishers | "podcast:publisher:guid:`<guid>`" | "podcast:publisher:guid" | | 26 | | Podcast Publishers | "podcast:publisher:guid:`<guid>`" | "podcast:publisher:guid" | |
| 28 | | URLs | "`<URL, normalized, no fragment>`" | "web" | | 27 | | Blockchain Transaction | "`<blockchain>`:[`<chainId>`:]tx:`<txid, hex, lowercase>`" | "`<blockchain>`:tx" | |
| 28 | | Blockchain Address | "`<blockchain>`:[`<chainId>`:]address:`<address>`" | "`<blockchain>`:address" | | ||
| 29 | 29 | ||
| 30 | --- | 30 | --- |
| 31 | 31 | ||
| 32 | ## Examples | 32 | ## Examples |
| 33 | 33 | ||
| 34 | |||
| 35 | ### Webpages | ||
| 36 | |||
| 37 | For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i" and "k" tags are: | ||
| 38 | |||
| 39 | ```jsonc | ||
| 40 | [ | ||
| 41 | ["i", "https://myblog.example.com/post/2012-03-27/hello-world"], | ||
| 42 | ["k", "web"] | ||
| 43 | ] | ||
| 44 | ``` | ||
| 45 | |||
| 46 | ### Books: | ||
| 47 | |||
| 48 | - Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030 | ||
| 49 | |||
| 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. | ||
| 51 | |||
| 52 | ### Podcasts: | ||
| 53 | |||
| 54 | - Podcast RSS Feed GUID: `["i", "podcast:guid:c90e609a-df1e-596a-bd5e-57bcc8aad6cc"]` - https://podcastindex.org/podcast/c90e609a-df1e-596a-bd5e-57bcc8aad6cc | ||
| 55 | - Podcast RSS Item GUID: `["i", "podcast:item:guid:d98d189b-dc7b-45b1-8720-d4b98690f31f"]` | ||
| 56 | - Podcast RSS Publisher GUID: `["i", "podcast:publisher:guid:18bcbf10-6701-4ffb-b255-bc057390d738"]` | ||
| 57 | |||
| 58 | ### Movies: | ||
| 59 | |||
| 60 | - Movie ISAN: `["i", "isan:0000-0000-401A-0000-7"]` - https://web.isan.org/public/en/isan/0000-0000-401A-0000-7 | ||
| 61 | |||
| 62 | 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 | ||
| 63 | |||
| 34 | ### Blockchain | 64 | ### Blockchain |
| 35 | 65 | ||
| 36 | `<blockchain>` can be any layer 1 chain (`bitcoin`, `ethereum`, `solana`, ...). If necessary (e.g. for ethereum), you can specify a `<chainId>`. | 66 | `<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 | |||
| 87 | 117 | ||
| 88 | 118 | ||
| 89 | 119 | ||
| 90 | ### Webpages | ||
| 91 | |||
| 92 | For the webpage "https://myblog.example.com/post/2012-03-27/hello-world" the "i" and "k" tags are: | ||
| 93 | |||
| 94 | ```jsonc | ||
| 95 | [ | ||
| 96 | ["i", "https://myblog.example.com/post/2012-03-27/hello-world"], | ||
| 97 | ["k", "web"] | ||
| 98 | ] | ||
| 99 | ``` | ||
| 100 | |||
| 101 | ### Books: | ||
| 102 | |||
| 103 | - Book ISBN: `["i", "isbn:9780765382030"]` - https://isbnsearch.org/isbn/9780765382030 | ||
| 104 | |||
| 105 | 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. | ||
| 106 | |||
| 107 | ### Podcasts: | ||
| 108 | |||
| 109 | - Podcast RSS Feed GUID: `["i", "podcast:guid:c90e609a-df1e-596a-bd5e-57bcc8aad6cc"]` - https://podcastindex.org/podcast/c90e609a-df1e-596a-bd5e-57bcc8aad6cc | ||
| 110 | - Podcast RSS Item GUID: `["i", "podcast:item:guid:d98d189b-dc7b-45b1-8720-d4b98690f31f"]` | ||
| 111 | - Podcast RSS Publisher GUID: `["i", "podcast:publisher:guid:18bcbf10-6701-4ffb-b255-bc057390d738"]` | ||
| 112 | |||
| 113 | ### Movies: | ||
| 114 | |||
| 115 | - Movie ISAN: `["i", "isan:0000-0000-401A-0000-7"]` - https://web.isan.org/public/en/isan/0000-0000-401A-0000-7 | ||
| 116 | |||
| 117 | 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 | ||
| 118 | |||
| 119 | --- | 120 | --- |
| 120 | 121 | ||
| 121 | ### Optional URL Hints | 122 | ### Optional URL Hints |