Whole words only
Showing posts with label head file. Show all posts
Showing posts with label head file. Show all posts

Thursday, November 10, 2011

New way to control format of search results

As an alternative to using Head and Tail files to control the appearance of search results, you can now use a template file on your website. The benefit of using a template file are

  • The file is processed by your webserver, so some server-side processing like includes and scripts are usable.
  • The file is read by Blossom each day, so changes you make to the template are automatically reflected in your search results.

For details on using Template Files, please consult the Search Guide section Output Format.

Tuesday, July 6, 2010

Alternate Head and Tail files

You can now have multiple search result formats for one index: the defaultformat and an alternate format used when the "/alt" option is added to the search URL. Use the alternate format to provide a context-sensitive format, such as for a mobile device, or use it to test out a new design.

The format is controlled by Head and Tail files setable from the Search Configuration page (follow the link Search Results Format). There are now two sets of Head and Tail files, the default set and the alternate set.