rebuilding site Sun Aug 7 09:20:50 AM CST 2022

This commit is contained in:
James Feng Cao 2022-08-07 09:20:50 +08:00
parent 0460249b84
commit eb59eb477e
2 changed files with 24 additions and 1 deletions

View file

@ -88,7 +88,7 @@
<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 &quot;app&quot; subfolder under the configuration folder. In above example, the files &quot;xxx.mdx&quot; and &quot;xxx.mdd&quot; locate in the folder &quot;.../app/mdict&quot;.</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><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://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 &quot;enter&quot; on the address bar to execute the command.</p>
</div>

View file

@ -0,0 +1,23 @@
<!DOCTYPE html><html>
<title>docx2html</title>
<head>
<script src="https://fastly.jsdelivr.net/gh/lalalic/docx2html/docs/index.js"></script>
<script>
function convert(input){
require("docx2html")
(input.files[0],
{container:document.querySelector("#container")})
.then(html=>{input.value="";});
}
</script>
</head>
<body>
<div>
<center>
<h2>select a docx to convert to html</h2>
<input type="file" onchange="convert(this)"/>
</center>
<div id="container" style="margin:10px;padding:10px;border:1px solid; text-align:left; min-height:1000px;"></div>
</div>
</body>
</html>