From ac37de825e588d3a806b44cfa336f89e3c10cb3e Mon Sep 17 00:00:00 2001
From: James Feng Cao
Date: Fri, 1 Dec 2023 16:09:30 +0800
Subject: [PATCH] rename pccopy to textprocess
---
en/_posts/index.xml | 40 ++++-----
en/bookmark/index.html | 7 +-
en/changelog/index.html | 2 +-
en/filenames/index.html | 6 +-
en/index.html | 12 +--
en/index.xml | 40 ++++-----
en/sitemap.xml | 152 +++++++++++++++++------------------
en/sitemap/index.html | 6 +-
en/tags/clipboard/index.html | 4 +-
en/tags/clipboard/index.xml | 14 ++--
en/tags/index.xml | 70 ++++++++--------
en/tags/pc/index.html | 4 +-
en/tags/pc/index.xml | 14 ++--
en/tags/ssh/index.html | 4 +-
en/tags/ssh/index.xml | 14 ++--
en/tags/termux/index.html | 12 +--
en/tags/termux/index.xml | 33 ++++----
en/tags/windows/index.html | 4 +-
en/tags/windows/index.xml | 14 ++--
en/textprocess/index.html | 128 +++++++++++++++++++++++++++++
en/tips/index.html | 9 ++-
sitemap.xml | 4 +-
zh/_posts/index.xml | 4 +-
zh/cmd/index.html | 6 +-
zh/filemanager/index.html | 6 +-
zh/filenames/index.html | 6 +-
zh/index.html | 2 +-
zh/index.xml | 4 +-
zh/sitemap.xml | 28 +++----
zh/sitemap/index.html | 6 +-
zh/tags/pc/index.html | 2 +-
zh/tags/pc/index.xml | 4 +-
zh/tags/ssh/index.html | 2 +-
zh/tags/ssh/index.xml | 4 +-
zh/tags/termux/index.html | 2 +-
zh/tags/termux/index.xml | 4 +-
zh/tags/windows/index.html | 2 +-
zh/tags/windows/index.xml | 4 +-
zh/tags/剪贴板/index.html | 2 +-
zh/tags/剪贴板/index.xml | 4 +-
zh/textprocess/index.html | 129 +++++++++++++++++++++++++++++
41 files changed, 531 insertions(+), 283 deletions(-)
create mode 100644 en/textprocess/index.html
create mode 100644 zh/textprocess/index.html
diff --git a/en/_posts/index.xml b/en/_posts/index.xml
index 98e2c7dd..1c16844e 100644
--- a/en/_posts/index.xml
+++ b/en/_posts/index.xml
@@ -92,20 +92,21 @@ andi freegpt teach-anything magickpen Wait for url from other devices
berify: reverse image search for video
Tips File handling and styling with home.css "home.css" (in current folder, parent folder or the "bookmark" folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs "<style>" tag for CSS.
Install markdeep styling for markdown files
-Bookmarks with secrets (POST instead of GET) The search engine (".
+Bookmarks with secrets (POST instead of GET) The internal link "i:a1[url]?
Tips
/en/tips/
Mon, 16 Jan 2023 00:00:00 +0000/en/tips/
- To show web pages in desktop mode:
+ Text processing for clipboard data:
+On home screen, pressing the sharing button of the bottom toolbar popups the text processing menu for clipboard data.
+To show web pages in desktop mode:
PC button + option "wide viewport" + global js "force page resizable".
Playing audio when screen off
Option "Floating video" + video fullscreen playing
-Use POST-type search engine as bookmark to auto login
Multiple home screens and Next/Prev page:
-home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), ... can be visited via pressing the right arrow button while home4.mht(or .html or .search), home3.
+home5.html, home6.mht(or .html or .search), home7.mht(or .html or .search), .Address bar command line
@@ -191,22 +192,6 @@ Check all checkboxes
Uncheck all checkboxes
Toggle all checkboxes in forms
Enable selection
-
-
- Text selection
- /en/pccopy/
- Sat, 23 Apr 2022 00:00:00 +0000
- /en/pccopy/
- Click the following links to install menus for long pressing the button "link":
-Copy selected text with html format to clipboard
-Search with home screen
-google Translate
-bing translate
-deepL
-The file "default.select" defines menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
-[Name]:[mimetype]:[command line]
-[mimetype] specifies input/output for [command line].
-It formats as "[input mimetype]/[output mimetype]".CSS styles
@@ -305,5 +290,20 @@ The "[file extension]" part can have at most two-segment of ex
Swipe left/right near the toolbar to switch window; fling left/right to switch to the last/first window.
Swiping on the top part of content window (near the top address bar by default) triggers corresponding link in the file "default.
+
+ Text selection/processing
+ /en/textprocess/
+ Mon, 01 Jan 0001 00:00:00 +0000
+ /en/textprocess/
+ Click the following links to install menus for long pressing the button "link":
+Copy selected text with html format to clipboard
+Search with home screen
+google Translate
+bing translate
+deepL
+The file "default.select" defines text processing menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
+[Name]:[mimetype]:[command line]
+[mimetype] specifies input/output for [command line].
+
diff --git a/en/bookmark/index.html b/en/bookmark/index.html
index eeec5396..afa417ca 100644
--- a/en/bookmark/index.html
+++ b/en/bookmark/index.html
@@ -60,8 +60,7 @@
"home.css" (in current folder, parent folder or the "bookmark" folder) styles bookmarks, search engines and the folder itself. The file is in html format instead of CSS, so it needs "<style>" tag for CSS.
The search engine (".search") file can be used as bookmarks with secret. Here is an example bookmark for webdav cloud storage (replace "xxx" with real user and password):
-box cloud:POST:type=webdav&url=https://dav.box.com/dav&username=xxx&password=xxx:https://demo.filestash.app/login
+
The internal link "i:a1[url]?[post data]" sends http "POST" request to server.
Commands
Clicking to run is only allowed from local pages for bookmarks in this section. Users need to either save the bookmarks to local or long press the link => "open in new tab" to execute.
To save the bookmarks to local, users firstly need to install "bookmark" menu by clicking corresponding link in the url services page, then long press the bookmark link => "open in new tab" => "Commands" => "bookmark" to save the bookmark.
The file "default.select" defines text processing menus for selected text. If no text is selected, the menu item operates on the whole page. Each line of the file has the following format:
+[Name]:[mimetype]:[command line]
+
[mimetype] specifies input/output for [command line].
+It formats as "[input mimetype]/[output mimetype]".
+[input mimetype] can be the following:
+
+
"html": rich text
+
"" (empty): text
+
".js" file name under configuration folder. The js file is evaluated and its return value is passed to [command line] as standard input.
+
+
[output mimetype] is same as the one defined in "Commands".
+
+
regular mimetype such as "text/html": output as the mimetype
+
"uweb": output as links
+
"uwebA": output as "A" link, all characters including newlines are part of the link.
+
"clip": output to clipboard
+
"termux": output as termux command
+
+
checked.js: Evaluate checked.js and return value as standard input for the command line. For any file url ending with "/", optionally append "?[prefix][[postfix]]". For example, "file:///sdcard/?.png" lists all .png files under the folder "/sdcard". Select files and process them with checked.js(such as "copy to PC" as the later example).
Here we assume that the user PC has IP address as "192.168.2.102".
+To use ssh or scp, users need to install uweb compatible Termux provided on the uweb apk download page, and install openssl under termux (apt install openssl).
+PCs need command "xsel" available to operate on copy/paste.
+
+
+
Last Modified: 1 December 2023
+rename pccopy.md to textprocess.md
+