mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
generate PDF for custom paper size
This commit is contained in:
parent
b0aaa72b31
commit
732adfa362
15 changed files with 79 additions and 67 deletions
|
@ -5,7 +5,18 @@
|
|||
<link>/en/_posts/</link>
|
||||
<description>Recent content in _posts on uweb browser</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Sun, 30 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Fri, 25 Nov 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Offline resources</title>
|
||||
<link>/en/offlinecache/</link>
|
||||
<pubDate>Fri, 25 Nov 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/offlinecache/</guid>
|
||||
<description>Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).
|
||||
Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .xpi for firefox) are just packaged websites.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Make any url as website</title>
|
||||
<link>/en/url2site/</link>
|
||||
|
@ -16,17 +27,6 @@
|
|||
&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet. &quot;i:0mi:5h:[url]&quot;: to treat the [url] content as html (for download or no-script links etc.) &quot;i:0mi:5h?[postfix]::[url]&quot;: auto append query postfix to url to retrieve content. &quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: use the result of regular expression replacement to retrieve the content.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Offline resources</title>
|
||||
<link>/en/offlinecache/</link>
|
||||
<pubDate>Thu, 20 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/offlinecache/</guid>
|
||||
<description>Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).
|
||||
Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
|
|
|
@ -49,6 +49,8 @@
|
|||
<p><a href="https://releases.pagure.org/uweb/">pagure</a></p>
|
||||
<p><a href="https://sourceforge.net/projects/uwebbrowser/files/v1/">sourceforge</a></p>
|
||||
<h4 id="change-logs">Change logs</h4>
|
||||
<p>948: Address bar: ":p [width in milliInch]x[height]" to generate PDF in custom size<br>
|
||||
946: Option "use offline cache" to support serverless local websites.</p>
|
||||
<p>945: commands to support evaluation of generated js code.</p>
|
||||
<p>943: Multiple home screens support .mht (offline webpage), .search & .html local files.</p>
|
||||
<p>940: <a href="../url2site/index.html">Any url as website</a> with local html processing (<a href="../links/index.html">"i:0m/..../xxx.html:url"</a>)</p>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta name="generator" content="Hugo 0.105.0">
|
||||
<meta name="generator" content="Hugo 0.108.0">
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
|
||||
|
@ -85,14 +85,14 @@
|
|||
|
||||
|
||||
<li class="post">
|
||||
<a href="url2site/index.html">
|
||||
<span>Make any url as website</span>
|
||||
<a href="offlinecache/index.html">
|
||||
<span>Offline resources</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="post">
|
||||
<a href="offlinecache/index.html">
|
||||
<span>Offline resources</span>
|
||||
<a href="url2site/index.html">
|
||||
<span>Make any url as website</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
|
31
en/index.xml
31
en/index.xml
|
@ -5,7 +5,18 @@
|
|||
<link>/en/</link>
|
||||
<description>Recent content on uweb browser</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Sun, 30 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Fri, 25 Nov 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Offline resources</title>
|
||||
<link>/en/offlinecache/</link>
|
||||
<pubDate>Fri, 25 Nov 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/offlinecache/</guid>
|
||||
<description>Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).
|
||||
Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, the url path part]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .xpi for firefox) are just packaged websites.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Make any url as website</title>
|
||||
<link>/en/url2site/</link>
|
||||
|
@ -16,17 +27,6 @@
|
|||
&quot;i:0m04:[url]&quot;: to treat the [url] content as html with bookmarklet. &quot;i:0mi:5h:[url]&quot;: to treat the [url] content as html (for download or no-script links etc.) &quot;i:0mi:5h?[postfix]::[url]&quot;: auto append query postfix to url to retrieve content. &quot;i:0mi:5h/[regex]/[replacement]::[url]&quot;: use the result of regular expression replacement to retrieve the content.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Offline resources</title>
|
||||
<link>/en/offlinecache/</link>
|
||||
<pubDate>Thu, 20 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/offlinecache/</guid>
|
||||
<description>Click to install url service that extracts web apps to the folder &quot;sitecache/local/&quot;: support web extensions (.crx for chrome &amp; .xpi for firefox).
|
||||
Offline resources locate in the folder &quot;sitecache&quot;. With the option &quot;use offline resources&quot; enabled, the corresponding files in &quot;sitecache/[domain name]/[full path including filename, '?' , '&amp;' , '='. exactly as url]&quot; are loaded first before reaching the network.
|
||||
PWAs (Progresssive Web Applications) and some web extensions (.crx for chrome &amp; .</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
|
@ -59,12 +59,13 @@ uweb, termux &amp; history versions
|
|||
github
|
||||
pagure
|
||||
sourceforge
|
||||
Change logs 945: commands to support evaluation of generated js code.
|
||||
Change logs 948: Address bar: &quot;:p [width in milliInch]x[height]&quot; to generate PDF in custom size
|
||||
946: Option &quot;use offline cache&quot; to support serverless local websites.
|
||||
945: commands to support evaluation of generated js code.
|
||||
943: Multiple home screens support .mht (offline webpage), .search &amp; .html local files.
|
||||
940: Any url as website with local html processing (&quot;i:0m/..../xxx.html:url&quot;)
|
||||
935:
|
||||
Pipe support: command line output to uweb tabs. 934:
|
||||
Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support. PWAs and web extensions to be used as search engines, ex.</description>
|
||||
Pipe support: command line output to uweb tabs.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
|
@ -96,6 +96,11 @@ Config http proxy, ":010:" to disable any proxy.</p>
|
|||
Socks proxy</p>
|
||||
</li>
|
||||
</ul>
|
||||
<h4 id="commands">commands</h4>
|
||||
<ul>
|
||||
<li>:p [width in milliInch]x[height in milliInch]<br>
|
||||
Generate/Print PDF file in the "/sdcard/Download" folder.</li>
|
||||
</ul>
|
||||
<h3 id="i-internal-links">"i:" internal links:</h3>
|
||||
<ul>
|
||||
<li>
|
||||
|
|
|
@ -48,8 +48,10 @@
|
|||
|
||||
</ul>
|
||||
<p><a href="i:01Extract webapp:i:0bsitecache/local/:">Click to install url service that extracts web apps to the folder "sitecache/local/"</a>: support web extensions (.crx for chrome & .xpi for firefox).</p>
|
||||
<p>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.</p>
|
||||
<p>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.</p>
|
||||
<p>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"<sup id="fnref:1"><a href="#fn:1" class="footnote-ref" role="doc-noteref">1</a></sup>, then the kiwix extension can be accessed via url "https://local/kiwix/www/index.html" in the browser.</p>
|
||||
<h4 id="serverless-local-sites">Serverless local sites</h4>
|
||||
<p>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.</p>
|
||||
<div class="footnotes" role="doc-endnotes">
|
||||
<hr>
|
||||
<ol>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2022-10-30T00:00:00+00:00</lastmod>
|
||||
<lastmod>2022-11-25T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -15,11 +15,21 @@
|
|||
href="/en/_posts/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/url2site/</loc>
|
||||
<lastmod>2022-10-30T00:00:00+00:00</lastmod>
|
||||
<loc>/en/offlinecache/</loc>
|
||||
<lastmod>2022-11-25T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/offlinecache/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/offlinecache/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2022-10-30T00:00:00+00:00</lastmod>
|
||||
<lastmod>2022-11-25T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
|
@ -31,18 +41,8 @@
|
|||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/offlinecache/</loc>
|
||||
<lastmod>2022-10-20T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/offlinecache/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/offlinecache/"
|
||||
/>
|
||||
<loc>/en/url2site/</loc>
|
||||
<lastmod>2022-10-30T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
<loc>/en/html5/</loc>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
|
|
|
@ -17,12 +17,13 @@ uweb, termux &amp; history versions
|
|||
github
|
||||
pagure
|
||||
sourceforge
|
||||
Change logs 945: commands to support evaluation of generated js code.
|
||||
Change logs 948: Address bar: &quot;:p [width in milliInch]x[height]&quot; to generate PDF in custom size
|
||||
946: Option &quot;use offline cache&quot; to support serverless local websites.
|
||||
945: commands to support evaluation of generated js code.
|
||||
943: Multiple home screens support .mht (offline webpage), .search &amp; .html local files.
|
||||
940: Any url as website with local html processing (&quot;i:0m/..../xxx.html:url&quot;)
|
||||
935:
|
||||
Pipe support: command line output to uweb tabs. 934:
|
||||
Serverless local sites: PWA-kind web extension (chrome .crx &amp; firefox .xpi) support. PWAs and web extensions to be used as search engines, ex.</description>
|
||||
Pipe support: command line output to uweb tabs.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue