Compare commits

...

2 commits

Author SHA1 Message Date
James Feng Cao
7c345eaa89 fix tdict links 2022-09-27 09:39:45 +08:00
James Feng Cao
5a69ed9e76 fix tdict links 2022-09-27 09:37:37 +08:00
8 changed files with 210 additions and 8 deletions

57
en/tags/tdict/index.html Normal file
View file

@ -0,0 +1,57 @@
<!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>tdict</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">tdict</h1>
<ul class="posts">
<li class="post">
<a href="../../tools">
<span>Tools</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

44
en/tags/tdict/index.xml Normal file
View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>tdict on uweb browser</title>
<link>/en/tags/tdict/</link>
<description>Recent content in tdict on uweb browser</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sun, 06 Sep 2020 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/tdict/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tools</title>
<link>/en/tools/</link>
<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目录下的汉语大字典文件如&amp;quot;dictXXX.xz&amp;quot;可在主屏.search文件配置如下字典查询
汉语大字典:c:zd xz %s dictXXX
字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst此时配置变为&amp;quot;zd zst %s dictXXX&amp;quot;相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。
插件页面也提供了词典方案,但如果手动配置会比较麻烦。</description>
</item>
</channel>
</rss>

57
en/tags/tools/index.html Normal file
View file

@ -0,0 +1,57 @@
<!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</h1>
<ul class="posts">
<li class="post">
<a href="../../tools">
<span>Tools</span>
</a>
</li>
</ul>
<ul>
</div>
</body>
</html>

44
en/tags/tools/index.xml Normal file
View file

@ -0,0 +1,44 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>tools on uweb browser</title>
<link>/en/tags/tools/</link>
<description>Recent content in tools on uweb browser</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Sun, 06 Sep 2020 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/tools/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Tools</title>
<link>/en/tools/</link>
<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目录下的汉语大字典文件如&amp;quot;dictXXX.xz&amp;quot;可在主屏.search文件配置如下字典查询
汉语大字典:c:zd xz %s dictXXX
字典文件目录可通过修改termux下“~/share”符号链接来改动。也可使用其它压缩方式如zst此时配置变为&amp;quot;zd zst %s dictXXX&amp;quot;相应的字典文件名为dictXXX.zst。用户需提供zsttool工具解压文本。
插件页面也提供了词典方案,但如果手动配置会比较麻烦。</description>
</item>
</channel>
</rss>

View file

@ -403,7 +403,7 @@ Selection to paragraph:;let g=&#39;paragraph&#39;;getSelection().modify(&#39;mov
点击安装google翻译、背景图等 点击安装google翻译、背景图等
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算) 远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)
[远程脚本名]:[返回url数组的javascript代码] [远程脚本名]:[返回url数组的javascript代码]
其中url可以为本地html5应用脚本地址。譬如&#39;https://localapp[XXX]/....../[XXX].js&#39;。此时js脚本也可使用.link文件方式调用。</description> 其中url可以为本地html5应用脚本地址。譬如&#39;https://local/.../app[XXX]/....../[XXX].js&#39;。此时js脚本也可使用.link文件方式调用。</description>
</item> </item>
<item> <item>

View file

@ -71,7 +71,7 @@
<a target="_self" href="i:0gdefault.rjs:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/rjs.cfg">点击安装google翻译、背景图等</a></p> <a target="_self" href="i:0gdefault.rjs:https://fastly.jsdelivr.net/gh/torappinfo/uweb/searchurl/txt/rjs.cfg">点击安装google翻译、背景图等</a></p>
<p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)<br> <p>远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)<br>
[远程脚本名]:[返回url数组的javascript代码]</p> [远程脚本名]:[返回url数组的javascript代码]</p>
<p>其中url可以为<a href="../html5">本地html5应用</a>脚本地址。譬如'https://localapp[XXX]/....../[XXX].js'。此时js脚本也可使用<a href="../links">.link文件</a>方式调用。</p> <p>其中url可以为<a href="../html5">本地html5应用</a>脚本地址。譬如'https://local/.../app[XXX]/....../[XXX].js'。此时js脚本也可使用<a href="../links">.link文件</a>方式调用。</p>
</div> </div>

View file

@ -54,17 +54,17 @@
<a href="i:0hahd.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ahd.tidx">安装双解字典索引</a><br> <a href="i:0hahd.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ahd.tidx">安装双解字典索引</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\':">安装双解字典至主屏</a></p> <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\':">安装双解字典至主屏</a></p>
<p><a href="i:0henja.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/enja.tidx">英语活用大词典索引</a><br> <p><a href="i:0henja.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/enja.tidx">英语活用大词典索引</a><br>
<a href="i:00英语活用:d:text/html:tdict_loc enja \'%s\'|loc2html text/plain http://d0.ananas.chaoxing.com/download/67942504b56bc1b9ed8689a30ec3c390:">安装英语活用至主屏</a></p> <a href="i:00英语活用:d:text/html:tdict_loc enja \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=enja.dict\':">安装英语活用至主屏</a></p>
<p><a href="i:0hhy.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/hy.tidx">汉语大词典索引</a><br> <p><a href="i:0hhy.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/hy.tidx">汉语大词典索引</a><br>
<a href="i:00汉语大词典:d:text/html:tdict_loc hy \'%s\'|loc2html text/plain http://d0.ananas.chaoxing.com/download/659dcd55a44e80a896a6c193d8dd4dac:">安装汉语词典至主屏</a></p> <a href="i:00汉语大词典:d:text/html:tdict_loc hy \'%s\'|loc2html text/plain \'https://s1.asytech.cn/s/oaoGniEBKLnWzoj/download?path=%2F&files=hy.dict\':">安装汉语词典至主屏</a></p>
<p><a href="i:0hsoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/soed.tidx">soed6索引</a><br> <p><a href="i:0hsoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/soed.tidx">soed6索引</a><br>
<a href="i:00soed:d:text/html:tdict_loc soed \'%s\'|loc2html text/plain http://d0.ananas.chaoxing.com/download/913e1930a652bf36e3383ec195e69b4b:">安装soed至主屏</a></p> <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\':">安装soed至主屏</a></p>
<p>以下字典最好安装markdown处理器。<br> <p>以下字典最好安装markdown处理器。<br>
<a href="i:0hmd.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/txt/mdme.html">安装markdown处理器</a><br> <a href="i:0hmd.html:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/txt/mdme.html">安装markdown处理器</a><br>
<a href="i:0hmwi.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/mwi.tidx">Merriam Webster International Unabridged 索引</a><br> <a href="i:0hmwi.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/mwi.tidx">Merriam Webster International Unabridged 索引</a><br>
<a href="i:00mwi:d:text/html:tdict_loc mwi \'%s\'|loc2html text/html.md.html http://d0.ananas.chaoxing.com/download/418456b3488436b8ec8e2696d3de3ca2:">安装mwi至主屏</a></p> <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\':">安装mwi至主屏</a></p>
<p><a href="i:0hode3.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ode3.tidx">ode3索引</a><br> <p><a href="i:0hode3.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/ode3.tidx">ode3索引</a><br>
<a href="i:00ode:d:text/html:tdict_loc ode3 \'%s\'|loc2html text/html.md.html http://d0.ananas.chaoxing.com/download/d1852c7e7d461ece379c62367787a1e8:">安装ode至主屏</a></p> <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\':">安装ode至主屏</a></p>
<p><a href="i:0hoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/oed.tidx">oed索引</a><br> <p><a href="i:0hoed.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/oed.tidx">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:">安装oed至主屏</a></p> <a href="i:00oed:d:text/html:tdict_loc oed \'%s\'|loc2html text/html.md.html https://1drv.ws/u/s!Am0GiFVIDNbZi0IhtTMjeR6rdmd5:">安装oed至主屏</a></p>
<p><a href="i:0hbe10.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/be10.tidx">大英百科索引</a><br> <p><a href="i:0hbe10.tidx:https://fastly.jsdelivr.net/gh/torappinfo/uwebjs/bin/be10.tidx">大英百科索引</a><br>

View file

@ -215,7 +215,7 @@ Selection to paragraph:;let g=&#39;paragraph&#39;;getSelection().modify(&#39;mov
点击安装google翻译、背景图等 点击安装google翻译、背景图等
远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算) 远程脚本配置文件default.rjs每行格式如下 (url部分支持js代码运算)
[远程脚本名]:[返回url数组的javascript代码] [远程脚本名]:[返回url数组的javascript代码]
其中url可以为本地html5应用脚本地址。譬如&#39;https://localapp[XXX]/....../[XXX].js&#39;。此时js脚本也可使用.link文件方式调用。</description> 其中url可以为本地html5应用脚本地址。譬如&#39;https://local/.../app[XXX]/....../[XXX].js&#39;。此时js脚本也可使用.link文件方式调用。</description>
</item> </item>
</channel> </channel>