<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yoshinoriberry</author_name>
  <author_url>https://blog.hatena.ne.jp/yoshinoriberry/</author_url>
  <blog_title>プログラマの戯言</blog_title>
  <blog_url>https://yoshinoriberry.hateblo.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>SEO</anon>
  </categories>
  <description>PCサイト、SPサイトを作成したWEBサイトにおいて クローラからのリクエストかどうかを判定する必要があったので 方法をまとめました。 &lt;?php //クローラー判定 function isClawler($clawler=false){ $ua = $_SERVER['HTTP_USER_AGENT']; $crawler_arr = array( &quot;Googlebot&quot; // google ,&quot;Baiduspider&quot; // Baidu ,&quot;bingbot&quot; // Bing ,&quot;Yeti&quot; // NHN ,&quot;NaverBot&quot; // NaverBot ,&quot;Yahoo&quot; // Yahoo ,…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyoshinoriberry.hateblo.jp%2Fentry%2F2014%2F09%2F07%2F162535&quot; title=&quot;PHPでクローラー(crawler)の判定を行なう - プログラマの戯言&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-09-07 16:25:35</published>
  <title>PHPでクローラー(crawler)の判定を行なう</title>
  <type>rich</type>
  <url>https://yoshinoriberry.hateblo.jp/entry/2014/09/07/162535</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
