Skip to content

Instantly share code, notes, and snippets.

@shdbwa
Last active June 10, 2021 12:16
Show Gist options
  • Save shdbwa/595ca8c0c63b36de24026a4826be2cba to your computer and use it in GitHub Desktop.
Save shdbwa/595ca8c0c63b36de24026a4826be2cba to your computer and use it in GitHub Desktop.
Recoll config
<head>
<meta charset="UTF-8">
</head>
<table class="tg">
<tbody>
<tr>
<td class="tg-lboi" rowspan="3"><a href='%u'><img src='%I' width='96'></a></td>
<td class="tg-0pky"style="color:rgb(231, 159, 222);font-weight: bold;font-size: x-large;font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;">%T</td>
</tr>
<tr>
<td class="tg-0pky" style="color:rgb(250, 167, 94)">%M</td>
</tr>
<tr>
<td class="tg-0pky" style="color:skyblue">%S</td>
</tr>
<tr>
<td class="tg-0pky" colspan="2" style="font-weight: bold;">%P &nbsp<span style="color: lightpink;"> %i</span></td>
</tr>
<tr>
<td class="tg-0pky" colspan="2">%L</td>
</tr>
<tr>
<td class="tg-0pky" colspan="2">%A</td>
</tr>
<tr>
<td id="keyword" class="tg-0pky" colspan="2" >%K</td>
</tr>
</tbody>
</table>
<br>
<br>
<style type="text/css">
* {color:ivory;}
keyword {color: red;}
.tg {border-collapse:collapse;border-spacing:0;}
.tg td{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;overflow:hidden;padding:10px 5px;word-break:normal;}
.tg th{border-color:black;border-style:solid;border-width:1px;font-family:Arial, sans-serif;font-size:14px;font-weight:normal;overflow:hidden;padding:10px 5px;word-break:normal;}
.tg .tg-lboi{border-color:inherit;text-align:left;vertical-align:middle}
.tg .tg-0pky{border-color:inherit;text-align:left;vertical-align:top}
.tg {width: auto !important;}.tg col {width: auto !important;}.tg-wrap {overflow-x: auto;-webkit-overflow-scrolling: touch;}
</style>
# table generated with: [ https://www.tablesgenerator.com/html_tables ]
# highlight css stylez for query terms: [ color: mediumspringgreen; font-weight: bold; ]
# abstract snippet separator: [ <br> ]
######
HELP
######
%A. Abstract
%D. Date
%I. Icon image name. This is normally determined from the MIME type.
The associations are defined inside the mimeconf configuration file.
If a thumbnail for the file is found at the standard Freedesktop location,
this will be displayed instead.
%K. Keywords (if any)
%L. Precooked Preview, Edit, and possibly Snippets links
%M. MIME type
%N. result Number inside the result page
%P. Parent folder Url. In the case of an embedded document, this is the parent folder for the top level container file.
%R. Relevance percentage
%S. Size information
%T. Title or Filename if not set.
%t. Title or empty.
%(filename). File name.
%U. Url
%D. Document date
%f. File name. This may be the name of a temporary file if it was necessary to create one (ie: to extract a subdocument from a container).
%i. Internal path, for subdocuments of containers. The format depends on the container type.
If this appears in the command line, Recoll will not create a temporary file to extract the subdocument,
expecting the called application (possibly a script) to be able to handle it.
%M. MIME type
%p. Page index. Only significant for a subset of document types, currently only PDF, Postscript and DVI files. Can be used to start the editor at the right page for a match or snippet.
%s. Search term. The value will only be set for documents with indexed page numbers (ie: PDF). The value will be one of the matched search terms. It would allow pre-setting the value in the "Find" entry inside Evince for example, for easy highlighting of the term.
%u. Url.
@shdbwa
Copy link
Author

shdbwa commented Jun 10, 2021

Screenshot_17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment