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: Docs/Design/FileFormats/export.html
+63-17Lines changed: 63 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -60,9 +60,11 @@ <h2>
60
60
</h2>
61
61
62
62
<p>
63
-
XML export files use UTF-8 encoding without a byte order mark. (In earlier
64
-
versions XML generated for submission to the online database is also encoded
65
-
in UTF-8. Code submission is no longer supported.)
63
+
XML export files use UTF-8 encoding without a byte order mark.
64
+
</p>
65
+
66
+
<pclass="pullout">
67
+
In earlier versions of CodeSnip, XML files generated for submission to the online database were also encoded in UTF-8. Support for code submission was removed from CodeSnip v4.16.0.
66
68
</p>
67
69
68
70
<p>
@@ -76,8 +78,8 @@ <h2>
76
78
</h2>
77
79
78
80
<p>
79
-
There have been six different versions of the XML file format – v1 to
80
-
v6. Tags from all six versions are explained below with notes describing
81
+
There have been seven different versions of the XML export file format – v1 to
82
+
v7. Tags used by all versions are explained below, with notes describing
81
83
which versions a tag applies to. Where there is no note the tag is valid in
82
84
all versions.
83
85
</p>
@@ -138,7 +140,7 @@ <h2>
138
140
</dt>
139
141
<dd>
140
142
Identifies version of file. Determines which tags are valid and
141
-
establishes rules concerning content. Valid versions are 1..6.
143
+
establishes rules concerning content. Valid versions are 1..7.
142
144
</dd>
143
145
</dl>
144
146
</dd>
@@ -155,30 +157,56 @@ <h2>
155
157
<strong>codesnip-export/user-info</strong>
156
158
</dt>
157
159
<dd>
158
-
Contains information about user who created the file (omitted for normal
159
-
exports – (In earlier versions this was included with submissions to
160
-
the online database. Submission to the database is no longer supported.)
160
+
<ulclass="squashed">
161
+
<li>
162
+
<spanclass="highlight">versions 1..6:</span> Contains information about user who created the file used for submissions to the online database, omitted for other exports.
163
+
</li>
164
+
<li>
165
+
<spanclass="highlight">version 7:</span> Not supported. Ignored if present.
166
+
</li>
167
+
</ul>
161
168
</dd>
162
169
163
170
<dt>
164
171
<strong>codesnip-export/user-info/name</strong>
165
172
</dt>
166
173
<dd>
167
-
User's name or nickname.
174
+
<ulclass="squashed">
175
+
<li>
176
+
<spanclass="highlight">versions 1..6:</span> User's name or nickname.
177
+
</li>
178
+
<li>
179
+
<spanclass="highlight">version 7:</span> Not supported. Ignored if present.
0 commit comments