rebuilding site Sun Jul 31 04:18:31 PM CST 2022

This commit is contained in:
James Feng Cao 2022-07-31 16:18:31 +08:00
parent 4087db750e
commit 1d24854e0b
15 changed files with 289 additions and 96 deletions

View file

@ -5,7 +5,39 @@
<link>/en/_posts/</link>
<description>Recent content in _posts on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Thu, 30 Jun 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sun, 31 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Html5 applications</title>
<link>/en/html5/</link>
<pubDate>Sun, 31 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/html5/</guid>
<description>mdict dictionary lookup search engine:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=
The dictionary files (mdx, mdd) must locate in the &amp;quot;app&amp;quot; subfolder under the configuration folder. In above example, the files &amp;quot;xxx.mdx&amp;quot; and &amp;quot;xxx.mdd&amp;quot; locate in the folder &amp;quot;.../app/mdict&amp;quot;.
Html5 applications Click to install the following html5 apps:
Huge markdown file viewer
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
plyr video player
dplayer video player
pdf viewer
epub reader (authorllili)
djvu viewer
The corresponding menu can be installed with url services.</description>
</item>
<item>
<title>Address bar command modes</title>
<link>/en/acmd/</link>
<pubDate>Sat, 30 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/acmd/</guid>
<description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly.
The configure file &amp;quot;default.acmd&amp;quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &amp;quot;refresh&amp;quot; botton to switch modes):
Shell command mode
&amp;lt;a href=&amp;quot;i:0gdefault.acmd::bc:text/plain:echo &amp;quot;%25s&amp;quot;|bc -l -q%0A&amp;quot;&amp;gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
</item>
<item>
<title>Configuration folders/files</title>
<link>/en/filenames/</link>
@ -77,22 +109,6 @@ Toggle all checkboxes in forms
Enable selection</description>
</item>
<item>
<title>Commands</title>
<link>/en/cmds/</link>
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/cmds/</guid>
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
Configuration file &amp;quot;default.cmds&amp;quot; examples:
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; -type f -delete
VPN::am start -a android.net.vpn.SETTINGS
wireless::am start -a android.settings.WIRELESS_SETTINGS
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&amp;gt;a.tmp;mv a.tmp default.autoc;&amp;gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
Clear logcat::logcat -c</description>
</item>
<item>
<title>Text selection</title>
<link>/en/pccopy/</link>

61
en/acmd/index.html Normal file
View file

@ -0,0 +1,61 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>Address bar command modes</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
return i;
}
return 0;
}
function nav2(page){
let i = findLang();
location.href = location.href.substring(0,i+1)+page;
}
function nav2Lang(lang){
let i = findLang();
let href = location.href;
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
}
</script>
</head>
<body>
<header class='header'>
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Address bar command modes
<br>
<span class="subtitle"></span>
</h1>
<ul class="tags">
</ul>
<p><a href="../cmds/index.html">Commands</a> are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly.</p>
<p>The configure file &quot;default.acmd&quot; has the exactly same format as <a href="../cmds/index.html">default.cmds</a>. Click the following links to install new modes (cold start the app to take effect, then long click the &quot;refresh&quot; botton to switch modes):</p>
<p><a href="i:0gdefault.acmd::shell:text/plain:%25s%0A">Shell command mode</a></p>
<p>&lt;a href=&quot;i:0gdefault.acmd::bc:text/plain:echo &quot;%25s&quot;|bc -l -q%0A&quot;&gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</a></p>
<p><a href="i:0gdefault.acmd::plot 2D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
output;plot %25s'%0A">GNUPlot plot (2D function), needs uweb adapted termux &amp; gnuplot</a></p>
<p><a href="i:0gdefault.acmd::plot 3D function:image/svg%2Bxml:gnuplot -e 'set term svg;set
output;splot %25s'%0A">GNUPlot plot (3D function), needs uweb adapted termux &amp; gnuplot</a></p>
<h4 id="shell-command-mode">Shell command mode</h4>
<p>Click the following links to make commands appear in address bar, then press &quot;enter&quot; to execute:<br>
<a href="i:15cd;toyboy ln -s /sdcard/Download/app">symbolic link &quot;app&quot; folder to be under the &quot;Download&quot; folder</a></p>
</div>
</body>
</html>

85
en/html5/index.html Normal file
View file

@ -0,0 +1,85 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/uwebzh/style.css" type="text/css" />
<title>Html5 applications</title>
<script type="text/javascript">
function findLang(){
let href = location.href;
for(let i=href.length-1;i>0;i--){
if('/'==href.charAt(i) && '/'==href.charAt(i-3))
return i;
}
return 0;
}
function nav2(page){
let i = findLang();
location.href = location.href.substring(0,i+1)+page;
}
function nav2Lang(lang){
let i = findLang();
let href = location.href;
location.href = location.href.substring(0,i-2)+lang+location.href.substring(i);
}
</script>
</head>
<body>
<header class='header'>
<a class="logo" href="javascript:void(0)" onclick="return nav2('index.html')">Home</a> <a class="logo" href="javascript:void(0)" onclick="return nav2('tags/index.html')">Tags</a>
<a class="logo" href="javascript:void(0)" onclick="return nav2Lang('zh')">简体中文</a>
<nav>
</nav>
</header>
<br />
<div class="container">
<h1 class="title">Html5 applications
<br>
<span class="subtitle"></span>
</h1>
<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 &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>
<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>
<a target="_self" href="i:0happ/plyr.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/plyr.cfg">plyr video player</a><br>
<a target="_self" href="i:0happ/dplayer.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/dplayer.html">dplayer video player</a><br>
<a target="_self" href="i:0happ/pdfviewer.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/pdfviewer.html">pdf viewer</a><br>
<a target="_self" href="i:0happ/epub.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/epub.html">epub reader (authorllili)</a><br>
<a target="_self" href="i:0happ/djvu.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/djvu.html">djvu viewer</a></p>
<p>The corresponding menu can be installed with <a href="../urls/index.html">url services</a>.</p>
<h4 id="features">Features</h4>
<p>The following mentioned subfolders locate in the configuration folder.</p>
<ul>
<li>All html5 applications locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files. Use url &quot;https://local/sdcard/...&quot; for a local file.</li>
<li><span style="color:red">All files under the subfolder &quot;app&quot; can be automatically choosed as file objects by any web page</span>.</li>
</ul>
<p>Click to configure <a href="../filecap/index.html">default.filecap</a> to open local files, and to open remote files with the option &quot;custom file handling&quot;:<br>
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uwebzh/zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
<p>url examples are as follows:</p>
<ul>
<li>file:///data/data/info.torinfo.uweb/files/app/pdfviewer.html?file=[path].pdf#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/djvu.html?url=...xx.pdf#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/txtview.html?url=[url]#offset=[xxxx]&amp;[length]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#page=[xxx]</li>
<li>file:///data/data/info.torinfo.uweb/files/app/markdeep.html?url=[url]#offset=[xxxx]&amp;[length]</li>
</ul>
<p>Ex. &quot;#offset=10000&amp;500&quot; will retrieve 500 bytes from offset 10000. Click the right arrow button to next page in all above file viewers.</p>
</div>
</body>
</html>

View file

@ -89,6 +89,18 @@
<li class="post">
<a href="html5/index.html">
<span>Html5 applications</span>
</a>
</li>
<li class="post">
<a href="acmd/index.html">
<span>Address bar command modes</span>
</a>
</li>
<li class="post">
<a href="filenames/index.html">
<span>Configuration folders/files</span>
@ -113,12 +125,6 @@
</a>
</li>
<li class="post">
<a href="cmds/index.html">
<span>Commands</span>
</a>
</li>
<li class="post">
<a href="pccopy/index.html">
<span>Text selection</span>

View file

@ -5,7 +5,39 @@
<link>/en/</link>
<description>Recent content on </description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 29 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<lastBuildDate>Sun, 31 Jul 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Html5 applications</title>
<link>/en/html5/</link>
<pubDate>Sun, 31 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/html5/</guid>
<description>mdict dictionary lookup search engine:
i:5ihttps://uweb-zh.vercel.app/zh/searchurl/txt/mdict.html?file=./mdict/xxx.mdx,./mdict/xxx.mdd#word=
The dictionary files (mdx, mdd) must locate in the &amp;quot;app&amp;quot; subfolder under the configuration folder. In above example, the files &amp;quot;xxx.mdx&amp;quot; and &amp;quot;xxx.mdd&amp;quot; locate in the folder &amp;quot;.../app/mdict&amp;quot;.
Html5 applications Click to install the following html5 apps:
Huge markdown file viewer
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
plyr video player
dplayer video player
pdf viewer
epub reader (authorllili)
djvu viewer
The corresponding menu can be installed with url services.</description>
</item>
<item>
<title>Address bar command modes</title>
<link>/en/acmd/</link>
<pubDate>Sat, 30 Jul 2022 00:00:00 +0000</pubDate>
<guid>/en/acmd/</guid>
<description>Commands are the best for repeated execution of an instruction. Address bar command modes provide ways to run different commands in the same category easyly.
The configure file &amp;quot;default.acmd&amp;quot; has the exactly same format as default.cmds. Click the following links to install new modes (cold start the app to take effect, then long click the &amp;quot;refresh&amp;quot; botton to switch modes):
Shell command mode
&amp;lt;a href=&amp;quot;i:0gdefault.acmd::bc:text/plain:echo &amp;quot;%25s&amp;quot;|bc -l -q%0A&amp;quot;&amp;gt;GNU bc (basic calculator) command mode (need termux for Android 10- )</description>
</item>
<item>
<title>Search engines</title>
<link>/en/search/</link>
@ -168,22 +200,6 @@ Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
Clear logcat::logcat -c</description>
</item>
<item>
<title>Commands</title>
<link>/en/cmds/</link>
<pubDate>Thu, 02 Jun 2022 00:00:00 +0000</pubDate>
<guid>/en/cmds/</guid>
<description>Click the following links to install commands with uweb browser. Force exit and re-launch the app, then long press the button with clock icon to popup the command menu.
Configuration file &amp;quot;default.cmds&amp;quot; examples:
Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name &#39;Cookies&#39; -type f -delete
VPN::am start -a android.net.vpn.SETTINGS
wireless::am start -a android.settings.WIRELESS_SETTINGS
Append query to autocomplete:uweb:cd /data/data/info.torinfo.uweb/files;cat default.autoc query.log|toybox sort|toybox uniq -i&amp;gt;a.tmp;mv a.tmp default.autoc;&amp;gt;query.log;echo file:///data/data/info.torinfo.uweb/files/default.autoc
Clear cache::toybox rm -rf /data/data/info.torapp.uweb/cache
Clear logcat::logcat -c</description>
</item>
<item>
<title>Execute javascript codes</title>
<link>/en/rjs/</link>

View file

@ -140,6 +140,7 @@
<a href="i:00medical_freedict:https://medical-dictionary.thefreedictionary.com/">medical_freedict:https://medical-dictionary.thefreedictionary.com/</a></p>
<p><a href="i:00merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=">merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=</a></p>
<p><a href="i:00openmd:https://openmd.com/search?q=">openmd:https://openmd.com/search?q=</a></p>
<p><a href="i:00radiopaedia:https://radiopaedia.org/search?q=">radiopaedia:https://radiopaedia.org/search?q=</a></p>
<p><a href="i:00medical-dict:https://medical-dictionary.com/results.php?term=">medical-dict:https://medical-dictionary.com/results.php?term=</a></p>
<p><a href="i:00ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=">ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=</a></p>
<p><a href="i:00healio:https://journals.healio.com/action/doSearch?AllField=">healio:https://journals.healio.com/action/doSearch?AllField=</a></p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod>
<lastmod>2022-07-31T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -14,6 +14,35 @@
hreflang="en"
href="/en/"
/>
</url><url>
<loc>/en/_posts/</loc>
<lastmod>2022-07-31T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/_posts/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/_posts/"
/>
</url><url>
<loc>/en/html5/</loc>
<lastmod>2022-07-31T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/html5/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/html5/"
/>
</url><url>
<loc>/en/acmd/</loc>
<lastmod>2022-07-30T00:00:00+00:00</lastmod>
</url><url>
<loc>/en/search/</loc>
<lastmod>2022-07-29T00:00:00+00:00</lastmod>
@ -56,19 +85,6 @@
</url><url>
<loc>/en/changelog/</loc>
<lastmod>2022-07-09T00:00:00+00:00</lastmod>
</url><url>
<loc>/en/_posts/</loc>
<lastmod>2022-06-30T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/_posts/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/_posts/"
/>
</url><url>
<loc>/en/filenames/</loc>
<lastmod>2022-06-30T00:00:00+00:00</lastmod>
@ -173,19 +189,6 @@
hreflang="en"
href="/en/cmds/"
/>
</url><url>
<loc>/en/cmds/</loc>
<lastmod>2022-06-02T00:00:00+00:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
href="/zh/cmds/"
/>
<xhtml:link
rel="alternate"
hreflang="en"
href="/en/cmds/"
/>
</url><url>
<loc>/en/rjs/</loc>
<lastmod>2022-06-01T00:00:00+00:00</lastmod>