<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>saitoayumu</author_name>
  <author_url>https://blog.hatena.ne.jp/saitoayumu/</author_url>
  <blog_title>エキサイト TechBlog.</blog_title>
  <blog_url>https://tech.excite.co.jp/</blog_url>
  <categories>
    <anon>フロントエンド-HTMX</anon>
    <anon>フロントエンド-マークアップ</anon>
    <anon>フロントエンド</anon>
  </categories>
  <description>こんにちは。エキサイトでデザイナーをしている齋藤です。 最近、JSの記述なしにAJAXやSPA風の振る舞いが実装できるhtmxに触れる機会がありました。 htmx.org 今回は、htmxで別のHTMLファイルにある要素を埋め込む方法をご紹介します。 実現したいこと どうやるか 前提 index.html /parts（厳密には/parts/index.html） htmxで埋め込んでみる さいごに 実現したいこと コンポーネントと同じ要領で、/partsにある「パーツA」を呼び出してindex.htmlに埋め込みたいとします。 実現したいことのイメージ どうやるか 実現したいことをhtmxで…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.excite.co.jp%2Fentry%2F2024%2F10%2F21%2F172801&quot; title=&quot;htmxで別のHTMLファイルにある要素を埋め込む方法 - エキサイト TechBlog.&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>https://cdn-ak.f.st-hatena.com/images/fotolife/s/saitoayumu/20241021/20241021085414.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-10-21 17:28:01</published>
  <title>htmxで別のHTMLファイルにある要素を埋め込む方法</title>
  <type>rich</type>
  <url>https://tech.excite.co.jp/entry/2024/10/21/172801</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
