add force encoding support for sites with wrong encodings

This commit is contained in:
James Feng Cao 2024-04-19 16:11:12 +08:00
parent e7c63d0df2
commit 0dc5a32fa4
12 changed files with 32 additions and 26 deletions

View file

@ -6,7 +6,7 @@
<description>Recent content in _Posts on uweb browser: unlimited power</description>
<generator>Hugo 0.125.0</generator>
<language>en</language>
<lastBuildDate>Sun, 14 Apr 2024 10:39:28 +0800</lastBuildDate>
<lastBuildDate>Fri, 19 Apr 2024 11:37:39 +0800</lastBuildDate>
<atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>

View file

@ -6,7 +6,7 @@
<description>Recent content on uweb browser: unlimited power</description>
<generator>Hugo 0.125.0</generator>
<language>en</language>
<lastBuildDate>Thu, 18 Apr 2024 15:10:11 +0800</lastBuildDate>
<lastBuildDate>Fri, 19 Apr 2024 11:37:39 +0800</lastBuildDate>
<atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Text selection/processing</title>

View file

@ -248,11 +248,12 @@ TTS</p>
play video fullscreen. if videourl is empty, then make following requestFullscreen() work.</p>
</li>
<li>
<p>i:5h[?postfix:|/regex/replacement:][url]<br>
<p>i:5h[?postfix:|/regex/replacement:|encoding:][url]<br>
force html for [url] visiting</p>
<ul>
<li>[?postfix:] : the real url visited is &quot;[url]+[?postfix]&quot;</li>
<li>[/regex/replacement:]: execute regular expression replacement for the &quot;[url]&quot;, then visit the resulting url.</li>
<li>[encoding:]: force web page encoding.</li>
</ul>
</li>
<li>
@ -309,8 +310,8 @@ Bundle of internal urls, if it is an &quot;i:0&quot; url, then it should have th
</ul>
</div>
<p>Last Modified: 2 April 2024<br>
add js function in README<br>
<p>Last Modified: 19 April 2024<br>
add i:5hencoding: support<br>
<pre>i:56 urls support CTRL_A to CTRL-Z
</pre>
</p>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>/en/_posts/</loc>
<lastmod>2024-04-14T10:39:28+08:00</lastmod>
<lastmod>2024-04-19T11:37:39+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -71,7 +71,7 @@
/>
</url><url>
<loc>/en/</loc>
<lastmod>2024-04-18T15:10:11+08:00</lastmod>
<lastmod>2024-04-19T11:37:39+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"
@ -97,7 +97,7 @@
/>
</url><url>
<loc>/en/links/</loc>
<lastmod>2024-04-02T11:45:19+08:00</lastmod>
<lastmod>2024-04-19T11:37:39+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="zh"