mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
rebuilding Sat Sep 10 08:55:34 PM CST 2022
This commit is contained in:
parent
32fb5a8ee2
commit
c033aee378
11 changed files with 220 additions and 0 deletions
|
@ -152,6 +152,20 @@ are used for icons in the bottom toolbar. file "0" to replace
|
||||||
If a new button is defined (file name &quot;20&quot; exists), uweb also supports VectorDrawable with &quot;android compiled XML&quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
|
If a new button is defined (file name &quot;20&quot; exists), uweb also supports VectorDrawable with &quot;android compiled XML&quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Search engine files</title>
|
||||||
|
<link>/en/searchcat/</link>
|
||||||
|
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
|
||||||
|
|
||||||
|
<guid>/en/searchcat/</guid>
|
||||||
|
<description>Any &quot;.search&quot; file can be opened as search engine file, each line of which has one of the following formats:
|
||||||
|
[Engine name]:[url without '%s' inside]
|
||||||
|
[Engine name]:[url with '%s' as keyword]
|
||||||
|
[Engine name]:POST:[post params with '%s' as keyword]:[url]
|
||||||
|
Limitations (they are here for performance reasons):
|
||||||
|
The first engine in the file must be the first type that has no '%s' in the engine url. Internal scheme engine urls (such as i:, d:, c:) must have '%s', since '%s' format is more general (only type 2 is allowed, since POST makes no sense for internal schemes).</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Termux</title>
|
<title>Termux</title>
|
||||||
<link>/en/termux/</link>
|
<link>/en/termux/</link>
|
||||||
|
|
|
@ -143,6 +143,12 @@
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="searchcat/index.html">
|
||||||
|
<span>Search engine files</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="termux/index.html">
|
<a href="termux/index.html">
|
||||||
<span>Termux</span>
|
<span>Termux</span>
|
||||||
|
|
14
en/index.xml
14
en/index.xml
|
@ -259,6 +259,20 @@ are used for icons in the bottom toolbar. file &quot;0&quot; to replace
|
||||||
If a new button is defined (file name &quot;20&quot; exists), uweb also supports VectorDrawable with &quot;android compiled XML&quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
|
If a new button is defined (file name &quot;20&quot; exists), uweb also supports VectorDrawable with &quot;android compiled XML&quot; format. All icon files must be all VectorDrawables or 此时所有图标文件必须都是compiled XML格式,或都是普通的图像格式(png,jpg,gif等)。用户可将VectorDrawable XML文件放到安卓项目目录assets下面,重新生成apk文件以后将apk文件解压即可得compiled XML格式图标文件。</description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>Search engine files</title>
|
||||||
|
<link>/en/searchcat/</link>
|
||||||
|
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
|
||||||
|
|
||||||
|
<guid>/en/searchcat/</guid>
|
||||||
|
<description>Any &quot;.search&quot; file can be opened as search engine file, each line of which has one of the following formats:
|
||||||
|
[Engine name]:[url without '%s' inside]
|
||||||
|
[Engine name]:[url with '%s' as keyword]
|
||||||
|
[Engine name]:POST:[post params with '%s' as keyword]:[url]
|
||||||
|
Limitations (they are here for performance reasons):
|
||||||
|
The first engine in the file must be the first type that has no '%s' in the engine url. Internal scheme engine urls (such as i:, d:, c:) must have '%s', since '%s' format is more general (only type 2 is allowed, since POST makes no sense for internal schemes).</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>Termux</title>
|
<title>Termux</title>
|
||||||
<link>/en/termux/</link>
|
<link>/en/termux/</link>
|
||||||
|
|
68
en/searchcat/index.html
Normal file
68
en/searchcat/index.html
Normal file
|
@ -0,0 +1,68 @@
|
||||||
|
<!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>Search engine files</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">Search engine files
|
||||||
|
<br>
|
||||||
|
<span class="subtitle"></span>
|
||||||
|
</h1>
|
||||||
|
<ul class="tags">
|
||||||
|
|
||||||
|
<li><a href="../tags/search%20engine">search engine</a> </li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
<p>Any ".search" file can be opened as search engine file, each line of which has one of the following formats:<br>
|
||||||
|
[Engine name]:[url without '%s' inside]<br>
|
||||||
|
[Engine name]:[url with '%s' as keyword]<br>
|
||||||
|
[Engine name]:POST:[post params with '%s' as keyword]:[url]</p>
|
||||||
|
<p>Limitations (they are here for performance reasons):</p>
|
||||||
|
<ul>
|
||||||
|
<li>The first engine in the file must be the first type that has no '%s' in the engine url.</li>
|
||||||
|
<li>Internal scheme engine urls (such as i:, d:, c:) must have '%s', since '%s' format is more general (only type 2 is allowed, since POST makes no sense for internal schemes).</li>
|
||||||
|
</ul>
|
||||||
|
<h4 id="local-engines">Local engines</h4>
|
||||||
|
<p>c:[command line with '%s' as keyword]<br>
|
||||||
|
d:mimetype:[command line with '%s' as keyword]:[base url for external resources]</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -296,6 +296,22 @@
|
||||||
hreflang="en"
|
hreflang="en"
|
||||||
href="/en/icons/"
|
href="/en/icons/"
|
||||||
/>
|
/>
|
||||||
|
</url><url>
|
||||||
|
<loc>/en/tags/search-engine/</loc>
|
||||||
|
<lastmod>2022-01-10T00:00:00+00:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>/en/searchcat/</loc>
|
||||||
|
<lastmod>2022-01-10T00:00:00+00:00</lastmod>
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="zh"
|
||||||
|
href="/zh/searchcat/"
|
||||||
|
/>
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="en"
|
||||||
|
href="/en/searchcat/"
|
||||||
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/en/termux/</loc>
|
<loc>/en/termux/</loc>
|
||||||
<lastmod>2022-01-01T00:00:00+00:00</lastmod>
|
<lastmod>2022-01-01T00:00:00+00:00</lastmod>
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
|
|
||||||
<li><a href="PC">PC</a> 1</li>
|
<li><a href="PC">PC</a> 1</li>
|
||||||
|
|
||||||
|
<li><a href="search%20engine">search engine</a> 1</li>
|
||||||
|
|
||||||
<li><a href="ssh">ssh</a> 1</li>
|
<li><a href="ssh">ssh</a> 1</li>
|
||||||
|
|
||||||
<li><a href="termux">termux</a> 2</li>
|
<li><a href="termux">termux</a> 2</li>
|
||||||
|
|
|
@ -60,6 +60,15 @@
|
||||||
<description></description>
|
<description></description>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<title>search engine</title>
|
||||||
|
<link>/en/tags/search-engine/</link>
|
||||||
|
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
|
||||||
|
|
||||||
|
<guid>/en/tags/search-engine/</guid>
|
||||||
|
<description></description>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<title>curl</title>
|
<title>curl</title>
|
||||||
<link>/en/tags/curl/</link>
|
<link>/en/tags/curl/</link>
|
||||||
|
|
53
en/tags/search-engine/index.html
Normal file
53
en/tags/search-engine/index.html
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
<!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>search engine</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">search engine</h1>
|
||||||
|
<ul class="posts">
|
||||||
|
|
||||||
|
<li class="post">
|
||||||
|
<a href="../../searchcat">
|
||||||
|
<span>Search engine files</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
<ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
24
en/tags/search-engine/index.xml
Normal file
24
en/tags/search-engine/index.xml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>search engine on </title>
|
||||||
|
<link>/en/tags/search-engine/</link>
|
||||||
|
<description>Recent content in search engine on </description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<lastBuildDate>Mon, 10 Jan 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/tags/search-engine/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
<item>
|
||||||
|
<title>Search engine files</title>
|
||||||
|
<link>/en/searchcat/</link>
|
||||||
|
<pubDate>Mon, 10 Jan 2022 00:00:00 +0000</pubDate>
|
||||||
|
|
||||||
|
<guid>/en/searchcat/</guid>
|
||||||
|
<description>Any &quot;.search&quot; file can be opened as search engine file, each line of which has one of the following formats:
|
||||||
|
[Engine name]:[url without '%s' inside]
|
||||||
|
[Engine name]:[url with '%s' as keyword]
|
||||||
|
[Engine name]:POST:[post params with '%s' as keyword]:[url]
|
||||||
|
Limitations (they are here for performance reasons):
|
||||||
|
The first engine in the file must be the first type that has no '%s' in the engine url. Internal scheme engine urls (such as i:, d:, c:) must have '%s', since '%s' format is more general (only type 2 is allowed, since POST makes no sense for internal schemes).</description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
|
@ -30,6 +30,10 @@
|
||||||
<header class='header'>
|
<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 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>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -439,6 +439,16 @@
|
||||||
<loc>/zh/tvlive/</loc>
|
<loc>/zh/tvlive/</loc>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/searchcat/</loc>
|
<loc>/zh/searchcat/</loc>
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="en"
|
||||||
|
href="/en/searchcat/"
|
||||||
|
/>
|
||||||
|
<xhtml:link
|
||||||
|
rel="alternate"
|
||||||
|
hreflang="zh"
|
||||||
|
href="/zh/searchcat/"
|
||||||
|
/>
|
||||||
</url><url>
|
</url><url>
|
||||||
<loc>/zh/hosts/</loc>
|
<loc>/zh/hosts/</loc>
|
||||||
</url><url>
|
</url><url>
|
||||||
|
|
Loading…
Reference in a new issue