1
0
Fork 0

- update documentation.

This commit is contained in:
cage 2024-06-15 17:44:19 +02:00
parent d65b98499c
commit 824e89883a
2 changed files with 127 additions and 0 deletions

View File

@ -575,6 +575,12 @@ thread-search-next-message-body
\fB/ m \fP \fB/ m \fP
thread-search-next-message-meta thread-search-next-message-meta
.TP .TP
\fB/ q \fP
search-fediverse
.TP
\fB/ Q \fP
search-fediverse-local (see: \fIFediverse local search\fP)
.TP
\fBC-J (key \fIenter\fP)\fP \fBC-J (key \fIenter\fP)\fP
thread-open-selected-message thread-open-selected-message
.TP .TP
@ -752,6 +758,79 @@ refresh-thread
\fB| \fP \fB| \fP
send-message-to-pipe send-message-to-pipe
.SS "Fediverse local search"
.PP
The database containing posts fetched from the server can be searched using a simple query language (loosely similar to SQL) example of query follows:
.RS
.nf
\fC
where rendered-text like "calvino" and username like "cage"
where rendered-text like "calvino" and (username like "cage" or rebblogged =1)
\fP
.fi
.RE
.PP
Valid search keys are:
.IP \(em 4
account-id;
.IP \(em 4
account;
.IP \(em 4
application;
.IP \(em 4
content;
This columns holds the original content of the post in HTML format;
.IP \(em 4
favourited;
.IP \(em 4
favourites-count;
.IP \(em 4
folder;
.IP \(em 4
language;
.IP \(em 4
muted;
Boolean value: 0 or 1;
.IP \(em 4
reblogged;
.IP \(em 4
reblogs-count;
.IP \(em 4
redp;
.IP \(em 4
rendered-text;
This columns holds the content of the post as displayed on the program window;
.IP \(em 4
replies-count;
.IP \(em 4
sensitive;
Boolean value: 0 or 1;
.IP \(em 4
spoiler-text;
.IP \(em 4
status-id;
.IP \(em 4
tags;
.IP \(em 4
timeline;
.IP \(em 4
uri;
the address of the post in JSON format
.IP \(em 4
url;
The internet address of the HTML representation of the post;
.IP \(em 4
username;
.IP \(em 4
visibility.
.SS "Posts window" .SS "Posts window"
.TP .TP
\fB/ \fP \fB/ \fP

View File

@ -343,6 +343,8 @@
- ^ :: thread-open-parent-post - ^ :: thread-open-parent-post
- / b :: thread-search-next-message-body - / b :: thread-search-next-message-body
- / m :: thread-search-next-message-meta - / m :: thread-search-next-message-meta
- / q :: search-fediverse
- / Q :: search-fediverse-local (see: [[Fediverse local search]])
- C-J (key /enter/) :: thread-open-selected-message - C-J (key /enter/) :: thread-open-selected-message
- C-X m b :: boost-selected-status - C-X m b :: boost-selected-status
- C-X m f :: favourite-selected-status - C-X m f :: favourite-selected-status
@ -403,6 +405,52 @@
- x :: refresh-thread - x :: refresh-thread
- | :: send-message-to-pipe - | :: send-message-to-pipe
*** Fediverse local search
The database containing posts fetched from the server can be searched using a simple query language (loosely similar to SQL) example of query follows:
#+BEGIN_SRC text
where rendered-text like "calvino" and username like "cage"
where rendered-text like "calvino" and (username like "cage" or rebblogged =1)
#+END_SRC
Valid search keys are:
- account-id;
- account;
- application;
- content;
This columns holds the original content of the post in HTML format;
- favourited;
- favourites-count;
- folder;
- language;
- muted;
Boolean value: 0 or 1;
- reblogged;
- reblogs-count;
- redp;
- rendered-text;
This columns holds the content of the post as displayed on the program window;
- replies-count;
- sensitive;
Boolean value: 0 or 1;
- spoiler-text;
- status-id;
- tags;
- timeline;
- uri;
the address of the post in JSON format
- url;
The internet address of the HTML representation of the post;
- username;
- visibility.
** Posts window ** Posts window
- / :: message-search-regex - / :: message-search-regex