clearify the use of a-tag which refer to another event

This commit is contained in:
Sebastix 2024-07-12 10:49:31 +02:00
parent f8cd9b86c1
commit cf940a6973

6
23.md
View File

@ -35,11 +35,11 @@ These articles are meant to be editable, so they should make use of the paramete
### Linking ### Linking
The article may be linked to using the [NIP-19](19.md) `naddr` code along with the `a` tag. The article may be linked to a (maybe parameterized) replaceable event using the [NIP-19](19.md) `naddr` code along with the optional `a` tag formatted according to [NIP-01](01.md) (see example below).
### References ### References
References to other Nostr notes, articles or profiles must be made according to [NIP-27](27.md), i.e. by using [NIP-21](21.md) `nostr:...` links and optionally adding tags for these (see example below). References to other Nostr notes, articles or profiles must be made according to [NIP-27](27.md), i.e. by using [NIP-21](21.md) `nostr:...` links and optionally adding tags for these in the content field (see example below).
## Example Event ## Example Event
@ -54,7 +54,7 @@ References to other Nostr notes, articles or profiles must be made according to
["published_at", "1296962229"], ["published_at", "1296962229"],
["t", "placeholder"], ["t", "placeholder"],
["e", "b3e392b11f5d4f28321cedd09303a748acfd0487aea5a7450b3481c60b6e4f87", "wss://relay.example.com"], ["e", "b3e392b11f5d4f28321cedd09303a748acfd0487aea5a7450b3481c60b6e4f87", "wss://relay.example.com"],
["a", "30023:a695f6b60119d9521934a691347d9f78e8770b56da16bb255ee286ddf9fda919:lorem-ipsum", "wss://relay.nostr.org"] ["a", "30023:a695f6b60119d9521934a691347d9f78e8770b56da16bb255ee286ddf9fda919:lorem", "wss://relay.nostr.org"]
], ],
"pubkey": "...", "pubkey": "...",
"id": "..." "id": "..."