Skip to content

Commit 7e2a065

Browse files
committed
XEP-0446: File Metadata v0.2.0
Use height/width instead of dimensions
1 parent 7c46fc6 commit 7e2a065

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

xep-0446.xml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@
2525
<supersededby/>
2626
<shortname>file-metadata</shortname>
2727
&larma;
28+
<revision>
29+
<version>0.2.0</version>
30+
<date>2022-07-17</date>
31+
<initials>lmw</initials>
32+
<remark>Use height/width instead of dimensions</remark>
33+
</revision>
2834
<revision>
2935
<version>0.1.0</version>
3036
<date>2020-11-24</date>
@@ -70,11 +76,6 @@
7076
<td>Timestamp specifying the last modified time of the file (which MUST conform to the DateTime profile of &xep0082;).</td>
7177
<td><tt>2015-07-26T21:46:00+01:00</tt></td>
7278
</tr>
73-
<tr>
74-
<td>dimensions</td>
75-
<td>Horizontal and vertical dimensions of image or video files, in pixels.</td>
76-
<td><tt>1920x1080</tt></td>
77-
</tr>
7879
<tr>
7980
<td>desc</td>
8081
<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 @@
8586
<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>
8687
<td><em>see specification</em></td>
8788
</tr>
89+
<tr>
90+
<td>height</td>
91+
<td>Vertical dimensions of image or video files, in pixels.</td>
92+
<td><tt>1920</tt></td>
93+
</tr>
8894
<tr>
8995
<td>length</td>
9096
<td>Length of an audio or video file, in milliseconds.</td>
@@ -110,6 +116,11 @@
110116
<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>
111117
<td><em>see specification</em></td>
112118
</tr>
119+
<tr>
120+
<td>width</td>
121+
<td>Horizontal dimensions of image or video files, in pixels.</td>
122+
<td><tt>1080</tt></td>
123+
</tr>
113124
</table>
114125
<p>
115126
All child elements are OPTIONAL, however, specifications making use of the

0 commit comments

Comments
 (0)