blog update

This commit is contained in:
James Feng Cao 2019-06-05 18:00:15 +08:00
parent cf2f65eb51
commit 5049c0e01a
35 changed files with 3556 additions and 3115 deletions

View file

@ -100,7 +100,7 @@
</div>
<div class="post-meta">
<span class="attr">Post<span>2019-04-27 14:50:13</span></span>
<span class="attr">Post<span>2019-06-05 17:55:34</span></span>
<span class="attr">Tags/
@ -117,10 +117,10 @@
</div>
<div class="post-content ">
<p>技巧等级:中级</p>
<p>文件预处理配置文件为/sdcard/uweb/filecap.txt,每行格式如下:<br>[文件后缀]:[mimetype]:[处理命令]</p>
<p>其中文件后缀可允许最多两段后缀譬如”txt.xz”,”html.gz”。<br>mimetype表示命令处理后的输出内容格式。<br>处理命令与<a href="../cmd">cmds2.txt</a>相同,主要可能用到如下替换:<br>%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式</p>
<p>文件预处理配置文件为/sdcard/uweb/default.filecap每行格式如下<br>[文件后缀]:[mimetype]:[处理命令]</p>
<p>其中文件后缀可允许最多两段后缀譬如”txt.xz”,”html.gz”。<br>mimetype表示命令处理后的输出内容格式。<br>处理命令与<a href="../cmd">default.cmds</a>相同,主要可能用到如下替换:<br>%u网址或文件路径、%U编码以后的网址、%c当前网址cookie、%p密码保护网站中的密码curl格式</p>
<p>利用文件预处理,<a href="..">超微浏览器</a>现在可以预览/查看/播放一切可下载资源,并且可以利用不同网站在线服务预览不同的文件,而手机上一个应用都不用装。</p>
<p>配置/sdcard/uweb/filecap.txt如下:</p>
<p>配置/sdcard/uweb/default.filecap如下</p>
<pre><code>txt:text/html:curl %p "%u"
html:text/html:curl %p "%u"
htm:text/html:curl %p "%u"