<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kanonji</author_name>
  <author_url>https://blog.hatena.ne.jp/kanonji/</author_url>
  <blog_title>kanonji’s diary</blog_title>
  <blog_url>https://kanonji.hatenadiary.com/</blog_url>
  <categories>
    <anon>javascript</anon>
    <anon>jQuery</anon>
  </categories>
  <description>jQuery.getJSON(url, data, callback); $.getJSON(url, data, callback); jQuery1.2以降で、かつAPI側が対応*1していればですが、jQuery.getJSON() で別ドメインにあるJSONPデータを読み込めます。 JSONPを返すAPIというのは、どこかに仕様があるのか暗黙の習慣なのかは知らないけど、APIのURIに callback=foo*2 といった引数を付ける事になります。 jQuery.getJSON() でもcallback=? をつけると説明する記事がちらほらありますが、ちょっと誤解しやすい気がします。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkanonji.hatenadiary.com%2Fentry%2F20100427%2F1272372721&quot; title=&quot;jQuery.getJSON()で別ドメインのJSONPなデータを読み込む時の注意 - kanonji’s diary&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>2010-04-27 21:52:01</published>
  <title>jQuery.getJSON()で別ドメインのJSONPなデータを読み込む時の注意</title>
  <type>rich</type>
  <url>https://kanonji.hatenadiary.com/entry/20100427/1272372721</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
