When the idea of Timeline came into my head, a comprehensive and intuitive search function was already central to it. I’d done no work on this aspect of the project before now, partly because there were certain aspects of the site and database structure which had to be set out first, and partly because it was the kind of thing which needed to evolve and be fully-formed in my mind before I started coding it.
Searching, to state the mildly obvious, is how the user of Timeline discovers new stuff. The search function needs to allow the user to discover if people whom he or she knows are on Timeline, which necessitates a sensible way to find members. It also needs to work well when the user is searching for keywords and expecting to find relevant images and timelines. The search is the portal to all of Timeline’s content; the search is a big part of what keeps people engaged. So it has to be engaging.
The search can be accessed whether you’re logged in or not, both from the front page (what I call the ‘public search’) and from the ‘find timelines’ section once logged in. At the moment, these two methods present the same results; in the future, search results will probably be tailored to a user’s wishes when he or she is logged in. Image data and timeline data are searched, as well as members’ usernames and actual names.
Here is how image results are presented (the timeline and user searches aren’t finished yet):

(Two important things that we’re still missing are pagination and the ability to sort results by name and popularity. Those are coming soon.)
Like many aspects of the site, developing the search was all about finding a way to present information in a clean and attractive manner. I spent a disproportionate amount of time figuring out how to give the preview images curved edges in a way that worked across all browsers. After that, I set about organising the information on display. The search results use a similar colour scheme to that employed on the home page; specifically, the eye-catching colour which I call ‘Timeline orange’ is used for titles (the most important information), with blue for user names and slightly less important information and grey for auxilary information. The fonts got a lot of attention too. Georgia, the serif font employed for titles, conveys a suitable sense of authority and grandeur; usernames are displayed in the softer and more personable Calibri (reverting to the similar Tahoma when that’s not available.) And all other information is in Tahoma, because it’s readable at small sizes.
We also have coloured highlights when an image is moused over, accomplished through the wonderful JQuery, and view counts, which called for a bit of background work so that Timeline would track this information. And don’t miss the list of popular searches, which is perpetually updated and displayed on the main search page and when a query returns no results. There’s more to come.
If your appetite for August Timeline updates is not yet sated, scroll down for more.