diff --git a/src/doc/user/usermanual.sgml b/src/doc/user/usermanual.sgml index 8c323c5c..5e8dee3e 100644 --- a/src/doc/user/usermanual.sgml +++ b/src/doc/user/usermanual.sgml @@ -1784,6 +1784,10 @@ fvwm preview link. + These samples, and some others are + on the web + site, with pictures to show how they look. + It is also possible to define the value of the snippet separator inside the abstract diff --git a/website/custom.html b/website/custom.html new file mode 100644 index 00000000..892c42f6 --- /dev/null +++ b/website/custom.html @@ -0,0 +1,264 @@ + + + + + RECOLL: contributed result list formata + + + + + + + + + + + + + + + + +
+

Result list paragraph format samples

+ +

The format for paragraphs inside the Recoll GUI result list is + customisable by specifying an html fragment (menu: + Preferences->Query configuration->User interface->Result paragraph format string)

+ +

Here follow some sample formats. Most of them were contributed by + kind users, and I'll be happy to show their names if they so + wish (abstaining by default).

+ +

Recoll 1.15 default

+
+
+
+<table>
+  <tr>
+   <td><img src='%I'></td>
+   <td>%R %S %L&nbsp;&nbsp;<b>%T</b><br>
+     %M&nbsp;%D&nbsp;&nbsp;&nbsp;<i>%U</i><br>
+     %A %K
+    </td>
+  </tr>
+</table>
+
+ +
+ + +

A simpler format, suggested in Bitbucket issue #73

+ +
+
+<img src="%I" align="left">%R %L&nbsp;&nbsp;<b>%T</b><br>
+&nbsp;&nbsp;<i><font color="#808080">%U</font></i>&nbsp;%i<br>
+%A %K
+
+
+ + + +

Simple+table

+ +

Same format, but using a table to avoid text flowing into the icon +area.

+ +
+
+<table>
+  <tr>
+    <td><img src="%I" align="left"></td>
+    <td>%R %L&nbsp;&nbsp;<b>%T</b><br>
+            &nbsp;&nbsp;<i><font color="#808080">%U</font></i>&nbsp;%i<br>
+            %A %K
+    </td>
+  </tr>
+</table>
+
+
+ +
+ + + + +

Using a small font to make the size/date details less obstrusive

+ +
+
+<table>
+  <tr>
+    <td><img src="%I" align="left"></td>
+    <td><table bgcolor="#bababa">
+        <tr><td><div>
+              <font face="Tahoma, sans-serif"><u><b><a href="P%N">%T</a></b></u><br>
+                <font color=#008000>%L</font><br>
+                <font color=#510101>%A %K</font><br>
+                <font color=#0100FF>%U</font>
+                <p align="right"><font size=1><font color=#000000>%S
+                      &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp; %D
+                      &nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp; %M</font></p>
+        </div></td></tr>
+    </table></td>
+  </tr>
+</table>
+
+ +
+ + + +

A very structured table

+ +
+
+<table border="1" bgcolor="lightyellow">
+  <tr>
+    <td rowspan="4" width="40px" align="center" valign="center">
+      <img src="%I" width="32" height="32">
+      <p><b>%R</b></p>
+      <p><a href="P%N">Aperçu</a></p>
+    </td>
+    <th colspan="3" bgcolor="lightgrey">%T</th>
+  </tr>
+  <tr>
+    <td align="center">%M</td>
+    <td align="center">%D</td>
+    <td align="center">%S</td>
+  </tr>
+  <tr>
+    <td colspan="3"><a href="E%N">%U</a></td>
+  </tr>
+  <tr>
+    <td colspan="3">%A</td>
+  </tr>
+</table>
+
+
+ + + +

Web-like from the user manual

+ +
+
+<u><b><a href="P%N">%T</a></b></u><br>
+%U<br>
+%A <font color=#008000>%S</font> - <a href="E%N">Edit</a>
+
+
+ + + +

Clean-Looking from the user manual

+ +
+
+<table>
+  <tr><td><img src="%I" align="left"></td>
+    <td>%L <font color="#900000">%R</font> <b>%T</b><br>
+      %S <font color="#808080"><i>%U</i></font>
+      <table bgcolor="#e0e0e0">
+        <tr><td><div>%A</div> %K </td></tr>
+    </table></td>
+</table>
+
+
+
+ + + + +
+ + + diff --git a/website/doc.html b/website/doc.html index fcffad53..633d3a25 100644 --- a/website/doc.html +++ b/website/doc.html @@ -46,7 +46,7 @@