I'm trying to add a very simple google custom search engine to a web app, 
however the caja filter google is using doesn't recognize the gcse tag, 
what should I do?  This is the code I tested with http://caja.appspot.com/ :

<!DOCTYPE html>
<html>
<head>
</head>
<body>
  <div>
    <gcse:searchbox></gcse:searchbox>
</div>

<div>
    <gcse:searchresults></gcse:searchresults>
</div>
  <script>
(function() {
  var cx = '017643444788069204610:4gvhea_mvga'; // Insert your own Custom 
Search engine ID here
  var gcse = document.createElement('script'); gcse.type = 'text/javascript'
; gcse.async = true;
  gcse.src = (document.location.protocol == 'https' ? 'https:' : 'http:') +
      '//www.google.com/cse/cse.js?cx=' + cx;
  var s = document.getElementsByTagName('script')[0]; s.parentNode.
insertBefore(gcse, s);
})();
  </script>
</body>
</html>​​​​​​

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to