From 1d24854e0bceea2f3f5d100287fcc436d625f7a1 Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Sun, 31 Jul 2022 16:18:31 +0800
Subject: [PATCH] rebuilding site Sun Jul 31 04:18:31 PM CST 2022
---
README.md | 6 +--
en/_posts/index.xml | 50 ++++++++++++++--------
en/acmd/index.html | 61 ++++++++++++++++++++++++++
en/html5/index.html | 85 +++++++++++++++++++++++++++++++++++++
en/index.html | 18 +++++---
en/index.xml | 50 ++++++++++++++--------
en/search/index.html | 1 +
en/sitemap.xml | 57 +++++++++++++------------
sitemap.xml | 2 +-
zh/_posts/index.xml | 3 +-
zh/bc/index.html | 3 +-
zh/html5/index.html | 6 ++-
zh/index.xml | 3 +-
zh/searchurl/txt/mdict.html | 20 +++++----
zh/sitemap.xml | 20 ++++-----
15 files changed, 289 insertions(+), 96 deletions(-)
create mode 100644 en/acmd/index.html
create mode 100644 en/html5/index.html
diff --git a/README.md b/README.md
index 1cd5c61..6ad6bbe 100644
--- a/README.md
+++ b/README.md
@@ -12,10 +12,10 @@
)
- Tiny: less than 200k
-- Fast: run fast, more apparently with thousands of user provided css/scripts
+- Fast: run fast, even with thousands of user provided css/scripts
- Efficient: less touches, one click to reach any number of search engines without repeated input.
-- Customizable: user-defined menus (or buttons/gestures) for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.
-- Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more with uweb compatible Termux.
+- Customizable: user-defined menus, (new) buttons and gestures for user agents, bookmarklets, url services, shell commands, internal functionality links and text processing etc.
+- Powerful: enabling html5 applications to work like native; javascript and shell scripting for general processing and more if enhanced by Termux.
#### Main features
TTS, text reflow, resource sniffer, translation, reader's mode, user-defined url redirection, webdav/http backup & restore, auto next page, sending/receiving msg/file(s), site config (UA, no JS, no image, no 3rd party script/resource,active script, global scripts), http(s)/socks proxy, enabling html5 apps for local files (pdf/djvu/epub viewer, mdict dictionary lookup etc.).
diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index d7a4e9d..974ddf2 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -5,7 +5,39 @@
/en/_posts/
Recent content in _posts on Hugo -- gohugo.io
- Thu, 30 Jun 2022 00:00:00 +0000
+ Sun, 31 Jul 2022 00:00:00 +0000
+
+ Html5 applications
+ /en/html5/
+ Sun, 31 Jul 2022 00:00:00 +0000
+
+ /en/html5/
+ 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 "app" subfolder under the configuration folder. In above example, the files "xxx.mdx" and "xxx.mdd" locate in the folder ".../app/mdict".
+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 (author:llili)
+djvu viewer
+The corresponding menu can be installed with url services.
+
+
+
+ Address bar command modes
+ /en/acmd/
+ Sat, 30 Jul 2022 00:00:00 +0000
+
+ /en/acmd/
+ 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 "default.acmd" 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 "refresh" botton to switch modes):
+Shell command mode
+<a href="i:0gdefault.acmd::bc:text/plain:echo "%25s"|bc -l -q%0A">GNU bc (basic calculator) command mode (need termux for Android 10- )
+
+
Configuration folders/files
/en/filenames/
@@ -77,22 +109,6 @@ Toggle all checkboxes in forms
Enable selection
-
- Commands
- /en/cmds/
- Thu, 02 Jun 2022 00:00:00 +0000
-
- /en/cmds/
- 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 "default.cmds" examples:
-Clear data::toybox find /data/data/info.torapp.uweb/app_webview ! -name 'Cookies' -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>a.tmp;mv a.tmp default.autoc;>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
-
-
Text selection
/en/pccopy/
diff --git a/en/acmd/index.html b/en/acmd/index.html
new file mode 100644
index 0000000..4b71208
--- /dev/null
+++ b/en/acmd/index.html
@@ -0,0 +1,61 @@
+
+
+
+
+
+
+
+ Address bar command modes
+
+
+
+
+ HomeTags
+
+
+
+
+
+
+
Address bar command modes
+
+
+
+
+
+
+
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 "default.acmd" 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 "refresh" botton to switch modes):
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".
The corresponding menu can be installed with url services.
+
Features
+
The following mentioned subfolders locate in the configuration folder.
+
+
All html5 applications locating in a subfolder whose name begins with "app" (such as "appPDF") are allowed to read local files. Use url "https://local/sdcard/..." for a local file.
+
All files under the subfolder "app" can be automatically choosed as file objects by any web page.