From 8e7b56a157a93e64d610aaae639cfd611b55b5bb Mon Sep 17 00:00:00 2001 From: James Feng Cao Date: Tue, 8 Nov 2022 11:06:46 +0800 Subject: [PATCH] i:0m to support local file --- en/_posts/index.xml | 12 ++++++++- en/changelog/index.html | 2 +- en/index.html | 6 +++++ en/index.xml | 16 ++++++++--- en/links/index.html | 4 +-- en/sitemap.xml | 31 ++++++++++++---------- en/topposts/index.xml | 4 +-- en/url2site/index.html | 59 +++++++++++++++++++++++++++++++++++++++++ sitemap.xml | 2 +- 9 files changed, 112 insertions(+), 24 deletions(-) create mode 100644 en/url2site/index.html diff --git a/en/_posts/index.xml b/en/_posts/index.xml index aa0c324..d8b24c5 100644 --- a/en/_posts/index.xml +++ b/en/_posts/index.xml @@ -5,7 +5,17 @@ /en/_posts/ Recent content in _posts on uweb browser Hugo -- gohugo.io - Thu, 20 Oct 2022 00:00:00 +0000 + Sun, 30 Oct 2022 00:00:00 +0000 + + Make any url as website + /en/url2site/ + Sun, 30 Oct 2022 00:00:00 +0000 + + /en/url2site/ + The uweb internal link "i:0m" make any url such as download or indirect link visitable as a website. The test mirrors in the uweb manual are examples using the following tricks: +"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/ diff --git a/en/changelog/index.html b/en/changelog/index.html index ff6e64f..cbd2eee 100644 --- a/en/changelog/index.html +++ b/en/changelog/index.html @@ -49,7 +49,7 @@

pagure

sourceforge

Change logs

-

940: url pre-processing with local html ("i:0m/..../xxx.html:url")

+

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

935: