Search Prototype
From:
Michael JasonSmith
Date:
2007 Jul 13 05:30 UTC
Short link
The search-prototype is now generating the latest topics-list on the homepage
of GroupServer.Org
http://groupserver.org/index.html
For performance reasons, the latest-topics list is loaded after the rest of the
page, using AJAX magic, thanks to the Prototype JavaScript library. I have
tested it in Firefox, Internet Explorer, and Opera, and it gets a "works for
me" :)
Each entry in the latest-topics list contains three lines, and was designed to
look similar to Google, Yahoo! and MSN.
The topic-title is first. If the topic contains posts with files, then the
file-icons are listed after the topic title. This gives a very quick way of
seeing which topics that contain files, and which topics contain a particular
file-type. The icons themselves link to the post, in the topic, that contains
the file.
The next line lists the tags (alias keywords) in the topic. As before, the tags
are automatically generated, and are listed in order of importance. Richard has
performed some optimisation miracles to get the tag generation quick as
possible.
The final line contains the rest of the metadata related to the topic: the
group that contains the topic, the size of the topic, the name of the last user
who posted, and the date of the last post. The date is a mess — to be frank.
Richard and I plan to attack dates with the Stick of Internationalisation on
Monday (NZST).