View Single Post
velox's Avatar
Posts: 394 | Thanked: 1,341 times | Joined on Dec 2009
#12
I've just had another look at the new Custom Search:
A simple Integration is really trivial with access to the page html, in fact, I have set up one with my account as a test, including some maemo-esque colours. But as I am not a member or representative of Maemo e.V., I don't think that's useful (there seem to be a few search statistics like "top search phrases" to which I would have access).

For a registered non-profit, a free version without ads is available, that might be a nice thing to have. https://www.google.com/nonprofits/

EDIT:
The old search-ID seems to still work. So the working code would be as follows:
Code:
    <script>
        (function() {
          var cx = '012414234624903107508:2laarii9gbw';
          var gcse = document.createElement('script');
          gcse.type = 'text/javascript';
          gcse.async = true;
          gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
          var s = document.getElementsByTagName('script')[0];
          s.parentNode.insertBefore(gcse, s);
        })();
      </script>
      <gcse:search></gcse:search>
__________________
slumber: sensors enabled sleep timer for SFOS (translations/input/… appreciated if you've got some spare time)
talefish: directory based audiobook player for SFOS
nofono: ofono restart for SFOS
___
list of i486/noarch packages on openrepos (jolla tablet)

Last edited by velox; 2018-06-06 at 12:26.
 

The Following 6 Users Say Thank You to velox For This Useful Post: