function ddg_spice_brainy_quote (api_result) {
    if (api_result.error) return;

    Spice.render({
         data              : api_result,
         force_big_header  : true,
         header1           : api_result.header1,
         source_name       : api_result.source_name, // More at ...
         source_url        : api_result.source_url,
         template_normal   : 'brainy_quote',
    });
}

function ddg_spice_brainy_quote (api_result) {
    if (api_result.error) return;

    // Check if the result is a category search or not.
    // We'll know that if the author is specified in the JSON response.
    if(api_result.author) {
	return;
    }

    Spice.render({
         data              : api_result,
         force_big_header  : true,
         header1           : api_result.header1,
         source_name       : api_result.source_name, // More at ...
         source_url        : api_result.source_url,
         template_normal   : 'brainy_quote',
	 force_no_fold     : true
    });
}

Check if the result is a category or not.
BrainyQuote: Check if the result is a category or not.

Queries such as "quote mining", "financial quotations", or "lame quotes" should not show up.
