Use 'd' tag for list identifier/title for consistency with NIP-51

- Replace title tag with 'd' tag to follow NIP-51 convention
- Update tag description to clarify its purpose
- Keep consistent with other list-type NIPs
This commit is contained in:
vveerrgg 2025-02-05 23:46:44 -08:00
parent 0f2b4ab47c
commit 13c89d66f3

10
74.md
View File

@ -35,7 +35,7 @@ The content field MUST be empty. All data is stored in tags.
Required tags:
- `ll` ["list"] - Identifies this as a link list event
- `title` [list_title] - Name of the list
- `d` [identifier] - Identifier and title of the list
- `nl` [url, description, language?, direction?] - One or more link entries
- `url`: The URL being shared (must follow protocol requirements)
- `description`: Text description of the link (must be non-empty)
@ -46,7 +46,7 @@ Optional tags:
- `lang` [code] - Default language for the list (ISO 639-1)
- `dir` [direction] - Default text direction ("ltr" or "rtl")
- `t` [topic] - Topics/hashtags for discovery
- `summary` [text] - Brief description of the list
- `summary` [text] - Additional description of the list
- `image` [url] - Cover image for the list
### URL Protocol Support
@ -84,7 +84,7 @@ Extended Protocols:
"kind": 30001,
"tags": [
["ll", "list"],
["title", "Mixed Protocol Resources"],
["d", "Mixed Protocol Resources"],
["nl", "https://example.com", "Web Resource"],
["nl", "magnet:?xt=urn:btih:...", "Linux ISO Torrent", null, null, "torrent"],
["nl", "ipfs://Qm...", "IPFS Document", null, null, "ipfs"],
@ -108,7 +108,7 @@ Extended Protocols:
"kind": 30001,
"tags": [
["ll", "list"],
["title", "Favorite Programming Resources"],
["d", "Favorite Programming Resources"],
["lang", "en"],
["dir", "ltr"],
["nl", "https://example.com/tutorial", "Great Python Tutorial"],
@ -124,7 +124,7 @@ Extended Protocols:
"kind": 30001,
"tags": [
["ll", "list"],
["title", "Global Dev Resources"],
["d", "Global Dev Resources"],
["lang", "en"],
["dir", "ltr"],
["nl", "https://example.com/docs", "Documentation"],