# Import data from e.g Amazon like ISBN etc (A extended onebox solution for Amazon)

**URL:** https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565
**Category:** Feature
**Tags:** pr-welcome
**Created:** [2월 1, 2018, 7:28오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565 "2018-02-01T19:28:05Z")
**Posts on this page:** 9
**Page:** 2

<div class="post-metadata">

### Author: ![bts](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bts/32/184556_2.png) [@bts](https://meta.discourse.org/u/bts)
#### Post date: [2월 15, 2018, 8:26오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/21 "2018-02-15T20:26:07Z")

</div>

Looks like ISBN-13 is the new standard as of 2007, so prob safe to default to that, and only do ISBN-10 if the ISBN-13 doesn’t exist. (Also I believe for ebooks Amazon uses their proprietary ASIN thing which is also 10 chars / same as ISBN if it exists…haha it can get confusing!)

Maybe instead of “Book length: ” it could be "[Format], [length] e.g. “Hardcover, 324p”.

Star rating could probably be in w/ the other in-line data points.

Curious to see various examples w/ different book formats as I think there will be a good amount of variation w/ things like image size, title / author name / publisher name length, etc. Often probably all that data won’t fit on one line. If too much data, publisher & pub date could probably be eliminated.

Overall this looks great!

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [2월 15, 2018, 8:48오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/22 "2018-02-15T20:48:29Z")

</div>

> [@sam](#):
>
> Looks good, but style wise I think a cunch can be de-emphasized, there is a lot of bold there, also can you include a screenshot on mobile?

 ![30](https://global.discourse-cdn.com/meta/original/3X/6/4/641d5038c8df908547629e026e4dfd226ea918c4.png)

Price has been emphasized before my changes so not sure if it should also be de-emphasized? I just reused the old Amazon template so it affects all.

Mobile:

 ![56](https://global.discourse-cdn.com/meta/original/3X/5/b/5b1a8e90684c45b3e06bca85de7ca4ec050e84a7.png)

I agree that it would be better if rating was moved to the bottom in-line data, but it is somehow hard to read already (especially mobile), maybe using some kind of visual separator would make sense (`|`or something like it)?

> [@bts](#):
>
> Looks like ISBN-13 is the new standard as of 2007, so prob safe to default to that, and only do ISBN-10 if the ISBN-13 doesn’t exist.

This is what I’ve been meaning to ask actually, looks like using ISBN-13 is a way to go.

> [@frold](#):
>
> To save space: Publication date could be Release date, or what do you think?

All the text comes from Amazon, so it’s not that flexible. That way we don’t have to bother translating it and it works with each localised Amazon store.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [2월 15, 2018, 10:01오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/23 "2018-02-15T22:01:38Z")

</div>

Also, localization wise this is not going to work ☹ , maybe just get rid of all words, then there is nothing to translate.

> ISBN: 12345 Elseivier: 4 May 2017, 952p $52.22

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [2월 15, 2018, 10:23오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/24 "2018-02-15T22:23:45Z")

</div>

There is no localization needed, because also the text comes from the product information table on Amazon so it’s in whatever language the store is. But since it’s nicely concise without any text, I’ll just remove it.  
Most of the books I checked have the same amount and order of data available across all Amazon locales (on mobile version which is used for scraping). For those that don’t follow the pattern, onebox won’t include that data.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2월 15, 2018, 11:25오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/25 "2018-02-15T23:25:28Z")

</div>

Yes I was going to recommend this same thing.. placing

> ISBN: 0323353177 – Publisher: Elsevier – Publication Date: 4 May 2017 – Book Length: 952 – $52.19

is inferior to

> 0323353177 – Elsevier, 4 May 2017, 952 pages – $52.19

We don’t need so many explicit key:value pairs here… just having the actual _values_ is clear enough.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [2월 15, 2018, 11:39오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/26 "2018-02-15T23:39:36Z")

</div>

> [@codinghorror](#):
>
> just having the actual values is clear enough.

I was highly annoyed at a university that insisted that my business card include the word “email” before [pfaffman@someuniversity.edu](mailto:pfaffman@someuniversity.edu). If the person looking at it didn’t know that it was an email address, it wasn’t going to do them any good anyway.

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [2월 20, 2018, 7:33오전 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/27 "2018-02-20T07:33:06Z")

</div>

> [@maja](#):
>
> I was working on it today and I hope it’ll be ready to open a pull request tomorrow.

Is the changes added to the code? If I would like to test it..

I dont know how to find “pull request”…

---

<div class="post-metadata">

### Author: ![maja](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/maja/32/129533_2.png) [@maja](https://meta.discourse.org/u/maja)
#### Post date: [2월 20, 2018, 7:51오후 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/28 "2018-02-20T19:51:57Z")

</div>

Someone from the team has to review and approve the changes I added in order for them to be available.

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [2월 21, 2018, 7:15오전 UTC](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565/29 "2018-02-21T07:15:33Z")

</div>

Cool, seems to been added, that was fast!!

SOLVED

Thanks to @maja for adding this feature!! ❤

[이전 페이지](https://meta.discourse.org/t/import-data-from-e-g-amazon-like-isbn-etc-a-extended-onebox-solution-for-amazon/79565.md?page=1)
