<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nixeneko</author_name>
  <author_url>https://blog.hatena.ne.jp/nixeneko/</author_url>
  <blog_title>にせねこメモ</blog_title>
  <blog_url>https://nixeneko.hatenablog.com/</blog_url>
  <categories>
    <anon>CentOS</anon>
  </categories>
  <description>任意のサブドメインを受け付けるサイトをつくりたかった。どういうことかというと、“example.jp”というドメインを所有しているとして、その任意のサブドメイン、例えば、“test.example.jp” “テスト.example.jp”でもアクセスできる様にし、そのサブドメインの内容によって動的に表示する内容を変更したかった。これは要するに、 任意のサブドメインからアクセスできる アクセスされたホスト名を取得する ことが必要らしい。 あまり詳しくないので以下こうしたらとりあえず動くようになったというメモである。不適切な部分があるかもしれない。 任意のサブドメインからアクセスできる 次のページ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnixeneko.hatenablog.com%2Fentry%2F2016%2F01%2F19%2F161831&quot; title=&quot;任意のサブドメインを受け付けるサイト - にせねこメモ&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>2016-01-19 16:18:31</published>
  <title>任意のサブドメインを受け付けるサイト</title>
  <type>rich</type>
  <url>https://nixeneko.hatenablog.com/entry/2016/01/19/161831</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
