Categories: Indexing and Results :

How to filter or refine search by dynamic meta tag?

Showing 1-1 of 1 messages
How to filter or refine search by dynamic meta tag? MathiasR 5/21/12 2:55 AM
We have delivered a public web site that is based on our CMS. In the CMS the author can select several classification for a content (ie. target audience, content theme, etc). The author selects the classifications from a list so they alternatives are known but new can be easily added, existing renamed or even removed.

We can easily show the selected classifications as meta tags or pagemap -objects on the pages, e.g.
<meta name="Target audience" content="seniors, families">
<meta name="Content theme" content="music">
or
<PageMap>
  <DataObject type="document">
    <Attribute name="Target audience">seniors</Attribute>
    <Attribute name="Target audience">families</Attribute>
    <Attribute name="Content theme">music</Attribute>
  </DataObject>
</PageMap>


We are using the javascript-based google custom search box on a site. The customer would like for users to be able to filter the search results (quite like refinements) based on the classification. So when a user has done a search, the google search box would show Target Audiences and Content themes that the results can be filter by.

How should the classifications be represented and how can I configure the search box to do this?