On Sat, Jan 15, 2011 at 5:53 PM, Benjamin Poulain <[email protected]> wrote:

>    This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/100396/
>    
> src/history/historymanager.h<http://git.reviewboard.kde.org/r/100396/diff/1/?file=7140#file7140line79>
>  (Diff
> revision 1)
>
> public:
>
>   79
>
>         return dateTime > other.dateTime;
>
>  79
>
>         return visitCount > other.visitCount && dateTime > other.dateTime;
>
>   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?
>
>
> - Benjamin
>
> On January 15th, 2011, 8:23 p.m., Lionel Chauvin wrote:
>   Review request for rekonq.
> By Lionel Chauvin.
>
> *Updated Jan. 15, 2011, 8:23 p.m.*
> Description
>
> Items in the completionlist are sorted by visit count instead of last visit 
> date
>
>   Diffs
>
>    - src/history/historymanager.h (a4099de)
>
> View Diff <http://git.reviewboard.kde.org/r/100396/diff/>
>
> _______________________________________________
> rekonq mailing list
> [email protected]
> https://mail.kde.org/mailman/listinfo/rekonq
>
>

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.

-Todd
_______________________________________________
rekonq mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/rekonq

Reply via email to