Build Custom Search Filterred by Cascade Content Metadata

Allie's Avatar

Allie

29 Jul, 2010 05:17 PM

Hi there,
Cascade offers metadata for tagging and indexing content within the system. How do I leverage such rich set of information to build a custom user-facing search feature? For example, providing multiple drop-down lists on a web search page so that visitors can set up search parameters, which are based on Cascade's metadata fields. Any thoughts on this would be greatly appreciated!
-Allie

  1. 1 Posted by Penny on 04 Aug, 2010 08:56 PM

    Penny's Avatar

    Using Cascade, two ways come to mind. Both use an Index Block of the entire site and a format. Using these you can create an XML page of pages and corresponding keywords or a Javascipt file with an array of pages and their corresponding keywords.

    You can then write custom Javascript to parse these files depending on the search term entered by users. You could even write code that would do the type ahead if it recognized the keyword from your Javascript array or XML file.

  2. 2 Posted by Allie on 12 Aug, 2010 12:41 PM

    Allie's Avatar

    Thanks, Penny. I am also thinking of publishing an xml page populated from an index block of the entire site, and then the search form invokes a custom php script that parses through the xml page based on keywords and/or any other Cascade (custom) metadata, such as content weight or promotion status, content type, etc.

  3. Tim closed this discussion on 12 Aug, 2010 01:28 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac