]> git.phdru.name Git - extfs.d.git/blob - xml-INSTALL.html
Feat(torrent): Try harder to guess encoding
[extfs.d.git] / xml-INSTALL.html
1 <?xml version="1.0" encoding="utf-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6 <meta name="generator" content="Docutils 0.12: http://docutils.sourceforge.net/" />
7 <title>How to install XML VFS script</title>
8 <style type="text/css">
9
10
11 </style>
12 </head>
13 <body>
14 <div class="document" id="how-to-install-xml-vfs-script">
15 <h1 class="title">How to install XML VFS script</h1>
16
17 <p>First, see the general instructions at <a class="reference external" href="INSTALL.html">INSTALL.html</a>.</p>
18 <div class="section" id="older-versions-of-mc">
19 <h1>Older versions of mc</h1>
20 <p>To assign xml VFS to <tt class="docutils literal">*.xml</tt> files (ignore case) and to XML file type add
21 the following to <tt class="docutils literal">mc.ext</tt>:</p>
22 <pre class="literal-block">
23 regex/\.([xX][mM][lL])$
24   Open=%cd %p#xml
25
26 type/^XML *(1\.0 *)?document text
27   Open=%cd %p#xml
28 </pre>
29 <p>Enable file types guessing.</p>
30 </div>
31 <div class="section" id="newer-versions">
32 <h1>Newer versions</h1>
33 <p>Edit <tt class="docutils literal">mc.ext</tt>; the syntax is slightly different:</p>
34 <pre class="literal-block">
35 regex/\.([xX][mM][lL])$
36   Include=xml
37
38 type/^XML *(1\.0 *)?document text
39   Include=xml
40
41 include/xml
42   Open=%cd %p/xml://
43 </pre>
44 <p>Enable file types guessing.</p>
45 </div>
46 </div>
47 </body>
48 </html>