mirror of
https://github.com/torappinfo/uweb.git
synced 2024-08-14 23:54:59 +00:00
update mirrors
This commit is contained in:
parent
75cb8c0c1e
commit
ed565d9960
61 changed files with 286 additions and 233 deletions
|
@ -56,7 +56,7 @@
|
|||
[file extension]:[mimetype]:[command line]</p>
|
||||
<p>The "[file extension]" part can have at most two-segment of extensions such as "txt.xz","html.gz".<br>
|
||||
"[mimetype]" indicates the type of "[command line]" output.<br>
|
||||
"[command line]" is same as the one in <a href="../cmds/index.html">default.cmds</a>. The most often used replacements are:<br>
|
||||
"[command line]" is same as the one in <a href="../cmds/index.html#">default.cmds</a>. The most often used replacements are:<br>
|
||||
%u (url), %U (urlencoded url), %c (cookie), %p (site password, curl format).</p>
|
||||
<p>default.filecap example:</p>
|
||||
<pre><code>txt:text/html:curl %p "%u"
|
||||
|
@ -72,7 +72,7 @@ docx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
|
|||
xlsx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
|
||||
pptx:uweb:echo http://docs.google.com/gview?embedded=true&url=%U
|
||||
xz:text/plain:curl %p "%u"|xz -d --</code></pre>
|
||||
<p>Examples for <a href="../html5/index.html">html5 application</a>:</p>
|
||||
<p>Examples for <a href="../html5/index.html#">html5 application</a>:</p>
|
||||
<pre><code>pdf:uweb:echo file:///data/data/info.torapp.uweb/files/app/pdf.js/web/viewer.html?file=%u
|
||||
djvu:uweb:echo file:///data/data/info.torapp.uweb/files/app/djvu.html?url=%u
|
||||
epub:uweb:echo file:///data/data/info.torapp.uweb/files/app/reader/index.html#?bookPath==%u</code></pre>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue