mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding site Thu Aug 4 09:41:27 AM CST 2022
This commit is contained in:
parent
ff9f26ebbc
commit
d432ee2d46
6 changed files with 33 additions and 23 deletions
|
@ -47,10 +47,7 @@
|
|||
<ul class="tags">
|
||||
|
||||
</ul>
|
||||
<p>mdict dictionary lookup search engine:<br>
|
||||
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=</p>
|
||||
<p>The dictionary files (mdx, mdd) must locate in the "app" subfolder under the configuration folder. In above example, the files "xxx.mdx" and "xxx.mdd" locate in the folder ".../app/mdict".</p>
|
||||
<h4 id="html5-applications">Html5 applications</h4>
|
||||
<h4 id="html5-applications">Html5 applications</h4>
|
||||
<p>Click to install the following html5 apps:<br>
|
||||
<a target="_self" href="i:0happ/txtview.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/txtview.html">Huge markdown file viewer</a><br>
|
||||
<a target="_self" href="i:0happ/markdeep.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/markdeep.html">Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)</a><br>
|
||||
|
@ -78,6 +75,21 @@ i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,
|
|||
<li>file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&[length]</li>
|
||||
</ul>
|
||||
<p>Ex. "#offset=10000&500" will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.</p>
|
||||
<h4 id="configure-html5-app-subfolder-app-optional">Configure html5 app subfolder "app" (optional)</h4>
|
||||
<p>By default, the subfolder "app" is created by clicking to install any of above html5 applications.</p>
|
||||
<p>To make file management easier, users can symbolic link the subfolder "app" to any other locations as long as it is readable.</p>
|
||||
<p>One way to configure "app" subfolder is as follows:</p>
|
||||
<ul>
|
||||
<li><a href="i:15d:text/plain:toybox mkdir -p /sdcard/Download/app;toybox ln -s /sdcard/Download/app 2>&1:">Click to copy the command to the address bar</a></li>
|
||||
<li>Press the home screen button of uweb browser bottom toolbar, so the home screen appears.</li>
|
||||
<li>If you want "app" to be locations other than "/sdcard/Download/app", modify as you like.</li>
|
||||
<li>Press "enter" on the address bar to execute the command.</li>
|
||||
</ul>
|
||||
<h4 id="mdict-dictionary-lookup-search-engine">mdict dictionary lookup search engine:</h4>
|
||||
<p>i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=</p>
|
||||
<p>The dictionary files (mdx, mdd) must locate in the "app" subfolder under the configuration folder. In above example, the files "xxx.mdx" and "xxx.mdd" locate in the folder ".../app/mdict".</p>
|
||||
<p><a href="i:15d:text/plain:cd /data/data/info.torapp.uweb/files/app/mdict;for i in *.mdx; do b=`basename ${i} .mdx`;fs=%22./mdict/${i}%22;if [ -f ${b}.mdd ];then fs=${fs}%22,./mdict/${b}.mdd%22;fi;echo i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=${fs}#word= >>../../home5.search;done:">Clip to paste commands to the address bar</a>, the commands scan mdx/mdd files under app/mdict and add search engines to home screen.</p>
|
||||
<p>After pasting the command to the address bar, press home screen button, then press "enter" on the address bar to execute the command.</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue