Uncategorized

IndieWeb Google Custom Search Engine

TL;DR: it exists! Try it below, or here.

A search engine for the whole IndieWeb has been a hot conversation topic, on and off, for many years now. Many of us offer search on our own individual sites, and more ambitious projects like cweiske‘s phinde can search our IRC archives, but building a full fledged search engine to crawl and index all IndieWeb sites has always been a bit too big of a project to tackle. (Not to mention the question of which sites we should include in the first place.)

As usual, my first instinct is always software prevention. Whatever the task at hand is, someone has else has usually already tried to do it. Often they’ve even succeeded, to some degree. Search is certainly no exception. Google has offered custom search engines for individual sites for a long time, so I threw together one that searches all of the sites in Indie Map, plus lots more that have joined the IndieWeb since then. It seems to work ok so far. Try it out and let me know what you think!

If you like it, you can use it in the future from its dedicated page here, or you can embed it in any web page by adding this HTML:

<script>
  (function() {
    var cx = '001473925626342383772:izm-5gxypp4';
    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:searchbox-only></gcse:searchbox-only>

Here are details on how to customize the embed.

Standard

8 thoughts on “IndieWeb Google Custom Search Engine

Bookmarks

  • Craig

Leave a Reply

Your email address will not be published.