Often on sites like StackOverflow you’ll see questions that people could have answered for themselves if they had just searched the right web sites (usually perldoc or CPAN). But instead, they just went straight for Google and ended up with some dodgy, out of date information that just left them confused.
In order to get round that, I’ve created a Google Custom Search Engine which searches known Perl web sites. You can try it out here.
If you want to use this search engine on your site, the code is below.
1 2 3 4 5 6 7 8 9 10 11 |
<div id=“cse” style=“width: 100%;”>Loading</div> <script src=“//www.google.co.uk/jsapi” type=“text/javascript”></script> <script type=“text/javascript”> google.load(‘search’, ‘1’, {language : ‘en’}); google.setOnLoadCallback(function() { var customSearchControl = new google.search.CustomSearchControl(‘008350714774536055976:a2zesuxuecs’); customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); customSearchControl.draw(‘cse’); }, true); </script> <link rel=“stylesheet” href=“//www.google.com/cse/style/look/default.css” type=“text/css” /> |
Leave a Reply