From 732adfa362bf4b1fddea5528f34fd3f1b7b73950 Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Thu, 8 Dec 2022 16:15:22 +0800 Subject: [PATCH] generate PDF for custom paper size --- en/_posts/index.xml | 24 ++++++++++++------------ en/changelog/index.html | 2 ++ en/index.html | 10 +++++----- en/index.xml | 31 ++++++++++++++++--------------- en/links/index.html | 5 +++++ en/offlinecache/index.html | 4 +++- en/sitemap.xml | 32 ++++++++++++++++---------------- en/topposts/index.xml | 7 ++++--- sitemap.xml | 2 +- zh/_posts/index.xml | 4 ++-- zh/index.html | 2 +- zh/index.xml | 8 ++++---- zh/offlinecache/index.html | 4 ++-- zh/search/index.html | 7 ++++--- zh/topposts/index.xml | 4 ++-- 15 files changed, 79 insertions(+), 67 deletions(-) diff --git a/en/_posts/index.xml b/en/_posts/index.xml index 9d09498..e76d958 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -5,7 +5,18 @@ /en/_posts/ Recent content in _posts on uweb browser Hugo -- gohugo.io - Sun, 30 Oct 2022 00:00:00 +0000 + Fri, 25 Nov 2022 00:00:00 +0000 + + Offline resources + /en/offlinecache/ + Fri, 25 Nov 2022 00:00:00 +0000 + + /en/offlinecache/ + Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox). +Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, the url path part]" are loaded first before reaching the network. +PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. + + Make any url as website /en/url2site/ @@ -16,17 +27,6 @@ "i:0m04:[url]": to treat the [url] content as html with bookmarklet. "i:0mi:5h:[url]": to treat the [url] content as html (for download or no-script links etc.) "i:0mi:5h?[postfix]::[url]": auto append query postfix to url to retrieve content. "i:0mi:5h/[regex]/[replacement]::[url]": use the result of regular expression replacement to retrieve the content. - - Offline resources - /en/offlinecache/ - Thu, 20 Oct 2022 00:00:00 +0000 - - /en/offlinecache/ - Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox). -Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, '?' , '&' , '='. exactly as url]" are loaded first before reaching the network. -PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & . - - Html5 applications /en/html5/ diff --git a/en/changelog/index.html b/en/changelog/index.html index db46a2f..b52fec2 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -49,6 +49,8 @@

pagure

sourceforge

Change logs

+

948: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size
+946: Option "use offline cache" to support serverless local websites.

945: commands to support evaluation of generated js code.

943: Multiple home screens support .mht (offline webpage), .search & .html local files.

940: Any url as website with local html processing ("i:0m/..../xxx.html:url")

diff --git a/en/index.html b/en/index.html index 4109dcc..3b62b9d 100644 --- a/en/index.html +++ b/en/index.html @@ -1,7 +1,7 @@ - + @@ -85,14 +85,14 @@
  • - - Make any url as website + + Offline resources
  • - - Offline resources + + Make any url as website
  • diff --git a/en/index.xml b/en/index.xml index c746cb6..a7bb154 100644 --- a/en/index.xml +++ b/en/index.xml @@ -5,7 +5,18 @@ /en/ Recent content on uweb browser Hugo -- gohugo.io - Sun, 30 Oct 2022 00:00:00 +0000 + Fri, 25 Nov 2022 00:00:00 +0000 + + Offline resources + /en/offlinecache/ + Fri, 25 Nov 2022 00:00:00 +0000 + + /en/offlinecache/ + Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox). +Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, the url path part]" are loaded first before reaching the network. +PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. + + Make any url as website /en/url2site/ @@ -16,17 +27,6 @@ "i:0m04:[url]": to treat the [url] content as html with bookmarklet. "i:0mi:5h:[url]": to treat the [url] content as html (for download or no-script links etc.) "i:0mi:5h?[postfix]::[url]": auto append query postfix to url to retrieve content. "i:0mi:5h/[regex]/[replacement]::[url]": use the result of regular expression replacement to retrieve the content. - - Offline resources - /en/offlinecache/ - Thu, 20 Oct 2022 00:00:00 +0000 - - /en/offlinecache/ - Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox). -Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, '?' , '&' , '='. exactly as url]" are loaded first before reaching the network. -PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & . - - Html5 applications /en/html5/ @@ -59,12 +59,13 @@ uweb, termux & history versions github pagure sourceforge -Change logs 945: commands to support evaluation of generated js code. +Change logs 948: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size +946: Option "use offline cache" to support serverless local websites. +945: commands to support evaluation of generated js code. 943: Multiple home screens support .mht (offline webpage), .search & .html local files. 940: Any url as website with local html processing ("i:0m/..../xxx.html:url") 935: -Pipe support: command line output to uweb tabs. 934: -Serverless local sites: PWA-kind web extension (chrome .crx & firefox .xpi) support. PWAs and web extensions to be used as search engines, ex. +Pipe support: command line output to uweb tabs. diff --git a/en/links/index.html b/en/links/index.html index ce29c66..b1f3560 100644 --- a/en/links/index.html +++ b/en/links/index.html @@ -96,6 +96,11 @@ Config http proxy, ":010:" to disable any proxy.

    Socks proxy

    +

    commands

    +
      +
    • :p [width in milliInch]x[height in milliInch]
      +Generate/Print PDF file in the "/sdcard/Download" folder.
    • +
    • diff --git a/en/offlinecache/index.html b/en/offlinecache/index.html index e3de3d7..615c2da 100644 --- a/en/offlinecache/index.html +++ b/en/offlinecache/index.html @@ -48,8 +48,10 @@

    Click to install url service that extracts web apps to the folder "sitecache/local/": support web extensions (.crx for chrome & .xpi for firefox).

    -

    Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, '?' , '&' , '='. exactly as url]" are loaded first before reaching the network.

    +

    Offline resources locate in the folder "sitecache". With the option "use offline resources" enabled, the corresponding files in "sitecache/[domain name]/[full path including filename, the url path part]" are loaded first before reaching the network.

    PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome & .xpi for firefox) are just packaged websites. Ex. the "kiwix" extension can be extracted to the folder "sitecache/local/kiwix"1, then the kiwix extension can be accessed via url "https://local/kiwix/www/index.html" in the browser.

    +

    Serverless local sites

    +

    Any folder under "sitecache" can be visited as a local site. Urls with search queries can be dynamically processed by the js/wasm code in the local file.


      diff --git a/en/sitemap.xml b/en/sitemap.xml index b0f3c56..c0f839a 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /en/_posts/ - 2022-10-30T00:00:00+00:00 + 2022-11-25T00:00:00+00:00 - /en/url2site/ - 2022-10-30T00:00:00+00:00 + /en/offlinecache/ + 2022-11-25T00:00:00+00:00 + + /en/ - 2022-10-30T00:00:00+00:00 + 2022-11-25T00:00:00+00:00 - /en/offlinecache/ - 2022-10-20T00:00:00+00:00 - - + /en/url2site/ + 2022-10-30T00:00:00+00:00 /en/html5/ 2022-10-02T00:00:00+00:00 diff --git a/en/topposts/index.xml b/en/topposts/index.xml index e6d8c61..f95ba5a 100644 --- a/en/topposts/index.xml +++ b/en/topposts/index.xml @@ -17,12 +17,13 @@ uweb, termux & history versions github pagure sourceforge -Change logs 945: commands to support evaluation of generated js code. +Change logs 948: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size +946: Option "use offline cache" to support serverless local websites. +945: commands to support evaluation of generated js code. 943: Multiple home screens support .mht (offline webpage), .search & .html local files. 940: Any url as website with local html processing ("i:0m/..../xxx.html:url") 935: -Pipe support: command line output to uweb tabs. 934: -Serverless local sites: PWA-kind web extension (chrome .crx & firefox .xpi) support. PWAs and web extensions to be used as search engines, ex. +Pipe support: command line output to uweb tabs. diff --git a/sitemap.xml b/sitemap.xml index 2636ab7..13e88d3 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -4,7 +4,7 @@ en/sitemap.xml - 2022-10-30T00:00:00+00:00 + 2022-11-25T00:00:00+00:00 diff --git a/zh/_posts/index.xml b/zh/_posts/index.xml index 5b2a357..75ca7da 100644 --- a/zh/_posts/index.xml +++ b/zh/_posts/index.xml @@ -841,8 +841,8 @@ PCdown:/data/data/com.termux/files/usr/bin/pcdownload Mon, 01 Jan 0001 00:00:00 +0000 /zh/offlinecache/ - uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件"sitecache/[域名]/[全部路径,包括文件名,?,&,=, 与url一模一样]"。 -打开选项以后超微将自动装载这些离线资源。 + uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件"sitecache/[域名]/[全部路径,包括文件名,url中的路径部分]"。 +打开选项"使用离线资源"以后超微将自动装载这些离线资源。 离线资源可作为缓存提高浏览器性能; 可作为国外网站部分备份修复服务访问; 也可替换部分网站资源达到定制网站的作用。 diff --git a/zh/index.html b/zh/index.html index 0f55c98..6cd38ae 100644 --- a/zh/index.html +++ b/zh/index.html @@ -1,7 +1,7 @@ - + diff --git a/zh/index.xml b/zh/index.xml index b1d2fa6..51ddae1 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -56,7 +56,6 @@ google:https://google.com/search?q= 必应4:http://www4.bing.com/search?q= 百度:https://m.baidu.com/s?wd= Fsou:https://fsoufsou.com/search?q= -paulgo:https://paulgo.io/search?q= you:https://you.com/search?q= neeva:https://neeva.com/search?q= seekr:https://www.seekr.com/search?query= @@ -78,7 +77,8 @@ louk:https://www.louk.cn/vodsearch/-------------.html?wd= 4444影视:http://k.4444.li/search.php?searchword= nfmovies:https://www.nfmovies.com/search.php?searchword= 电影狗:https://www.dianyinggou.com/so/ -pianku:https://www.pianku.la/search/%s-------------.html +pianku:https://www.pianku.la/search/%s-------------.html +novip:https://www.novipnoad.com/s= @@ -1053,8 +1053,8 @@ PCdown:/data/data/com.termux/files/usr/bin/pcdownload Mon, 01 Jan 0001 00:00:00 +0000 /zh/offlinecache/ - uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件"sitecache/[域名]/[全部路径,包括文件名,?,&,=, 与url一模一样]"。 -打开选项以后超微将自动装载这些离线资源。 + uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件"sitecache/[域名]/[全部路径,包括文件名,url中的路径部分]"。 +打开选项"使用离线资源"以后超微将自动装载这些离线资源。 离线资源可作为缓存提高浏览器性能; 可作为国外网站部分备份修复服务访问; 也可替换部分网站资源达到定制网站的作用。 diff --git a/zh/offlinecache/index.html b/zh/offlinecache/index.html index 4e90117..f67fc59 100644 --- a/zh/offlinecache/index.html +++ b/zh/offlinecache/index.html @@ -47,8 +47,8 @@
      -

      uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件"sitecache/[域名]/[全部路径,包括文件名,?,&,=, 与url一模一样]"。
      -打开选项以后超微将自动装载这些离线资源。

      +

      uweb浏览器支持装载网站离线资源。只需要将离线资源存为文件"sitecache/[域名]/[全部路径,包括文件名,url中的路径部分]"。
      +打开选项"使用离线资源"以后超微将自动装载这些离线资源。

      离线资源可作为缓存提高浏览器性能; 可作为国外网站部分备份修复服务访问; 也可替换部分网站资源达到定制网站的作用。

    diff --git a/zh/search/index.html b/zh/search/index.html index 38ccfb5..71e85b8 100644 --- a/zh/search/index.html +++ b/zh/search/index.html @@ -96,7 +96,6 @@

    必应4:http://www4.bing.com/search?q=

    百度:https://m.baidu.com/s?wd=

    Fsou:https://fsoufsou.com/search?q=

    -

    paulgo:https://paulgo.io/search?q=

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

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

    seekr:https://www.seekr.com/search?query=

    @@ -123,7 +122,6 @@

    555dianying:https://555dianying.cc/vodsearch/-------------.html?wd=

    zhenbuka:https://www.zhenbuka.net/search/-------------.html?wd=

    7080:https://7080.wang/so.html?wd=

    -

    1090:https://1090hd.com/vod/search.html?wd=

    微博:https://s.weibo.com/weibo/

    疯狂音乐:http://music.myepoch.cn/?type=netease&name=

    墨灵音乐:https://music.mli.im/music.web?auto-action=true&action=search&wd=

    @@ -245,6 +243,7 @@

    hotbot:https://www.hotbot.com/web?q=

    网盘搜索:
    yiso:https://yiso.fun/info?searchKey=

    +

    upyunso:https://www.upyunso.com/search.html?keyword=

    来搜一下:https://www.laisoyixia.com/s/search?q=

    56盘:https://www.56wangpan.com/search/kw

    学术搜索:
    @@ -255,6 +254,7 @@

    base:https://www.base-search.net/Search/Results?lookfor=

    开发者友好搜索:
    git:https://github.com/search?type=Repositories&q=

    +

    gitmirror:https://hub.yzuu.cf/search?type=Repositories&q=

    man:http://man.cx/

    code:http://searchcode.com/?q=

    greasyfork:https://greasyfork.org/en/scripts?filter_locale=0&sort=updated&q=

    @@ -284,7 +284,8 @@

    3d函数作图:d:image/svg+xml:gnuplot -e 'set term svg;set output; splot %s':

    分类搜索

    更多引擎可参看:
    -google镜像
    +google镜像
    +searx
    Skittle
    searchengine
    网盘搜索
    diff --git a/zh/topposts/index.xml b/zh/topposts/index.xml index 8523780..627c088 100644 --- a/zh/topposts/index.xml +++ b/zh/topposts/index.xml @@ -56,7 +56,6 @@ google:https://google.com/search?q= 必应4:http://www4.bing.com/search?q= 百度:https://m.baidu.com/s?wd= Fsou:https://fsoufsou.com/search?q= -paulgo:https://paulgo.io/search?q= you:https://you.com/search?q= neeva:https://neeva.com/search?q= seekr:https://www.seekr.com/search?query= @@ -78,7 +77,8 @@ louk:https://www.louk.cn/vodsearch/-------------.html?wd= 4444影视:http://k.4444.li/search.php?searchword= nfmovies:https://www.nfmovies.com/search.php?searchword= 电影狗:https://www.dianyinggou.com/so/ -pianku:https://www.pianku.la/search/%s-------------.html +pianku:https://www.pianku.la/search/%s-------------.html +novip:https://www.novipnoad.com/s=