mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
Compare commits
2 commits
7c345eaa89
...
cd9dfe966d
Author | SHA1 | Date | |
---|---|---|---|
|
cd9dfe966d | ||
|
91ee053229 |
15 changed files with 269 additions and 53 deletions
|
@ -236,6 +236,24 @@ These javascript files are in the following format:
|
|||
The very first line can begin with &quot;//&quot; followed by website url that can have &quot;%u&quot; (current url), &quot;%t&quot; (title) etc.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Tools</title>
|
||||
<link>/en/tools/</link>
|
||||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tools/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).
|
||||
install the indexes for &quot;American heritage dictionary (en-en&amp;zh with AHD/D.J./K.K. pronunciation)&quot;
|
||||
Install AHD to home screen
|
||||
Indexes for &quot;研究社新編英和活用大辞典(English usage: en-en&amp;ja)&quot;
|
||||
Install &quot;English usage (en-en&amp;ja)&quot;
|
||||
Indexes for SOED6
|
||||
install SOED
|
||||
The following dictionaries work better with markdown processor.
|
||||
Install markdown processor</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Custom file handling</title>
|
||||
<link>/en/filecap/</link>
|
||||
|
|
|
@ -174,6 +174,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="tools/index.html">
|
||||
<span>Tools</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="filecap/index.html">
|
||||
<span>Custom file handling</span>
|
||||
|
|
18
en/index.xml
18
en/index.xml
|
@ -349,6 +349,24 @@ These javascript files are in the following format:
|
|||
The very first line can begin with &quot;//&quot; followed by website url that can have &quot;%u&quot; (current url), &quot;%t&quot; (title) etc.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Tools</title>
|
||||
<link>/en/tools/</link>
|
||||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tools/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).
|
||||
install the indexes for &quot;American heritage dictionary (en-en&amp;zh with AHD/D.J./K.K. pronunciation)&quot;
|
||||
Install AHD to home screen
|
||||
Indexes for &quot;研究社新編英和活用大辞典(English usage: en-en&amp;ja)&quot;
|
||||
Install &quot;English usage (en-en&amp;ja)&quot;
|
||||
Indexes for SOED6
|
||||
install SOED
|
||||
The following dictionaries work better with markdown processor.
|
||||
Install markdown processor</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Custom file handling</title>
|
||||
<link>/en/filecap/</link>
|
||||
|
|
|
@ -370,6 +370,45 @@
|
|||
hreflang="en"
|
||||
href="/en/longclick/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/tdict/</loc>
|
||||
<lastmod>2020-09-06T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/tdict/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/tdict/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/tools/</loc>
|
||||
<lastmod>2020-09-06T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/tools/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/tools/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tools/</loc>
|
||||
<lastmod>2020-09-06T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tools/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tools/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/tags/curl/</loc>
|
||||
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
|
||||
|
|
|
@ -21,7 +21,11 @@
|
|||
|
||||
<li><a href="ssh">ssh</a> 1</li>
|
||||
|
||||
<li><a href="termux">termux</a> 2</li>
|
||||
<li><a href="tdict">tdict</a> 1</li>
|
||||
|
||||
<li><a href="termux">termux</a> 3</li>
|
||||
|
||||
<li><a href="tools">tools</a> 1</li>
|
||||
|
||||
<li><a href="Windows">Windows</a> 1</li>
|
||||
|
||||
|
|
|
@ -78,6 +78,24 @@
|
|||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>tdict</title>
|
||||
<link>/en/tags/tdict/</link>
|
||||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tags/tdict/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>tools</title>
|
||||
<link>/en/tags/tools/</link>
|
||||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tags/tools/</guid>
|
||||
<description></description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>curl</title>
|
||||
<link>/en/tags/curl/</link>
|
||||
|
|
|
@ -12,32 +12,16 @@
|
|||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tools/</guid>
|
||||
<description>Install tdict (local search with remote content) With tdict,
|
||||
安装双解字典索引
|
||||
安装双解字典至主屏
|
||||
英语活用大词典索引
|
||||
安装英语活用至主屏
|
||||
汉语大词典索引
|
||||
安装汉语词典至主屏
|
||||
soed6索引
|
||||
安装soed至主屏
|
||||
以下字典最好安装markdown处理器。
|
||||
安装markdown处理器
|
||||
Merriam Webster International Unabridged 索引
|
||||
安装mwi至主屏
|
||||
ode3索引
|
||||
安装ode至主屏
|
||||
oed索引
|
||||
安装oed至主屏
|
||||
大英百科索引
|
||||
安装be至主屏
|
||||
Merriam Webster Unabridged
|
||||
安装mwu至主屏
|
||||
以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。
|
||||
安装tdict词典工具 安装完tdict词典工具以后,对dict目录下的汉语大字典文件如&quot;dictXXX.xz&quot;可在主屏.search文件配置如下字典查询:
|
||||
汉语大字典:c:zd xz %s dictXXX
|
||||
字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst,此时配置变为&quot;zd zst %s dictXXX&quot;,相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。
|
||||
插件页面也提供了词典方案,但如果手动配置会比较麻烦。</description>
|
||||
<description>This page is for uweb browser.
|
||||
install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).
|
||||
install the indexes for &quot;American heritage dictionary (en-en&amp;zh with AHD/D.J./K.K. pronunciation)&quot;
|
||||
Install AHD to home screen
|
||||
Indexes for &quot;研究社新編英和活用大辞典(English usage: en-en&amp;ja)&quot;
|
||||
Install &quot;English usage (en-en&amp;ja)&quot;
|
||||
Indexes for SOED6
|
||||
install SOED
|
||||
The following dictionaries work better with markdown processor.
|
||||
Install markdown processor</description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
|
@ -49,6 +49,12 @@
|
|||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="../../tools">
|
||||
<span>Tools</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="../../filecap">
|
||||
<span>Custom file handling</span>
|
||||
|
|
|
@ -24,6 +24,24 @@ It formats as &quot;[input mimetype]/[output mimetype]&quot;.
|
|||
&quot;html&quot;: rich text &quot;&quot; (empty): text &quot;.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Tools</title>
|
||||
<link>/en/tools/</link>
|
||||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tools/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).
|
||||
install the indexes for &quot;American heritage dictionary (en-en&amp;zh with AHD/D.J./K.K. pronunciation)&quot;
|
||||
Install AHD to home screen
|
||||
Indexes for &quot;研究社新編英和活用大辞典(English usage: en-en&amp;ja)&quot;
|
||||
Install &quot;English usage (en-en&amp;ja)&quot;
|
||||
Indexes for SOED6
|
||||
install SOED
|
||||
The following dictionaries work better with markdown processor.
|
||||
Install markdown processor</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Custom file handling</title>
|
||||
<link>/en/filecap/</link>
|
||||
|
|
|
@ -12,32 +12,16 @@
|
|||
<pubDate>Sun, 06 Sep 2020 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/tools/</guid>
|
||||
<description>Install tdict (local search with remote content) With tdict,
|
||||
安装双解字典索引
|
||||
安装双解字典至主屏
|
||||
英语活用大词典索引
|
||||
安装英语活用至主屏
|
||||
汉语大词典索引
|
||||
安装汉语词典至主屏
|
||||
soed6索引
|
||||
安装soed至主屏
|
||||
以下字典最好安装markdown处理器。
|
||||
安装markdown处理器
|
||||
Merriam Webster International Unabridged 索引
|
||||
安装mwi至主屏
|
||||
ode3索引
|
||||
安装ode至主屏
|
||||
oed索引
|
||||
安装oed至主屏
|
||||
大英百科索引
|
||||
安装be至主屏
|
||||
Merriam Webster Unabridged
|
||||
安装mwu至主屏
|
||||
以下工具需先安装uweb定制Termux应用,并启动一次完成初始化。
|
||||
安装tdict词典工具 安装完tdict词典工具以后,对dict目录下的汉语大字典文件如&quot;dictXXX.xz&quot;可在主屏.search文件配置如下字典查询:
|
||||
汉语大字典:c:zd xz %s dictXXX
|
||||
字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst,此时配置变为&quot;zd zst %s dictXXX&quot;,相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。
|
||||
插件页面也提供了词典方案,但如果手动配置会比较麻烦。</description>
|
||||
<description>This page is for uweb browser.
|
||||
install tdict_local (search with local indexes and remote content) Click to install the following local indexes with corresponding search engines (for test only).
|
||||
install the indexes for &quot;American heritage dictionary (en-en&amp;zh with AHD/D.J./K.K. pronunciation)&quot;
|
||||
Install AHD to home screen
|
||||
Indexes for &quot;研究社新編英和活用大辞典(English usage: en-en&amp;ja)&quot;
|
||||
Install &quot;English usage (en-en&amp;ja)&quot;
|
||||
Indexes for SOED6
|
||||
install SOED
|
||||
The following dictionaries work better with markdown processor.
|
||||
Install markdown processor</description>
|
||||
</item>
|
||||
|
||||
</channel>
|
||||
|
|
79
en/tools/index.html
Normal file
79
en/tools/index.html
Normal file
|
@ -0,0 +1,79 @@
|
|||
<!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>Tools</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">Tools
|
||||
<br>
|
||||
<span class="subtitle"></span>
|
||||
</h1>
|
||||
<ul class="tags">
|
||||
|
||||
<li><a href="../tags/termux">termux</a> </li>
|
||||
|
||||
<li><a href="../tags/tools">tools</a> </li>
|
||||
|
||||
<li><a href="../tags/tdict">tdict</a> </li>
|
||||
|
||||
</ul>
|
||||
<p>This page is for <a href="../index.html">uweb browser</a>.</p>
|
||||
<h4 id="a-hrefi0bhttpsfastlyjsdelivrnetghtorappinfouwebjsbintdict_loctargzinstall-tdict_local-search-with-local-indexes-and-remote-contenta"><a href="i:0bhttps://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/tdict_loc.tar.gz">install tdict_local (search with local indexes and remote content)</a></h4>
|
||||
<p>Click to install the following local indexes with corresponding search engines (for test only).<br>
|
||||
<a href="i:0hahd.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ahd.tidx">install the indexes for "American heritage dictionary (en-en&zh with AHD/D.J./K.K. pronunciation)"</a><br>
|
||||
<a href="i:00AHD:d:text/html:tdict_loc ahd \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/HxY9QT5cdp63ZPK/download?path=%2F&files=ahd.dict\':">Install AHD to home screen</a></p>
|
||||
<p><a href="i:0henja.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/enja.tidx">Indexes for "研究社新編英和活用大辞典(English usage: en-en&ja)"</a><br>
|
||||
<a href="i:00enja:d:text/html:tdict_loc enja \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=enja.dict\':">Install "English usage (en-en&ja)"</a></p>
|
||||
<p><a href="i:0hsoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/soed.tidx">Indexes for SOED6</a><br>
|
||||
<a href="i:00soed:d:text/html:tdict_loc soed \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=soed.dict\':">install SOED</a></p>
|
||||
<p>The following dictionaries work better with markdown processor.<br>
|
||||
<a href="i:0hmd.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/txt/mdme.html">Install markdown processor</a><br>
|
||||
<a href="i:0hmwi.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/mwi.tidx">Indexes for "Merriam Webster International Unabridged"</a><br>
|
||||
<a href="i:00mwi:d:text/html:tdict_loc mwi \'%s\'|loc2html text/html.md.html \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=mwi.dict\':">Install MWI</a></p>
|
||||
<p><a href="i:0hode3.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ode3.tidx">Indexes for ODE3</a><br>
|
||||
<a href="i:00ode:d:text/html:tdict_loc ode3 \'%s\'|loc2html text/html.md.html \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=ode3.dict\':">Install ODE3</a></p>
|
||||
<p><a href="i:0hoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/oed.tidx">Indexes for OED</a><br>
|
||||
<a href="i:00oed:d:text/html:tdict_loc oed \'%s\'|loc2html text/html.md.html https://1drv.ws/u/s!Am0GiFVIDNbZi0IhtTMjeR6rdmd5:">Install OED</a></p>
|
||||
<p><a href="i:0hbe10.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/be10.tidx">Indexes for "Encyclopedia Britannica"</a><br>
|
||||
<a href="i:00be10:d:text/html:tdict_loc be10 \'%s\'|loc2html text/html.md.html https://1drv.ws/u/s!Am0GiFVIDNbZi0WfGAwo1S-kq1Lv:">Install "Encyclopedia Britannica"</a></p>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -393,12 +393,42 @@
|
|||
</url><url>
|
||||
<loc>/zh/tags/tdict/</loc>
|
||||
<lastmod>2020-09-06T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/tdict/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/tdict/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tags/tools/</loc>
|
||||
<lastmod>2020-09-06T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tags/tools/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tags/tools/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tools/</loc>
|
||||
<lastmod>2020-09-06T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/tools/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/tools/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/zh/tags/curl/</loc>
|
||||
<lastmod>2020-08-24T00:00:00+00:00</lastmod>
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
<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('en')">English</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
<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('en')">English</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
<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('en')">English</a>
|
||||
|
||||
|
||||
<nav>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
Loading…
Reference in a new issue