{"id":863,"date":"2009-05-27T17:12:25","date_gmt":"2009-05-27T17:12:25","guid":{"rendered":"http:\/\/jurnsearch.wordpress.com\/?p=863"},"modified":"2009-05-27T17:12:25","modified_gmt":"2009-05-27T17:12:25","slug":"google-custom-search-element","status":"publish","type":"post","link":"https:\/\/jurn.link\/jurnsearch\/index.php\/2009\/05\/27\/google-custom-search-element\/","title":{"rendered":"Google Custom Search Element"},"content":{"rendered":"<p>Google has just deployed a new Custom Search Element to Google CSE owners.  This allows your users to do things like paste a JURN search engine box into their blog, and have it return results for their  readers without having to leave the page. <\/p>\n<p>Sadly, a hosted WordPress blog (like this one) gets all paranoid about security and strips out the code tags &mdash; and thus I can&#8217;t give you a demo here.  WordPress.com really should whitelist all javascript that runs from www.google.com\/. But should you have a self-hosted blog, it will work well &mdash; and the snippet of code you need to copy and paste <strong><a href=\"http:\/\/www.d-log.info\/jurn-gcse.txt\">is here<\/a><\/strong>.<\/p>\n<p>It gives results like those seen below. One nice thing I&#8217;d like to see added to the GCSE would be the ability to preset the results by keyword.  Thus at the end of a blog post about, say, Pygmalion and Galatea, I could paste in a JURN search-engine box atop a set of pre-run results for <em>pygmalion galatea<\/em>&#8230;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/jurn.link\/jurnsearch\/2009\/05\/jurnser.jpg\" alt=\"jurnser\" title=\"jurnser\" width=\"152\" height=\"504\" class=\"alignnone size-full wp-image-875\" \/><\/p>\n<p>&#8230; but I guess that would never happen because then it would be used by blog-spammers to build fake blogs \ud83d\ude41<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google has just deployed a new Custom Search Element to Google CSE owners. This allows your users to do things &hellip;<\/p>\n<p><a href=\"https:\/\/jurn.link\/jurnsearch\/index.php\/2009\/05\/27\/google-custom-search-element\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,16],"tags":[],"class_list":["post-863","post","type-post","status-publish","format-standard","hentry","category-jurns-google-watch","category-spotted-in-the-news"],"_links":{"self":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts\/863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/comments?post=863"}],"version-history":[{"count":0,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/posts\/863\/revisions"}],"wp:attachment":[{"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/media?parent=863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/categories?post=863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jurn.link\/jurnsearch\/index.php\/wp-json\/wp\/v2\/tags?post=863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}