[recoll-user] my HTML code for the search results

Hello,

I use the following HTML code to display the search in Recoll:

<!-- HTML CODE BEGINS -->
<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>
<!-- HTML CODE ENDS -->

I attached to this message a corresponding screenshot.

To my opinion, the results are a clearer when displayed that way.

The problem with the code is that the word "Aperçu" ("Preview") is
hard-coded. So it is not translated. If you want to use that HTML code,
you will have treat that issue.

Cordially,

Michaël


P.S.: the HTML code has been indented to be more readable.


PNG image

Other related posts: