From d11f50bd0ad6663eb53e1da495f8a8b91bb194f5 Mon Sep 17 00:00:00 2001 From: "nostr.wine" <124309146+nostr-wine@users.noreply.github.com> Date: Fri, 8 Mar 2024 11:23:22 -0500 Subject: [PATCH 1/2] NIP-50: add event classification extensions --- 50.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/50.md b/50.md index 66033037..a3fcf87e 100644 --- a/50.md +++ b/50.md @@ -47,4 +47,8 @@ Relays SHOULD exclude spam from search results by default if they support some f Relay MAY support these extensions: - `include:spam` - turn off spam filtering, if it was enabled by default -- `domain:` - include events from users whose valid nip05 domain matches the domain +- `domain:` - include only events from users whose valid nip05 domain matches the domain +- `topic:` - include only events within a classified topic (short string, one to two words) +- `language:` - include only events of a specified language +- `sentiment:` - include only events of a specific sentiment +- `nsfw:` - include or exclude nsfw events (default: true) From 0438236268194cfec1e0e02579e29e75bd52b173 Mon Sep 17 00:00:00 2001 From: "nostr.wine" <124309146+nostr-wine@users.noreply.github.com> Date: Fri, 8 Mar 2024 12:05:49 -0500 Subject: [PATCH 2/2] Update 50.md --- 50.md | 1 - 1 file changed, 1 deletion(-) diff --git a/50.md b/50.md index a3fcf87e..a6e02be9 100644 --- a/50.md +++ b/50.md @@ -48,7 +48,6 @@ Relays SHOULD exclude spam from search results by default if they support some f Relay MAY support these extensions: - `include:spam` - turn off spam filtering, if it was enabled by default - `domain:` - include only events from users whose valid nip05 domain matches the domain -- `topic:` - include only events within a classified topic (short string, one to two words) - `language:` - include only events of a specified language - `sentiment:` - include only events of a specific sentiment - `nsfw:` - include or exclude nsfw events (default: true)