mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Expand preview into other tags
This commit is contained in:
parent
de15edb04a
commit
30c799b001
8
94.md
8
94.md
|
@ -21,7 +21,9 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
|
|||
* `magnet` (optional) URI to magnet file
|
||||
* `i` (optional) torrent infohash
|
||||
* `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the file is being loaded by the client
|
||||
* `preview` (optional) shorter file variant such as thumbnail, blurred image or text excerpt
|
||||
* `thumb` (optional) url of thumbnail with same aspect ratio
|
||||
* `image` (optional) url of preview image with same dimensions
|
||||
* `summary` (optional) text excerpt
|
||||
* `alt` (optional) description for accessibility
|
||||
|
||||
```json
|
||||
|
@ -40,7 +42,9 @@ This NIP specifies the use of the `1063` event type, having in `content` a descr
|
|||
["magnet",<magnet URI> ],
|
||||
["i",<torrent infohash>],
|
||||
["blurhash", <value>],
|
||||
["preview", <preview url/text>, <MIME type>],
|
||||
["thumb", <string with thumbnail URI>],
|
||||
["image", <string with preview URI>],
|
||||
["summary", <excerpt>],
|
||||
["alt", <description>]
|
||||
],
|
||||
"content": <caption>,
|
||||
|
|
Loading…
Reference in New Issue
Block a user