diff options
Diffstat (limited to '23.md')
| -rw-r--r-- | 23.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -31,13 +31,13 @@ These articles are meant to be editable, so they should make use of the replacea | |||
| 31 | 31 | ||
| 32 | ### Linking | 32 | ### Linking |
| 33 | 33 | ||
| 34 | The article may be linked to using the NIP-19 `nitem` code along with the `"i"` tag (see NIP-33 and NIP-19). | 34 | The article may be linked to using the NIP-19 `naddr` code along with the `"a"` tag (see NIP-33 and NIP-19). |
| 35 | 35 | ||
| 36 | ### References | 36 | ### References |
| 37 | 37 | ||
| 38 | Clients that support publishing NIP-23 events should implement support for parsing pasted NIP-19 `nitem` identifiers and adding them automatically to the list of `.tags` of the event, replacing the actual content with a string like `#[tag_index]` in the same way as NIP-08 -- or, if the reference is in the form of a URL (for example, `[click here](nitem1...)`) then they should be replaced with just the tag number directly as if link with that name existed at the bottom of the Markdown (for example, `[click here][0]`). | 38 | Clients that support publishing NIP-23 events should implement support for parsing pasted NIP-19 `naddr` identifiers and adding them automatically to the list of `.tags` of the event, replacing the actual content with a string like `#[tag_index]` in the same way as NIP-08 -- or, if the reference is in the form of a URL (for example, `[click here](naddr1...)`) then they should be replaced with just the tag number directly as if link with that name existed at the bottom of the Markdown (for example, `[click here][0]`). |
| 39 | 39 | ||
| 40 | Reader clients should parse the Markdown and replace these references with either internal links so the referenced events can be accessed directly, with NIP-21 `nostr:nitem1...` links or direct links to web clients that will handle these references. | 40 | Reader clients should parse the Markdown and replace these references with either internal links so the referenced events can be accessed directly, with NIP-21 `nostr:naddr1...` links or direct links to web clients that will handle these references. |
| 41 | 41 | ||
| 42 | The idea here is that having these tags is that reader clients can display a list of backreferences at the bottom when one article mentions another. | 42 | The idea here is that having these tags is that reader clients can display a list of backreferences at the bottom when one article mentions another. |
| 43 | 43 | ||
| @@ -56,7 +56,7 @@ The same principles can be applied to `nevent1...`, `note1...`, `nprofile1...` o | |||
| 56 | ["published_at", "1296962229"], | 56 | ["published_at", "1296962229"], |
| 57 | ["t", "placeholder"], | 57 | ["t", "placeholder"], |
| 58 | ["e", "b3e392b11f5d4f28321cedd09303a748acfd0487aea5a7450b3481c60b6e4f87", "wss://relay.example.com"], | 58 | ["e", "b3e392b11f5d4f28321cedd09303a748acfd0487aea5a7450b3481c60b6e4f87", "wss://relay.example.com"], |
| 59 | ["i", "30023:a695f6b60119d9521934a691347d9f78e8770b56da16bb255ee286ddf9fda919:ipsum", "wss://relay.nostr.org"] | 59 | ["a", "30023:a695f6b60119d9521934a691347d9f78e8770b56da16bb255ee286ddf9fda919:ipsum", "wss://relay.nostr.org"] |
| 60 | ], | 60 | ], |
| 61 | "pubkey": "...", | 61 | "pubkey": "...", |
| 62 | "id": "..." | 62 | "id": "..." |