Pretty Search Results

Something that I do quite commonly is link to a search result. This might be linking to a collection, linking to a subject heading, linking to multiple subject headings, or linking to something that is heavily faceted.

This can often leave a less then desirable title on the page. Take this example. I started with an Advanced search for language of Italian. I’ve then faceted by format DVD, and by Italian as a primary language (as opposed to English materials with Italian subtitles).

Screen Shot Of Result Before Changes

This is a pretty cool link to have on a page for newcomers, or a page for ESL patrons. You’ll notice though, that the page’s title ends up being the initial advanced search string: language:”ita”. Not very useful.

To make this more user friendly, all you need to do as append a title parameter to the URL. Your browser will likely replace spaces with %20 characters automatically, so you’ll want to visit the page before using it for a link. Here is the end result of the example search, with a nice title.

Screen Shot Of Example With New Title

For me, it’s always been the small details that make or break a website’s design, but for some, this bit of accessibility will make a world of difference for their experience. This quick one will help with both of those for your site!

5 Responses to “Pretty Search Results”

  1. Nathan Says:

    Very cool! I had no idea that you could affect the page titles of search results. I’ve really enjoyed your BiblioCommons posts!

  2. cdunne Says:

    Glad it’s helping, Nathan. Thanks for the feedback, and thanks for reading!

  3. Mike Says:

    I can use that feature to make bad words appear in your opac! 😛

  4. cdunne Says:

    You can, but then, you’d be the only one to see them. It’s still not as fun as the suggested spelling’s for Focker in your OPAC!

  5. Mike Says:

    True that.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>