diff options
| -rw-r--r-- | 92.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -6,10 +6,10 @@ Media Attachments | |||
| 6 | 6 | ||
| 7 | Media attachments (images, videos, and other files) may be added to events by including a URL in the event content, along with a matching `imeta` tag. | 7 | Media attachments (images, videos, and other files) may be added to events by including a URL in the event content, along with a matching `imeta` tag. |
| 8 | 8 | ||
| 9 | `imeta` ("inline metadata") tags add information about media URLs in the event's content. Each `imeta` tag SHOULD match a URL in the event content. Clients may replace imeta URLs with rich previews. | 9 | `imeta` ("inline metadata") tags MAY add information about media URLs in the event's content. Each `imeta` tag SHOULD match a URL in the event content. Clients MAY replace imeta URLs with rich previews. |
| 10 | 10 | ||
| 11 | The `imeta` tag is variadic, and each entry is a space-delimited key/value pair. | 11 | The `imeta` tag is variadic, and each entry is a space-delimited key/value pair. |
| 12 | Each `imeta` tag MUST have a `url`, and at least one other field. `imeta` may include | 12 | Each `imeta` tag MUST have a `url`, and at least one other field. `imeta` MAY include |
| 13 | any field specified by [NIP 94](./94.md). There SHOULD be only one `imeta` tag per URL. | 13 | any field specified by [NIP 94](./94.md). There SHOULD be only one `imeta` tag per URL. |
| 14 | 14 | ||
| 15 | ## Example | 15 | ## Example |