<div class="gmail_quote">On Sat, Jan 15, 2011 at 5:53 PM, Benjamin Poulain <span dir="ltr"><<a href="mailto:ikipou@gmail.com">ikipou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
<div style="font-family:Verdana, Arial, Helvetica, Sans-Serif"><div class="im">
<table style="border:1px #c9c399 solid" bgcolor="#f9f3c9" cellpadding="8" width="100%">
<tbody><tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/100396/" target="_blank">http://git.reviewboard.kde.org/r/100396/</a>
</td>
</tr>
</tbody></table>
<br>
</div><div>
<table style="border:1px solid #C0C0C0;border-collapse:collapse" bgcolor="white" border="0" width="100%">
<thead>
<tr>
<th colspan="4" style="border-bottom:1px solid #C0C0C0;font-size:9pt;padding:4px 8px;text-align:left" bgcolor="#F0F0F0">
<a href="http://git.reviewboard.kde.org/r/100396/diff/1/?file=7140#file7140line79" style="color:black;font-weight:bold;text-decoration:underline" target="_blank">src/history/historymanager.h</a>
<span style="font-weight:normal">
(Diff revision 1)
</span>
</th>
</tr>
</thead>
<tbody style="background-color:#e4d9cb;padding:4px 8px;text-align:center">
<tr>
<td colspan="4"><pre style="font-size:8pt;line-height:140%;margin:0">public:</pre></td>
</tr>
</tbody>
<tbody>
<tr>
<th style="border-right:1px solid #C0C0C0" align="right" bgcolor="#e9eaa8"><font size="2">79</font></th>
<td bgcolor="#fdfebc" width="50%"><pre style="font-size:8pt;line-height:140%;margin:0"> <span>return</span> <span>dateTime</span> <span>></span> <span>other</span><span>.</span><span>dateTime</span><span>;</span></pre>
</td>
<th style="border-left:1px solid #C0C0C0;border-right:1px solid #C0C0C0" align="right" bgcolor="#e9eaa8"><font size="2">79</font></th>
<td bgcolor="#fdfebc" width="50%"><pre style="font-size:8pt;line-height:140%;margin:0"> <span>return</span><span> </span><span><span>visitCount</span></span><span> </span><span><span>></span></span><span> </span><span><span>other</span></span><span><span>.</span></span><span><span>visitCount</span></span><span> </span><span><span>&&</span></span> <span>dateTime</span> <span>></span> <span>other</span><span>.</span><span>dateTime</span><span>;</span></pre>
</td>
</tr>
</tbody>
</table>
<pre style="margin-left:2em;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word">Just an idea...
What about a weigthed sum of both to determine the order?
With an absolute measure of either one you can end up in those situations:
priority visit: a web site visited 3 times 2 months ago will appear before something you saw yersterday
priority date: something you saw yesterday appear before something you look every day
So it might be nice to take both into account?</pre>
</div>
<br>
<p>- Benjamin</p><div class="im">
<br>
<p>On January 15th, 2011, 8:23 p.m., Lionel Chauvin wrote:</p>
</div><table style="background-repeat:repeat-x;border:1px black solid" bgcolor="#fefadf" cellpadding="8" cellspacing="0" width="100%">
<tbody><tr>
<td><div class="im">
<div>Review request for rekonq.</div>
<div>By Lionel Chauvin.</div>
</div><p style="color:grey"><i>Updated Jan. 15, 2011, 8:23 p.m.</i></p><div class="im">
<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Description </h1>
<table style="border:1px solid #b8b5a0" bgcolor="#ffffff" cellpadding="10" cellspacing="0" width="100%">
<tbody><tr>
<td>
<pre style="margin:0;padding:0;white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word">Items in the completionlist are sorted by visit count instead of last visit date</pre>
</td>
</tr>
</tbody></table>
<h1 style="color:#575012;font-size:10pt;margin-top:1.5em">Diffs </h1>
<ul style="margin-left:3em;padding-left:0">
<li>src/history/historymanager.h <span style="color:grey">(a4099de)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/100396/diff/" style="margin-left:3em" target="_blank">View Diff</a></p>
</div></td>
</tr>
</tbody></table>
</div>
</div>
<br>_______________________________________________<br>
rekonq mailing list<br>
<a href="mailto:rekonq@kde.org">rekonq@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/rekonq" target="_blank">https://mail.kde.org/mailman/listinfo/rekonq</a><br>
<br></blockquote></div><br><br>Another possibility would be to have each visit weighted by how long ago it was, so more recent visits count more than visits a long time ago. So 1 visit today would count more to the ranking than 20 visits a year ago. It would probably be something like an exponential decay, so something you just visited a few minutes ago would be ranked very highly, while there wouldn't much difference between a site you visited 3 years ago and a site you visited 4 years ago.<br>
<br>-Todd<br>