From ac3c78e97873228f1a3c32e70de40e462ac43732 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 26 Jul 2022 17:05:35 +0800 Subject: [PATCH] rebuilding site Tue Jul 26 05:05:34 PM CST 2022 --- en/searchurl/cmds.html | 25 +++++--- en/searchurl/search.html | 10 ++++ en/searchurl/txt/cmds.cfg | 2 + zh/adblock_domain/index.html | 2 +- zh/searchurl/default.hosts | 31 ++++++++++ zh/searchurl/search.html | 5 +- zh/searchurl/txt/mdict.html | 110 +++-------------------------------- 7 files changed, 72 insertions(+), 113 deletions(-) create mode 100644 en/searchurl/txt/cmds.cfg create mode 100644 zh/searchurl/default.hosts diff --git a/en/searchurl/cmds.html b/en/searchurl/cmds.html index 3de9601b..09e1b659 100644 --- a/en/searchurl/cmds.html +++ b/en/searchurl/cmds.html @@ -10,17 +10,24 @@ Click the following links to install commands with uweb Clipboard2PC needs to modify username, PC needs xsel. ssh needs to be installed inside termux (apt install openssh). Clipboard broadcast needs socat(apt install socat)。 Clipboard2QR needs libqrencode.

+

More commands (click to install)

+

mdme: Show local markdown file

+

texme: Show local tex+markdown file

+

markdeep: Show local markdown+tex+diagrams file

+

remark slide: slide show for local markdown file

+

Code editor, open url in clipboard etc.

".cmds" file format

-

Each line has the following format: -[Name]:[mimetype]:[command line]

+

Each line has the following format:
[Name]:[mimetype]:[command line]

[command line] can have "%c" (cookie), "%s" (address bar text), "%u" (url), "%t" (title). -[mimetype] have the following formats: -- regular mimetype such as "text/html" to indicate the content type of the command output. -- "clip/clip" to indicate "clipboard" as input and the command output is copied to clipboard. -- "/clip": copy the command output to clipboard. -- "clip/text/html" : clipboard as input, and the command output is processed as "text/html". -- "termux/*": command line is executed under termux. -- "/uweb": the command output is processed as links.

+[mimetype] have the following formats:

+ diff --git a/en/searchurl/search.html b/en/searchurl/search.html index 2442d383..b73a9e74 100644 --- a/en/searchurl/search.html +++ b/en/searchurl/search.html @@ -95,6 +95,16 @@ Engines that can use as documentation:

yandex:https://yandex.com/search/?text=

searx:https://searchx.mobi/?q=

+Medical:
+

merckmanuals:https://www.merckmanuals.com/professional/SearchResults?query=

+

openmd:https://openmd.com/search?q=

+

medical-dict:https://medical-dictionary.com/results.php?term=

+

ncbiBooks:https://www.ncbi.nlm.nih.gov/books/?term=

+

healio:https://journals.healio.com/action/doSearch?AllField=

+

pubmed:https://pubmed.ncbi.nlm.nih.gov/?term=

+

pmc:https://www.ncbi.nlm.nih.gov/pmc/?term=

+

Tabers:https://www.tabers.com/tabersonline/search?st=OSS&q=

+

Cloud storage:

Scholar:
diff --git a/en/searchurl/txt/cmds.cfg b/en/searchurl/txt/cmds.cfg new file mode 100644 index 00000000..c9d14517 --- /dev/null +++ b/en/searchurl/txt/cmds.cfg @@ -0,0 +1,2 @@ +open clipboard link:clip/uweb:/system/bin/toybox grep -m1 -Eo '(http|https)://[^ "'\'']+' +code editor:text/html:printf "

Run