Recoll result list customising exemples
+The Recoll result list is actually made of html text displayed inside a Qt Widget. In all Recoll versions, you can specify the format for the list entries: what data is @@ -89,23 +90,52 @@ a:hover .PZ3cap { padding:3px 5px; }
As of Recoll 1.17, the result list is by default a WebKit object (WebKit is the basis for several major browsers), which - yields full CSS and even Javascript support. For these - versions you can specify both the individual result format and - code to be included in the html header (ie: CSS or - Javascript).
+ yields full CSS and even Javascript support.New in Recoll 1.17: the WebKit result list
-With WebKit, things that used to not work are now - possible. The exemple which follow are probably not generally - very useful (else they'd be included in the standard Recoll), - but they provide samples of what can be done, and may be of use - anyway.
+For newer Recoll versions, you can specify the + individual result format, as for previous versions. You can + also define code to be included in the HTML + header (ie: CSS or Javascript), using + Preferences->Query Configuration->Result List->Edit result page html header insert
+ +This, plus the full Javascript and CSS support in WebKit, + open a world of possibilities for result list formatting and + even behaviour.
+ +The examples which follow are probably not generally + very useful but they show the kinds of things you can do, if + you can use Javascript/CSS which is not my case.
+ +Using the icons as links
You can now make the list icons links that activate the preview or open action (or the document url which you can then - drag/drop to other windows) (turning images into links did - not work with QTextBrowser).
+ drag/drop to other windows). Using images as links did + not work with QTextBrowser. + +Alternating result backgrounds
+Using the following Javascript inside the header will yield + alternating backgrounds for the results:
+ +
+<script type="text/javascript">
+function altRows() {
+ var rows = document.getElementsByClassName("rclresult");
+ for (i = 0; i < rows.length; i++) {
+ if (i % 2 == 0) {
+ rows[i].style.backgroundColor = "#d4e3e5";
+ }
+ }
+}
+
+window.onload = function() {
+ altRows();
+}
+</script>
+
+
Zooming the paragraph font size
If you are using a format with small fonts, it may be useful @@ -114,9 +144,9 @@ a:hover .PZ3cap { padding:3px 5px; } format, which is a table- would be to include the following code in the header:
-<STYLE type="text/css">
-table:hover {font-size: 130%;}
-</STYLE>
+<style type="text/css">
+ table:hover {font-size: 130%;}
+</style>
Of course, the selector should be adapted to your own @@ -181,7 +211,7 @@ table:hover {font-size: 130%;} -
Result list paragraph format samples
+Result list paragraph format samples (for all versions)
The format for paragraphs inside the Recoll GUI result list is customisable by specifying an html fragment (menu: diff --git a/website/download.html b/website/download.html index 08eb33bc..e9486088 100644 --- a/website/download.html +++ b/website/download.html @@ -340,10 +340,13 @@ I now use the OpenSUSE build service to create Recoll OpenSUSE packages.
Solaris
-I did not test building on Solaris for this version. You will - need at least Qt 4.4. The old hints +
I did not test building the GUI on Solaris for this version. You + will need at least Qt 4.4. The old hints in the previous page may still be valid.
+Someone did test the indexer and Python module build, they + do work, with a few minor glitches. Be sure to use + GNU make and install.