<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>honey8823</author_name>
  <author_url>https://blog.hatena.ne.jp/honey8823/</author_url>
  <blog_title>アナログCPU：5108843109</blog_title>
  <blog_url>https://honey8823.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript(jQuery)</anon>
  </categories>
  <description>を作ったのでメモ。 function uniqAry(ary){ // idの値で昇順ソートする ary.sort(function(a, b){ return a.id &gt; b.id; }); // 重複しているIDがあれば後に出てきた方を削除（undefinedにする） var tmpid = 0; $(ary).each(function(i, e){ if (e.id == tmpid){ delete ary[i]; } else{ tmpid = e.id; } }); // undefined（削除した項目）を除いたものを返す return ary.filter(function…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhoney8823.hateblo.jp%2Fentry%2F2018%2F08%2F31%2F121648&quot; title=&quot;連想配列に含まれるIDを使ってユニーク化する関数 - アナログCPU：5108843109&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>2018-08-31 12:16:48</published>
  <title>連想配列に含まれるIDを使ってユニーク化する関数</title>
  <type>rich</type>
  <url>https://honey8823.hateblo.jp/entry/2018/08/31/121648</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
