web: added page with result list format samples

This commit is contained in:
Jean-Francois Dockes 2012-01-25 16:09:48 +01:00
parent 4c382b00b3
commit ff3da0ceda
14 changed files with 300 additions and 46 deletions

View File

@ -1784,6 +1784,10 @@ fvwm
preview link.
</para>
<para>These samples, and some others are
<ulink url="http://www.recoll.org/custom.html">on the web
site, with pictures to show how they look.</ulink></para>
<para>It is also possible to
<link linkend="rcl.search.custom.abssep">
define the value of the snippet separator inside the abstract

264
website/custom.html Normal file
View File

@ -0,0 +1,264 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>RECOLL: contributed result list formata</title>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta name="Author" content="Jean-Francois Dockes">
<meta name="Description" content=
"recoll is a simple full-text search system for unix and linux
based on the powerful and mature xapian engine">
<meta name="Keywords" content=
"full text search, desktop search, unix, linux">
<meta http-equiv="Content-language" content="en">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="All,Index,Follow">
<link type="text/css" rel="stylesheet" href="styles/style.css">
</head>
<body>
<div class="rightlinks">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="pics/index.html">Screenshots</a></li>
<li><a href="download.html">Downloads</a></li>
<li><a href="usermanual/index.html">User manual</a></li>
<li><a href="index.html#support">Support</a></li>
</ul>
</div>
<div class="content">
<h2>Result list paragraph format samples</h2>
<p>The format for paragraphs inside the Recoll GUI result list is
customisable by specifying an html fragment (menu:
<tt>Preferences->Query&nbsp;configuration->User&nbsp;interface->Result&nbsp;paragraph&nbsp;format&nbsp;string</tt>)</p>
<p>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).</p>
<h3>Recoll 1.15 default</h3>
<pre>
<!--
<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>
-->
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src='%I'&gt;&lt;/td&gt;
&lt;td&gt;%R %S %L&amp;nbsp;&amp;nbsp;&lt;b&gt;%T&lt;/b&gt;&lt;br&gt;
%M&amp;nbsp;%D&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;i&gt;%U&lt;/i&gt;&lt;br&gt;
%A %K
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</pre>
<br clear="all">
<img src="resparpics/default.png"/>
<h3>A simpler format, suggested in Bitbucket issue #73</h3>
<pre>
<!--
<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
-->
&lt;img src=&quot;%I&quot; align=&quot;left&quot;&gt;%R %L&amp;nbsp;&amp;nbsp;&lt;b&gt;%T&lt;/b&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;font color=&quot;#808080&quot;&gt;%U&lt;/font&gt;&lt;/i&gt;&amp;nbsp;%i&lt;br&gt;
%A %K
</pre>
<br clear="all">
<img src="resparpics/issue73.png"/>
<h3>Simple+table</h3>
<p>Same format, but using a table to avoid text flowing into the icon
area.</p>
<pre>
<!--
<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>
-->
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src=&quot;%I&quot; align=&quot;left&quot;&gt;&lt;/td&gt;
&lt;td&gt;%R %L&amp;nbsp;&amp;nbsp;&lt;b&gt;%T&lt;/b&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;i&gt;&lt;font color=&quot;#808080&quot;&gt;%U&lt;/font&gt;&lt;/i&gt;&amp;nbsp;%i&lt;br&gt;
%A %K
&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</pre>
<br clear="all">
<img src="resparpics/issue73+table.png"/>
<h3>Using a small font to make the size/date details less obstrusive</h3>
<pre>
<!--
<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>
-->
&lt;table&gt;
&lt;tr&gt;
&lt;td&gt;&lt;img src=&quot;%I&quot; align=&quot;left&quot;&gt;&lt;/td&gt;
&lt;td&gt;&lt;table bgcolor=&quot;#bababa&quot;&gt;
&lt;tr&gt;&lt;td&gt;&lt;div&gt;
&lt;font face=&quot;Tahoma, sans-serif&quot;&gt;&lt;u&gt;&lt;b&gt;&lt;a href=&quot;P%N&quot;&gt;%T&lt;/a&gt;&lt;/b&gt;&lt;/u&gt;&lt;br&gt;
&lt;font color=#008000&gt;%L&lt;/font&gt;&lt;br&gt;
&lt;font color=#510101&gt;%A %K&lt;/font&gt;&lt;br&gt;
&lt;font color=#0100FF&gt;%U&lt;/font&gt;
&lt;p align=&quot;right&quot;&gt;&lt;font size=1&gt;&lt;font color=#000000&gt;%S
&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;&amp;nbsp; %D
&amp;nbsp;&amp;nbsp;&amp;nbsp;-&amp;nbsp;&amp;nbsp;&amp;nbsp; %M&lt;/font&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</pre>
<br clear="all">
<img src="resparpics/detailSmallGreyTable.png"/>
<h3>A very structured table</h3>
<pre>
<!--
<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>
-->
&lt;table border=&quot;1&quot; bgcolor=&quot;lightyellow&quot;&gt;
&lt;tr&gt;
&lt;td rowspan=&quot;4&quot; width=&quot;40px&quot; align=&quot;center&quot; valign=&quot;center&quot;&gt;
&lt;img src=&quot;%I&quot; width=&quot;32&quot; height=&quot;32&quot;&gt;
&lt;p&gt;&lt;b&gt;%R&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;P%N&quot;&gt;Aper&Atilde;&sect;u&lt;/a&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;th colspan=&quot;3&quot; bgcolor=&quot;lightgrey&quot;&gt;%T&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td align=&quot;center&quot;&gt;%M&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;%D&lt;/td&gt;
&lt;td align=&quot;center&quot;&gt;%S&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;3&quot;&gt;&lt;a href=&quot;E%N&quot;&gt;%U&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan=&quot;3&quot;&gt;%A&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
</pre>
<br clear="all">
<img src="resparpics/structuredTable.png"/>
<h3>Web-like from the user manual</h3>
<pre>
<!--
<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>
-->
&lt;u&gt;&lt;b&gt;&lt;a href=&quot;P%N&quot;&gt;%T&lt;/a&gt;&lt;/b&gt;&lt;/u&gt;&lt;br&gt;
%U&lt;br&gt;
%A &lt;font color=#008000&gt;%S&lt;/font&gt; - &lt;a href=&quot;E%N&quot;&gt;Edit&lt;/a&gt;
</pre>
<br clear="all">
<img src="resparpics/weblike.png"/>
<h3>Clean-Looking from the user manual</h3>
<pre>
<!--
<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>
-->
&lt;table&gt;
&lt;tr&gt;&lt;td&gt;&lt;img src=&quot;%I&quot; align=&quot;left&quot;&gt;&lt;/td&gt;
&lt;td&gt;%L &lt;font color=&quot;#900000&quot;&gt;%R&lt;/font&gt; &lt;b&gt;%T&lt;/b&gt;&lt;br&gt;
%S &lt;font color=&quot;#808080&quot;&gt;&lt;i&gt;%U&lt;/i&gt;&lt;/font&gt;
&lt;table bgcolor=&quot;#e0e0e0&quot;&gt;
&lt;tr&gt;&lt;td&gt;&lt;div&gt;%A&lt;/div&gt; %K &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;&lt;/td&gt;
&lt;/table&gt;
</pre>
<br clear="all">
<img src="resparpics/clean.png"/>
</div>
</body>
</html>

View File

@ -46,7 +46,7 @@
<ul>
<li><a href="perfs.html">Index size and indexing performance
data.</a></li>
<li><a href="custom.html">Result list format samples.</a></li>
<li><a href="http://bitbucket.org/medoc/recoll/wiki/FaqsAndHowTos">
Faqs and Howtos</a> are now kept in the
<a href="http://bitbucket.org/medoc/recoll/wiki/">

View File

@ -41,9 +41,8 @@
<td><a href="#source">Source</a></td>
<td><a href="#rpms">Rpm/deb packages</a></td>
<td><a href="BUGS.html">Known bugs</a></td>
<td><a href="#otherbinary">Other binary packages</a></td>
<td><a href="#ports">Bsd and Mac ports</a></td>
<td><a href="#filters">Filters</a> </td>
<td><a href="filters/filters.html">Filters</a> </td>
<td><a href="#translations">Translations</a></td>
</tr>
</tbody>
@ -99,7 +98,11 @@
<p>New and updated filters are sometimes
<a href="filters/filters.html">available</a> before the next
Recoll release.</p>
Recoll release. As far as I know, all current filters are
fully compatible with older Recoll releases (from 1.13), so
you can install new or updated filters on
older Recoll packages and gain new file type support without
destabilizing your search setup.</p>
<h2><a name="source">Source</a></h2>
@ -299,8 +302,8 @@ I now use the OpenSUSE build service to create Recoll OpenSUSE packages.
<h3>Mandriva</h3>
<blockquote>
<p><b>Mandriva linux one 2010 using Qt 4 and the Xapian version
from the Mandriva repository.</b>:
<p>Mandriva linux one 2010 using Qt 4 and the Xapian version
from the Mandriva repository.:
<a href="mandriva2010/recoll-1.16.2-1mdv2010.2.i586.rpm">
recoll-1.16.2-1mdv2010.2.i586.rpm</a>.
Source:
@ -311,6 +314,8 @@ I now use the OpenSUSE build service to create Recoll OpenSUSE packages.
<h2><a name="otherbinary">Binary bundles</a></h2>
<p><i>There are currently no more binary bundles. Section kept as
placeholder</i>.</p>
<p>These are just prebuilt trees (without the source files).
Xapian is statically linked. They still depend on Qt. For
Solaris, you should be able to find a Qt package on
@ -319,16 +324,11 @@ I now use the OpenSUSE build service to create Recoll OpenSUSE packages.
<p><a href="usermanual/rcl.install.html">Installation
instructions here</a>.</p>
<h3>FreeBSD</h3>
<h3><a name="freebsd">FreeBSD</a></h3>
<blockquote>
<p>The FreeBSD ports used to track the Recoll and Xapian releases quite
closely, so there was actually little point in using the
following, but updates have stopped for some time.</p>
<p><b>FreeBSD 7.4 i386 Qt 4.7.3</b> Statically linked to
Xapian 1.2.7 with --disable-sse:
<a href="freebsd/recoll-1.16.2-FreeBSD-7.4-STABLE.tgz">
recoll-1.16.2-FreeBSD-7.4-STABLE.tgz</a>
</p>
<p>The FreeBSD people have succeeded in terminally pissing me
off which is quite hard to do. There will be no more FreeBSD
support on this site.</p>
</blockquote>
<h3>Solaris</h3>
@ -342,28 +342,8 @@ I now use the OpenSUSE build service to create Recoll OpenSUSE packages.
<h2><a name="ports">Ports</a></h2>
<h3>FreeBSD ports</h3>
<p>There are ports for both xapian-core
and recoll in the standard tree, you may just need to update
your ports (cvsup, portsnap), or you can get the ports from
the FreeBSD site.
<a href="http://cvsweb.freebsd.org/ports/databases/xapian-core">
xapian port</a>
<a href="http://cvsweb.freebsd.org/ports/deskutils/recoll">
recoll port</a>.
</p>
<p class="important">The ports in the standard FreeBSD tree
have been stuck to older xapian and recoll versions for
obscure reasons (the patches for xapian 1.2 have been in the
bug report system for months). As frustrated maintainer of the
FreeBSD Xapian and Recoll ports, I hereby make
available <a href="files/xapian+recoll-ports.tgz">the
port directories </a>that should be in the port tree if the world
was perfect. Just extract this anywhere and <em>make</em>
away!
</p>
<h3>FreeBSD</h3>
<p><a href="#freebsd">See above</a>.</p>
<h3>Mac port</h3>
<p>It seems that Recoll will sometimes find data that Spotlight

View File

@ -76,12 +76,11 @@
<h2><a name="systems">Supported systems</a></h2>
<p><span class="application">Recoll</span> has been compiled
and tested on FreeBSD, Linux, Darwin and Solaris (initial
versions FreeBSD 5, Redhat 7, Fedora Core 5, Suse 10, Gentoo,
Debian 3.1, Solaris 8). It should compile and run on all
subsequent releases of these systems and probably a few
others too.</p>
<p><span class="application">Recoll</span> has been compiled and
tested on Linux, Darwin and Solaris (initial versions Redhat 7,
Fedora Core 5, Suse 10, Gentoo, Debian 3.1, Solaris 8). It
should compile and run on all subsequent releases of these
systems and probably a few others too.</p>
<p>Qt versions from 3.1 to 4.7</p>
@ -164,7 +163,7 @@
<li><span class="literal">Powerpoint</span> and <span
class="literal">Excel</span> with the <a href=
"http://catdoc.klik.atekon.de">catdoc</a> utilities.</li>
"http://vitus.wagner.pp.ru/software/catdoc/">catdoc</a> utilities.</li>
<li><span class="literal">CHM (Microsoft help)</span> files
with <span class="command">Python, <a href="http://gnochm.sourceforge.net/pychm.html">pychm</a>

View File

@ -80,7 +80,14 @@
format the data, but will at least let you find it...</p>
<h2>Gnumeric</h2>
<p><a href="rclgnm">rclgnm</a>. Needs xsltproc and gunzip.</p>
<p><a href="rclgnm">rclgnm</a>. Needs xsltproc and
gunzip. As <tt>.gnumeric</tt> was in the list of
explicitely ignored suffixes, you can't just add the mime
and indexer script lines to your local mimemap and mimeconf, you
also need to define recoll_noindex in the local mimemap (to
override the system one which
contains <tt>.gnumeric</tt>). The simplest approach may be to
just replace the system files with those above.</p>
<h2>Rar archive support</h2>
<p><a href="rclrar">rclrar</a>. This is up to date in Recoll

View File

@ -64,7 +64,7 @@
tips</a> might prove useful ! Also the
<a href="http://bitbucket.org/medoc/recoll/wiki/FaqsAndHowTos">
Faqs and Howtos</a> on bitbucket.org, and some contributed
customisation/beautification tricks .</p>
<a href="custom.html">result list formats</a>.</p>
<h2>News: </h2>

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB