自分の検索サイトへ飛ぶBookmarkletを13桁対応してみる

こんな感じで追加する

  • ISBNか否かを判断している部分に
|a.match(/ISBN.?(\d{13})/i)|a.match(/(\d{3}\-\d\-[\-\d]{9}\-\d)/)

bk1の1月以降の新刊についてはCDが逢わないので、まだNGです

ECS4.0(Amazon)の日米の違いの具体例

シンタックス・ハイライトしたいだけだけど
米国版(.com)

  <ASIN>1881273571</ASIN> 
  <ItemAttributes>
  <Author>Gary Chapman</Author> 
  <Author>Jennifer Thomas</Author> 
  <Binding>Hardcover</Binding> 
  <DeweyDecimalNumber>158.2</DeweyDecimalNumber> 
  <EAN>9781881273578</EAN> 
  <ISBN>1881273571</ISBN> 
  <Label>Northfield Publishing</Label> 
  </ItemAttributes>

日本版(.co.jp)

  <ASIN>1881273571</ASIN> 
  <ItemAttributes>
  <Author>Gary Chapman</Author> 
  <Author>Jennifer Thomas</Author> 
  <Binding>ハードカバー</Binding> 
  <Creator Role="著">Gary Chapman</Creator> 
  <Creator Role="著">Jennifer Thomas</Creator> 
  <Label>Northfield Pub</Label> 
  </ItemAttributes>

同じクエリ投げてもこうも違うものかしらねぇ?
日本版にもJANが欲しい