| isbn10 | normalize-space(translate(substring-after(//td[@width="350"]/font[@size="-1"]/text()[contains(., "ISBN") and string-length(normalize-space(translate(substring-after(., ":"), "-", "")))=10], ":"), "-", "")) |
|---|---|
| url | http://[^/]+\.bk1\.jp/product/ |
| exampleIsbn13 | 9784840237741 |
| isbn13 | normalize-space(translate(substring-after(//td[@width="350"]/font[@size="-1"]/text()[contains(., "ISBN") and string-length(normalize-space(translate(substring-after(., ":"), "-", "")))=13], ":"), "-", "")) |
| exampleUrl | http://www.bk1.jp/product/02743592 |
Database: ISBN Scraper
Web ページから ISBN を抽出する XPath のデータベースです。
CrossBookSearch から使用することを想定していますが、他のスクリプトなどから使っていただいても構いません。
CrossBookSearch
http://coderepos.org/share/browser/lang/javascript/userscripts/crossbooksearch.user.js
last update: 2008-06-19T23:56:53+09:00 更新履歴
Item List
-
ビーケーワン 2008-06-19T23:56:48+09:00
last update: 2008-06-19T23:56:53+09:00
-
セブンアンドワイ 2008-06-19T23:50:24+09:00
isbn10 substring-after(substring-before(translate(//tr/td[normalize-space(.//text())="出版社名"]/following-sibling::td[1]//text()[string-length(substring-after(substring-before(translate(., "-", ""), ")"), "ISBN:"))=10], "-", ""), ")"), "ISBN:") url http://www\.7andy\.jp/books/detail exampleIsbn13 9784104715213 isbn13 substring-after(substring-before(translate(//tr/td[normalize-space(.//text())="出版社名"]/following-sibling::td[1]//text()[string-length(substring-after(substring-before(translate(., "-", ""), ")"), "ISBN:"))=13], "-", ""), ")"), "ISBN:") exampleUrl http://www.7andy.jp/books/detail/-/accd/R0349944 last update: 2008-06-19T23:50:40+09:00
-
cbook24 2008-06-19T23:42:00+09:00
url http://www\.cbook24\.com/bm_detail\.asp exampleIsbn13 9784873113142 isbn13 translate(normalize-space(//tr/td[@class="body2" and contains(text(), "ISBN")]/following-sibling::td/text()), "-", "") exampleUrl http://www.cbook24.com/bm_detail.asp?sku=9784873113142 last update: 2008-06-19T23:42:05+09:00
-
livedoor BOOKS 2008-06-14T02:54:26+09:00
isbn10 substring-after(//p[@class="itemData"]/text()[4], "管理コード:") url http://books\.livedoor\.com/item exampleIsbn13 9784062749121 isbn13 substring-after(//p[@class="itemData"]/text()[3], "ISBN:") exampleUrl http://books.livedoor.com/item4062749122.html last update: 2008-06-14T02:54:31+09:00
-
楽天ブックス 2008-06-14T02:47:44+09:00
url http://item\.rakuten\.co\.jp/book/ exampleIsbn13 9781590597576 isbn13 substring-after(//span[@class="item_number"]/text(), "ISBN:") exampleUrl http://item.rakuten.co.jp/book/4699188/ last update: 2008-06-14T02:47:49+09:00
-
紀伊國屋書店 2008-06-14T02:39:16+09:00
exampleIsbn10 4061819011 isbn10 //input[@name="ISBN"]/@value url http://bookweb\.kinokuniya\.co\.jp/.+ exampleUrl http://bookweb.kinokuniya.co.jp/guest/cgi-bin/wshosea.cgi?USID=&W-NIPS=9960218627 last update: 2008-06-14T02:43:23+09:00
-
Google ブック検索 2008-06-14T02:30:31+09:00
exampleIsbn10 4873113482 isbn10 substring-after(//td/text()[starts-with(., "ISBN:")], "ISBN:") url http://books\.google\.co\.jp/books exampleUrl http://books.google.co.jp/books?id=cf7gMn3zx1AC last update: 2008-06-14T02:36:06+09:00
-
イーブックオフ 2008-06-14T02:13:39+09:00
exampleIsbn10 4103668032 isbn10 substring(//tr[td/b/text()="ISBN"]/td[3]/text(), 1, 10) url http://www\.ebookoff\.co\.jp/detail/ exampleIsbn13 9784103668039 isbn13 substring(//tr[td/b/text()="ISBN"]/td[3]/text(), 13, 13) exampleUrl http://www.ebookoff.co.jp/detail/Ctgry/1002/LRack/10/Cmdty/0000767704 last update: 2008-06-15T15:56:23+09:00
-
ブックオフオンライン 2008-06-14T02:08:56+09:00
url http://www\.bookoffonline\.co\.jp/display/ exampleIsbn13 9784844325796 isbn13 //tr[th/text()="JAN"]/td/text() exampleUrl http://www.bookoffonline.co.jp/display/001,iscd=0015891592 last update: 2008-06-14T02:10:03+09:00
-
オライリー・ジャパン 2008-04-17T01:01:21+09:00
isbn10 translate(//meta[string-length(@content)=13 and @name="isbn"]/@content, "-", "") url http://www\.oreilly\.co\.jp/books/ exampleIsbn13 9784873113678 isbn13 translate(//meta[string-length(@content)=17 and @name="isbn"]/@content, "-", "") exampleUrl http://www.oreilly.co.jp/books/9784873113678/ last update: 2008-06-14T00:28:42+09:00
-
Amazon 2008-04-17T00:53:21+09:00
exampleIsbn10 410790170X isbn10 normalize-space(//li[b/text()="ISBN-10:"]/text()) url http://(?:www\.)?amazon\.(?:[^.]+\.)?[^/]+/ exampleIsbn13 9784107901705 isbn13 translate(//li[b/text()="ISBN-13:"]/text(), "- ", "") exampleUrl http://www.amazon.co.jp/dp/410790170X/ last update: 2008-06-14T01:53:05+09:00