{"id":217,"date":"2006-10-13T06:39:01","date_gmt":"2006-10-13T10:39:01","guid":{"rendered":"http:\/\/www.thewormbook.com\/hlog\/?p=217"},"modified":"2006-10-13T06:39:01","modified_gmt":"2006-10-13T10:39:01","slug":"in-his-mighty-name","status":"publish","type":"post","link":"http:\/\/www.thewormbook.com\/hlog\/?p=217","title":{"rendered":"In his mighty name"},"content":{"rendered":"<p>I know I waste a lot of time with computers; but there are some things they&#8217;re better at than humans are. For instance, could <em>you<\/em> count the number of times that the words &#8220;Richard Dawkins&#8221; appear on <a href=\"http:\/\/richarddawkins.net\/\">the front page<\/a> of the <em>Richard Dawkins Foundation for Science and Reason?<\/em><\/p>\n\n<p>Yet this little program (below the fold) told me almost instantly that the name was mentioned 26 times on the front page yesterday. That may be an underestimate, since I don&#8217;t think it counts the graphical elements, where the name appears in an image; also there is the rotating flash show of pictures of Richard Dawkins up to the top right.<\/p>\n\n<p>I am wondering whether to put this into a script, so that it would keep a daily updated Dawkins Number.<\/p>\n\n<p><!--more--><br \/>\nA teensy Python script:<\/p>\n\n\n<pre>\n#!\/usr\/bin.python\nimport urllib, re\nslurp=urllib.urlopen('http:\/\/www.richarddawkins.net\/').read()\nprint(len(re.findall('Richard Dawkins',slurp)))\n<\/pre>\n\n\n\n<p>(Updated to reflect new url)<\/p>","protected":false},"excerpt":{"rendered":"<p>I know I waste a lot of time with computers; but there are some things they&#8217;re better at than humans are. For instance, could you count the number of times that the words &#8220;Richard Dawkins&#8221; appear on the front page &hellip; <a href=\"http:\/\/www.thewormbook.com\/hlog\/?p=217\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a> <a href=\"http:\/\/www.thewormbook.com\/hlog\/?p=217\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"_links":{"self":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts\/217"}],"collection":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=217"}],"version-history":[{"count":0,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=\/wp\/v2\/posts\/217\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=217"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=217"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.thewormbook.com\/hlog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=217"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}