mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
more doc for mdict engines
This commit is contained in:
parent
b5462e600b
commit
c408fd8407
4 changed files with 6 additions and 5 deletions
|
@ -88,11 +88,12 @@ Click to install the following html5 apps:<br>
|
|||
<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>
|
||||
<h4 id="mdict-dictionary-lookup-search-engines">mdict dictionary lookup search engines:</h4>
|
||||
<p>Note: the following two mdict.html files are different.<br>
|
||||
i:5ifile:///....../xxx.mdx,xxx.mdd?app=https://uwebzh.netlify.app/en/searchurl/mdict/mdict.html#word=%s</p>
|
||||
<p>in which "/.../xxx.mdx,xxx.mdd" is the full path for the mdict dictionary files.</p>
|
||||
<p>i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=mdict/xxx.mdx,mdict/xxx.mdd#word=%s</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>In the above mdict search engine string, 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>To make life easier, users can <a href="../acmd/index.html">link the "app" subfolder</a> to any public accessible folder.</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 ${b}:i:5ihttps://uwebzh.netlify.app/zh/searchurl/txt/mdict.html?file=${fs}#word=%25s >>../../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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue