mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
html5 application to support file urls by appending '?app='
This commit is contained in:
parent
716e044ad5
commit
2f3eee32c2
13 changed files with 69 additions and 86 deletions
|
@ -5,11 +5,11 @@
|
|||
<link>/en/_posts/</link>
|
||||
<description>Recent content in _posts on uweb browser</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Tue, 02 Aug 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Sun, 02 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/_posts/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
<pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate>
|
||||
<pubDate>Sun, 02 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
|
|
|
@ -62,8 +62,9 @@ Click to install the following html5 apps:<br>
|
|||
<ul>
|
||||
<li>All html5 applications locating in a subfolder whose name begins with "app" (such as "appPDF") are allowed to read local files. Use url "https://local/sdcard/..." for a local file.</li>
|
||||
<li><span style="color:red">All files under the subfolder "app" can be automatically choosed as file objects by any web page</span>.</li>
|
||||
<li><span style="color:red">Local files (including binary files) can be processed by appending "?app=[html5 app url] to the file urls.</span> Ex. "file:///..../xx.md?app=https://...../app.html" loads "app.html" first, then "app.html" processes the local file.</li>
|
||||
</ul>
|
||||
<p>With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder "app" can be accessed.</p>
|
||||
<p>With the first approach, the html5 application is installed locally and can read any file allowed by the OS; while in the second approach, the html5 application can be either local or remote, and only files under the subfolder "app" can be accessed; The third approach allows easy access of other external resources (ex. local media).</p>
|
||||
<h4 id="open-local-files-with-html5-apps">Open local files with html5 apps</h4>
|
||||
<p>Click to configure <a href="../filecap/index.html">default.filecap</a> to open local files, and to open remote files with the option "custom file handling":<br>
|
||||
<a target="_self" href="i:0gdefault.filecap:https://fastly.jsdelivr.net/gh/torappinfo/uweb/zh/searchurl/txt/filecap.cfg">use pdf.js,djvu.js,epub.js, huge markdown viewer for local files</a></p>
|
||||
|
|
42
en/index.xml
42
en/index.xml
|
@ -5,7 +5,27 @@
|
|||
<link>/en/</link>
|
||||
<description>Recent content on uweb browser</description>
|
||||
<generator>Hugo -- gohugo.io</generator>
|
||||
<lastBuildDate>Fri, 16 Sep 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<lastBuildDate>Sun, 02 Oct 2022 00:00:00 +0000</lastBuildDate><atom:link href="/en/index.xml" rel="self" type="application/rss+xml" />
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
<pubDate>Sun, 02 Oct 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
Click to install the following html5 apps:
|
||||
Huge markdown file viewer
|
||||
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
|
||||
plyr video player
|
||||
dplayer video player
|
||||
pdf viewer
|
||||
epub reader (author:llili)
|
||||
djvu viewer
|
||||
The corresponding menus can be installed with url services.
|
||||
Features The following mentioned subfolders locate in the configuration folder.
|
||||
All html5 applications locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Downloads</title>
|
||||
<link>/en/changelog/</link>
|
||||
|
@ -23,26 +43,6 @@ re-implement html5 enhancement for better mdict lookup support. 908:
|
|||
Add internal links &quot;i:1d&quot; to launch apps. (to fix &quot;am&quot; issues for Android 8+) File sending now supports pseudo file manager (page url faked as a file url for folder), thus scripts of internal links &quot;d:&quot; can generate any kind of pseudo file manager for file transfer.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Html5 applications</title>
|
||||
<link>/en/html5/</link>
|
||||
<pubDate>Tue, 02 Aug 2022 00:00:00 +0000</pubDate>
|
||||
|
||||
<guid>/en/html5/</guid>
|
||||
<description>This page is for uweb browser.
|
||||
Click to install the following html5 apps:
|
||||
Huge markdown file viewer
|
||||
Huge markdeep file viewer (markdown, latex, diagram,graphviz etc.)
|
||||
plyr video player
|
||||
dplayer video player
|
||||
pdf viewer
|
||||
epub reader (author:llili)
|
||||
djvu viewer
|
||||
The corresponding menus can be installed with url services.
|
||||
Features The following mentioned subfolders locate in the configuration folder.
|
||||
All html5 applications locating in a subfolder whose name begins with &quot;app&quot; (such as &quot;appPDF&quot;) are allowed to read local files.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<title>Address bar command modes</title>
|
||||
<link>/en/acmd/</link>
|
||||
|
|
|
@ -2,6 +2,45 @@
|
|||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||
<url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/_posts/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/_posts/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/html5/</loc>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/html5/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/html5/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2022-10-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/changelog/</loc>
|
||||
<lastmod>2022-09-16T00:00:00+00:00</lastmod>
|
||||
</url><url>
|
||||
|
@ -17,45 +56,6 @@
|
|||
hreflang="en"
|
||||
href="/en/topposts/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/</loc>
|
||||
<lastmod>2022-09-16T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/_posts/</loc>
|
||||
<lastmod>2022-08-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/_posts/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/_posts/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/html5/</loc>
|
||||
<lastmod>2022-08-02T00:00:00+00:00</lastmod>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="zh"
|
||||
href="/zh/html5/"
|
||||
/>
|
||||
<xhtml:link
|
||||
rel="alternate"
|
||||
hreflang="en"
|
||||
href="/en/html5/"
|
||||
/>
|
||||
</url><url>
|
||||
<loc>/en/acmd/</loc>
|
||||
<lastmod>2022-07-30T00:00:00+00:00</lastmod>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue