upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/51.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2023-11-15 15:32:09 -0300
committerfiatjaf <fiatjaf@gmail.com>2023-11-15 15:32:09 -0300
commit54befcc09a3fdd804ee3f98a8a670c582cd101cc (patch)
tree395ab4a4d9ce97d98386460d74b7ec118b54589f /51.md
parentfd288d4ea9c5aef08747f91db90339b73cce0640 (diff)
deprecate the 30001 ad-hoc pin/bookmark/communities lists and use new kinds.
Diffstat (limited to '51.md')
-rw-r--r--51.md23
1 files changed, 12 insertions, 11 deletions
diff --git a/51.md b/51.md
index d113f80..d316bad 100644
--- a/51.md
+++ b/51.md
@@ -30,12 +30,12 @@ rely on them to augment the user profile or browsing experience.
30For example, _mute lists_ can contain the public keys of spammers and bad actors users don't want to see in 30For example, _mute lists_ can contain the public keys of spammers and bad actors users don't want to see in
31their feeds or receive annoying notifications from. 31their feeds or receive annoying notifications from.
32 32
33| name | kind | "d" tag | description | expected tag items | 33| name | kind | description | expected tag items |
34| --- | --- | --- | --- | --- | 34| --- | --- | --- | --- |
35| Mute list | 10000 | | things the user doesn't want to see in their feeds | `"p"` (pubkeys), `"t"` (hashtags) | 35| Mute list | 10000 | things the user doesn't want to see in their feeds | `"p"` (pubkeys), `"t"` (hashtags) |
36| Bookmarks list | 30001 | `"bookmark"` | things the user intends to save for the future | `"e"` (kind:1 notes), `"a"` (kind:30023 articles) | 36| Pin list | 10001 | events the user intends to showcase in their profile page | `"e"` (kind:1 notes) |
37| Pin list | 30001 | `"pin"` | events the user intends to showcase in their profile page | `"e"` (kind:1 notes) | 37| Bookmarks list | 10003 | things the user intends to save for the future | `"e"` (kind:1 notes), `"a"` (kind:30023 articles) |
38| Communities list | 30001 | `"communities"` | [NIP-72](72.md) communities the user belongs to | `"a"` (kind:34550 community definitions) | 38| Communities list | 10004 | [NIP-72](72.md) communities the user belongs to | `"a"` (kind:34550 community definitions) |
39 39
40## Sets 40## Sets
41 41
@@ -59,11 +59,12 @@ Aside from their main identifier, the `"d"` tag, sets can optionally have a `"ti
59 59
60Some clients have used these lists in the past, but they should work on transitioning to the [standard formats](#standard-lists) above: 60Some clients have used these lists in the past, but they should work on transitioning to the [standard formats](#standard-lists) above:
61 61
62- kind:30000 and `d` "mute" 62| kind | "d" tag | use instead |
63 63| --- | --- | --- |
64| kind | "d" tag | use instead | 64| 30000 | `"mute"` | kind 10000 _mute list_ |
65| --- | --- | --- | 65| 30001 | `"pin"` | kind 10001 _pin list_ |
66| 30000 | `"mute"` | kind 10000 _mute list_ | 66| 30001 | `"bookmark"` | kind 10003 _bookmarks list_ |
67| 30001 | `"communities"` | kind 10004 _communities list_ |
67 68
68## Examples 69## Examples
69 70