You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xep-0446.xml
+16-5Lines changed: 16 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,12 @@
25
25
<supersededby/>
26
26
<shortname>file-metadata</shortname>
27
27
&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>
28
34
<revision>
29
35
<version>0.1.0</version>
30
36
<date>2020-11-24</date>
@@ -70,11 +76,6 @@
70
76
<td>Timestamp specifying the last modified time of the file (which MUST conform to the DateTime profile of &xep0082;).</td>
71
77
<td><tt>2015-07-26T21:46:00+01:00</tt></td>
72
78
</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>
78
79
<tr>
79
80
<td>desc</td>
80
81
<td>A human readable description of the file. Multiple <tt><desc/></tt> elements MAY be included if different xml:lang values are specified.</td>
@@ -85,6 +86,11 @@
85
86
<td>A hash of the file content, using the <tt><hash/></tt> element defined in &xep0300; and qualifed by the 'urn:xmpp:hashes:2' namespace. Multiple hashes MAY be included for hash agility.</td>
86
87
<td><em>see specification</em></td>
87
88
</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>
88
94
<tr>
89
95
<td>length</td>
90
96
<td>Length of an audio or video file, in milliseconds.</td>
@@ -110,6 +116,11 @@
110
116
<td>A thumbnail element of the file, using the <thumbnail/> 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>
111
117
<td><em>see specification</em></td>
112
118
</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>
113
124
</table>
114
125
<p>
115
126
All child elements are OPTIONAL, however, specifications making use of the
0 commit comments