wok-current view shared-mime-info/stuff/quarry.xml @ rev 23508
updated python-mechanize (0.2.5 -> 0.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 10:13:51 2020 +0100 (2020-04-06) |
parents | |
children |
line source
1 <?xml version="1.0"?>
2 <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
3 <mime-type type="application/x-go-sgf">
4 <comment>Board game record</comment>
5 <comment xml:lang="ru">запись настольной игры</comment>
7 <!-- Usually SGF files start with one of these two properties at offset 0. -->
8 <magic priority="50">
9 <match type="string" value="(;FF[" offset="0"/>
10 <match type="string" value="(;GM[" offset="0"/>
11 </magic>
13 <!-- These properties are usually not used as the opening ones, but are good candidates to be used this way. -->
14 <magic priority="45">
15 <match type="string" value="(;CA[" offset="0"/>
16 <match type="string" value="(;AP[" offset="0"/>
17 </magic>
19 <!-- We also repeat matching on the first kilobyte of a file, but give matches much lower priroty. -->
20 <magic priority="25">
21 <match type="string" value="(;FF[" offset="0:1019"/>
22 <match type="string" value="(;GM[" offset="0:1019"/>
23 </magic>
24 <magic priority="20">
25 <match type="string" value="(;CA[" offset="0:1019"/>
26 <match type="string" value="(;AP[" offset="0:1019"/>
27 </magic>
29 <!-- Last resort matching with very low priority. -->
30 <magic priority="5">
31 <match type="string" value="(;\n" offset="0"/>
32 <match type="string" value="(;\r\n" offset="0"/>
33 </magic>
34 <magic priority="0">
35 <match type="string" value="(;" offset="0"/>
36 </magic>
38 <alias type="text/sgf"/>
39 <alias type="text/x-sgf"/>
40 <glob pattern="*.sgf"/>
41 </mime-type>
42 </mime-info>