Gossamer Forum
Home : Products : Links 2.0 : Customization :

How does Links sort the results? How can I hilight "top 3" sites in category like AV?

Quote Reply
How does Links sort the results? How can I hilight "top 3" sites in category like AV?
Newbie installing Links to http://camcities.com/

I'd like to know how does Links exactly sorts the results.

And also, (as seen on Altavista) a way to make a Top 3 sites appear ALWAYS on top of a search result and/or if some1 clicks on NorthAmerica->USA->California, display top 3 sites selected by me, always the same ones in the same order, and after that, the rest of the sites.

How could I achieve that?

Thanks!

------------------
Alex Tutusaus
Atyc WebDesigns
http://www.webcamworld.com/
Quote Reply
Re: How does Links sort the results? How can I hilight "top 3" sites in category like AV? In reply to
I can answer this part:

Quote:
I'd like to know how does Links exactly sorts the results.

In db_utils.pl, you will find this:

Quote:
sub build_sorthit {
# --------------------------------------------------------
# This function sorts a list of links. It has been modified to sort
# new links first, then cool links, then the rest alphabetically. By modifying
# the sort function below, you can sort the links however you like (by date,
# or random, etc.).

I hope this helps.

[This message has been edited by Bobsie (edited June 17, 1999).]
Quote Reply
Re: How does Links sort the results? How can I hilight "top 3" sites in category like AV? In reply to
Bobsie,


Thank you for this answer and all of the rest you've made recently to me.


Let's see if someone else can answer my second question. Anyone?

Thanks!


------------------
Alex Tutusaus
Atyc WebDesigns
http://www.webcamworld.com/
Quote Reply
Re: [Bobsie] How does Links sort the results? How can I hilight "top 3" sites in category like AV? In reply to
is there a way to sort results by number of characters in description ...

thanx

Gregor