<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wannabe-jellyfish</author_name>
  <author_url>https://blog.hatena.ne.jp/wannabe-jellyfish/</author_url>
  <blog_title>くらげになりたい。</blog_title>
  <blog_url>https://memory-lovers.blog/</blog_url>
  <categories>
    <anon>TypeScript</anon>
  </categories>
  <description>書籍検索をするとISBN13だけのものもあり、 ASINと同じISBN10を計算したいなと、 いろいろ調べたので、その時の備忘録。 はじめてみたけど、チェックディジットの簡単に計算できるのはびっくり！ ISBN13 → ISBN10 左3桁と右1桁目を取る 「モジュラス11 ウェイト10-2」という計算方法でISBN10チェックディジットを求める X = n1*10 + n2*9 + n3*8 + n4*7 + n5*6 + n6*5 + n7*4 + n8*3 + n9*2 Z = X % 11 Digit = 11 - Z チェックディジットを右端に付与 TypeScriptで書くととこん…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemory-lovers.blog%2Fentry%2F2019%2F05%2F19%2F070000&quot; title=&quot;ISBN13からISNB10/ASINを計算する (TypeScript ver.) - くらげになりたい。&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>2019-05-19 07:00:00</published>
  <title>ISBN13からISNB10/ASINを計算する (TypeScript ver.)</title>
  <type>rich</type>
  <url>https://memory-lovers.blog/entry/2019/05/19/070000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
