XEP-0446: File Metadata v0.2.0

Use height/width instead of dimensions
This commit is contained in:
Marvin W 2022-07-17 22:34:37 +02:00
parent 7c46fc60c0
commit 7e2a065f2f
No known key found for this signature in database
GPG Key ID: 072E9235DB996F2A
1 changed files with 16 additions and 5 deletions

View File

@ -25,6 +25,12 @@
<supersededby/>
<shortname>file-metadata</shortname>
&larma;
<revision>
<version>0.2.0</version>
<date>2022-07-17</date>
<initials>lmw</initials>
<remark>Use height/width instead of dimensions</remark>
</revision>
<revision>
<version>0.1.0</version>
<date>2020-11-24</date>
@ -70,11 +76,6 @@
<td>Timestamp specifying the last modified time of the file (which MUST conform to the DateTime profile of &xep0082;).</td>
<td><tt>2015-07-26T21:46:00+01:00</tt></td>
</tr>
<tr>
<td>dimensions</td>
<td>Horizontal and vertical dimensions of image or video files, in pixels.</td>
<td><tt>1920x1080</tt></td>
</tr>
<tr>
<td>desc</td>
<td>A human readable description of the file. Multiple <tt>&lt;desc/&gt;</tt> elements MAY be included if different xml:lang values are specified.</td>
@ -85,6 +86,11 @@
<td>A hash of the file content, using the <tt>&lt;hash/&gt;</tt> element defined in &xep0300; and qualifed by the 'urn:xmpp:hashes:2' namespace. Multiple hashes MAY be included for hash agility.</td>
<td><em>see specification</em></td>
</tr>
<tr>
<td>height</td>
<td>Vertical dimensions of image or video files, in pixels.</td>
<td><tt>1920</tt></td>
</tr>
<tr>
<td>length</td>
<td>Length of an audio or video file, in milliseconds.</td>
@ -110,6 +116,11 @@
<td>A thumbnail element of the file, using the &lt;thumbnail/&gt; element defined in &xep0264; and qualified by the 'urn:xmpp:thumbs:1' namespace. Multiple thumbnails MAY be included for media type and size agility.</td>
<td><em>see specification</em></td>
</tr>
<tr>
<td>width</td>
<td>Horizontal dimensions of image or video files, in pixels.</td>
<td><tt>1080</tt></td>
</tr>
</table>
<p>
All child elements are OPTIONAL, however, specifications making use of the