<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kouki_dan</author_name>
  <author_url>https://blog.hatena.ne.jp/kouki_dan/</author_url>
  <blog_title>Lento con forza</blog_title>
  <blog_url>https://kouki.hatenadiary.com/</blog_url>
  <categories>
  </categories>
  <description>Next.jsはpages以下に置いたファイルに応じてURLが決定します。一方、あるコレクションページのコンテンツをモーダルで表示するが、そのモーダルにURLを与えたいケースがあります。 例えば昔のTwitterのWebはそのようになっていて*1、タイムライン上のツイートをタップすると、モーダルでツイートが開き、URLがツイート単体を示すものに変更されていました。そのURLに直接遷移すると、今度はモーダルではなく、直接該当ツイートの情報を読めるページが表示されていました。 同じようなルーティングをNext.jsで実装したいな、と思ったんですが、pagesとの関係がわからなくて悩んでいたところ、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkouki.hatenadiary.com%2Fentry%2F2021%2F06%2F03%2F100000&quot; title=&quot;Next.jsでTwitterライクにモーダルにURLを与える - Lento con forza&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-03 10:00:00</published>
  <title>Next.jsでTwitterライクにモーダルにURLを与える</title>
  <type>rich</type>
  <url>https://kouki.hatenadiary.com/entry/2021/06/03/100000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
