<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takeru-c</author_name>
  <author_url>https://blog.hatena.ne.jp/takeru-c/</author_url>
  <blog_title>パンプキンスパイスラテ</blog_title>
  <blog_url>https://pumpkin.hatenablog.jp/</blog_url>
  <categories>
    <anon>PHP</anon>
    <anon>JavaScript</anon>
  </categories>
  <description>とあるWebサービスを考えていて暫く悩んだところ。いわゆる「スクリプトタグ」を貼り付けるだけで〜、的なサービスにしたかったんだけど、javascriptはクロスドメイン制限によって、異なるドメイン間で、XMLhttpRequest通信はできない。んなもんで、javascriptファイルはサービス提供側のサーバーに置いて、そのファイルを &lt;script type=&quot;text/javascript&quot; src=&quot;http://xxxxxxx.com/hoge.js&quot;&gt;&lt;/script&gt; のように読み込んで、そこからXMLhttpRequestを使ってPHPファイルへアクセスして情報取得すればいいんじ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpumpkin.hatenablog.jp%2Fentry%2F20080815%2F1218822081&quot; title=&quot;外部javascriptファイルを読み込んでごにょごにょする方法 - パンプキンスパイスラテ&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>2008-08-15 02:41:21</published>
  <title>外部javascriptファイルを読み込んでごにょごにょする方法</title>
  <type>rich</type>
  <url>https://pumpkin.hatenablog.jp/entry/20080815/1218822081</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
