<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shiroyuki2020</author_name>
  <author_url>https://blog.hatena.ne.jp/shiroyuki2020/</author_url>
  <blog_title>プログラミングとウェブデザインの勉強メモ</blog_title>
  <blog_url>https://shiroyuki2020.hatenablog.com/</blog_url>
  <categories>
    <anon>mustache</anon>
  </categories>
  <description>レンダー部分でデータを指定しているところがあります。そこを外部ファイルとして読み込むように変更します。ここでは、データをJSONPファイルとして用意します。 作成するファイル JSONPでデータを読み込む まとめ 参考サイト 作成するファイル HTMLファイル:index.html JavaScriptファイル:render.js JSONPファイル(データファイル):data.jsonp ファイルをそれぞれ以下のように作成します。 &lt;!-- index.html --&gt; &lt;!DOCTYPE html&gt; &lt;html lang=&quot;ja&quot;&gt; &lt;head&gt; &lt;meta charset=&quot;UTF-8&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshiroyuki2020.hatenablog.com%2Fentry%2Fintroduction_to_mustache_10&quot; title=&quot;mustache:JS版|データを別ファイル(JSONP)にして読み込む - プログラミングとウェブデザインの勉強メモ&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>2021-12-16 19:00:00</published>
  <title>mustache:JS版|データを別ファイル(JSONP)にして読み込む</title>
  <type>rich</type>
  <url>https://shiroyuki2020.hatenablog.com/entry/introduction_to_mustache_10</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
