diff options
| author | Francisco Calderón <fjcalderon@gmail.com> | 2024-11-04 15:39:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 15:39:21 -0300 |
| commit | 03f3bc39678262ecbd5d870c9da44723023557ff (patch) | |
| tree | e75ecf32d3bc906a8b26314488a1ae90996169c1 /23.md | |
| parent | f72a2f69ed93cf442e83bf9e7e16f6c06da40384 (diff) | |
| parent | 6bcd89c097e97e65dbc95e7c6b7b8348e8dd6b5c (diff) | |
Merge branch 'master' into p2p-nip
Diffstat (limited to '23.md')
| -rw-r--r-- | 23.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -6,7 +6,7 @@ Long-form Content | |||
| 6 | 6 | ||
| 7 | `draft` `optional` | 7 | `draft` `optional` |
| 8 | 8 | ||
| 9 | This NIP defines `kind:30023` (a _parameterized replaceable event_) for long-form text content, generally referred to as "articles" or "blog posts". `kind:30024` has the same structure as `kind:30023` and is used to save long form drafts. | 9 | This NIP defines `kind:30023` (an _addressable event_) for long-form text content, generally referred to as "articles" or "blog posts". `kind:30024` has the same structure as `kind:30023` and is used to save long form drafts. |
| 10 | 10 | ||
| 11 | "Social" clients that deal primarily with `kind:1` notes should not be expected to implement this NIP. | 11 | "Social" clients that deal primarily with `kind:1` notes should not be expected to implement this NIP. |
| 12 | 12 | ||
| @@ -20,7 +20,7 @@ The `.content` of these events should be a string text in Markdown syntax. To ma | |||
| 20 | 20 | ||
| 21 | ### Metadata | 21 | ### Metadata |
| 22 | 22 | ||
| 23 | For the date of the last update the `.created_at` field should be used, for "tags"/"hashtags" (i.e. topics about which the event might be of relevance) the `t` tag should be used, as per NIP-12. | 23 | For the date of the last update the `.created_at` field should be used, for "tags"/"hashtags" (i.e. topics about which the event might be of relevance) the `t` tag should be used. |
| 24 | 24 | ||
| 25 | Other metadata fields can be added as tags to the event as necessary. Here we standardize 4 that may be useful, although they remain strictly optional: | 25 | Other metadata fields can be added as tags to the event as necessary. Here we standardize 4 that may be useful, although they remain strictly optional: |
| 26 | 26 | ||
| @@ -31,7 +31,7 @@ Other metadata fields can be added as tags to the event as necessary. Here we st | |||
| 31 | 31 | ||
| 32 | ### Editability | 32 | ### Editability |
| 33 | 33 | ||
| 34 | These articles are meant to be editable, so they should make use of the parameterized replaceability feature and include a `d` tag with an identifier for the article. Clients should take care to only publish and read these events from relays that implement that. If they don't do that they should also take care to hide old versions of the same article they may receive. | 34 | These articles are meant to be editable, so they should include a `d` tag with an identifier for the article. Clients should take care to only publish and read these events from relays that implement that. If they don't do that they should also take care to hide old versions of the same article they may receive. |
| 35 | 35 | ||
| 36 | ### Linking | 36 | ### Linking |
| 37 | 37 | ||