]> git.phdru.name Git - extfs.d.git/blobdiff - xml-INSTALL.html
Split INSTALL.txt into {torrent,xml}-INSTALL.txt
[extfs.d.git] / xml-INSTALL.html
diff --git a/xml-INSTALL.html b/xml-INSTALL.html
new file mode 100644 (file)
index 0000000..ad57a2e
--- /dev/null
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<meta name="generator" content="Docutils 0.8.1: http://docutils.sourceforge.net/" />
+<title>How to install XML VFS script</title>
+<style type="text/css">
+
+
+</style>
+</head>
+<body>
+<div class="document" id="how-to-install-xml-vfs-script">
+<h1 class="title">How to install XML VFS script</h1>
+
+<p>First, see the general instruction at <a class="reference external" href="INSTALL.html">INSTALL.html</a>.</p>
+<div class="section" id="older-versions-of-mc">
+<h1>Older versions of mc</h1>
+<p>To assign xml VFS to <tt class="docutils literal">*.xml</tt> files (ignore case) and to XML file type add
+the following to <tt class="docutils literal">mc.ext</tt>:</p>
+<pre class="literal-block">
+regex/\.([xX][mM][lL])$
+  Open=%cd %p#xml
+
+type/^XML *(1\.0 *)?document text
+  Open=%cd %p#xml
+</pre>
+<p>Enable file types guessing.</p>
+</div>
+<div class="section" id="newer-versions">
+<h1>Newer versions</h1>
+<p>Edit <tt class="docutils literal">mc.ext</tt>; the syntax is slightly different:</p>
+<pre class="literal-block">
+regex/\.([xX][mM][lL])$
+  Include=xml
+
+type/^XML *(1\.0 *)?document text
+  Include=xml
+
+include/xml
+  Open=%cd %p/xml://
+</pre>
+<p>Enable file types guessing.</p>
+</div>
+</div>
+</body>
+</html>