New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite IMDb.js #1331

Merged
merged 1 commit into from Jun 22, 2017

Conversation

Projects
None yet
2 participants
@adam3smith

2 questions -- very much possible that neither requires any changes to your code, just making sure.

}
var summary = ZU.xpath(doc, '//div[contains(@class, "plot_summary_wrapper")]');
var creatorsMapping = {

This comment has been minimized.

@adam3smith

adam3smith Jun 22, 2017

Collaborator

this captures all creators? We don't need a fallback category?

@adam3smith

adam3smith Jun 22, 2017

Collaborator

this captures all creators? We don't need a fallback category?

This comment has been minimized.

@zuphilip

zuphilip Jun 22, 2017

Collaborator

I haven't seen any other role in the short list in the overview e.g. http://www.imdb.com/title/tt0089276/ but there are much more persons in the long list e.g. http://www.imdb.com/title/tt0089276/fullcredits?ref_=tt_ov_st_sm . Do you think it is worth to grab more persons from there? Zotero has AFAIK only another role producer for films. But I wasn't even sure about the many actors...

@zuphilip

zuphilip Jun 22, 2017

Collaborator

I haven't seen any other role in the short list in the overview e.g. http://www.imdb.com/title/tt0089276/ but there are much more persons in the long list e.g. http://www.imdb.com/title/tt0089276/fullcredits?ref_=tt_ov_st_sm . Do you think it is worth to grab more persons from there? Zotero has AFAIK only another role producer for films. But I wasn't even sure about the many actors...

"extra": "IMDB ID: tt0089276\nIMDB Rating: 7.8 (5,300 votes)",
"date": "1985-11-08",
"abstractNote": "Directed by Luis Puenzo. With Norma Aleandro, Héctor Alterio, Chunchuna Villafañe, Hugo Arana. After the end of the Dirty War, a high school teacher sets out to find out who the mother of her adopted daughter is.",
"extra": "original-title: La historia oficial\nIMDb ID: tt0089276",
"genre": "Drama, History, War",

This comment has been minimized.

@adam3smith

adam3smith Jun 22, 2017

Collaborator

I wonder if this makes sense. This is, clearly, the genre, but it this a good field?

@adam3smith

adam3smith Jun 22, 2017

Collaborator

I wonder if this makes sense. This is, clearly, the genre, but it this a good field?

This comment has been minimized.

@zuphilip

zuphilip Jun 22, 2017

Collaborator

From https://aurimasv.github.io/z2csl/typeMap.xml

genre = [standard] class, type or genre of the item (e.g. “adventure” for an adventure movie, “PhD dissertation” for a PhD thesis)

But I am open for any other suggestion.

@zuphilip

zuphilip Jun 22, 2017

Collaborator

From https://aurimasv.github.io/z2csl/typeMap.xml

genre = [standard] class, type or genre of the item (e.g. “adventure” for an adventure movie, “PhD dissertation” for a PhD thesis)

But I am open for any other suggestion.

This comment has been minimized.

@adam3smith

adam3smith Jun 22, 2017

Collaborator

OK, thanks, let's leave it then.

@adam3smith

adam3smith Jun 22, 2017

Collaborator

OK, thanks, let's leave it then.

@adam3smith adam3smith merged commit 0133798 into zotero:master Jun 22, 2017

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@zuphilip zuphilip deleted the zuphilip:imdb branch Jun 22, 2017

zuphilip added a commit to zuphilip/translators that referenced this pull request Mar 28, 2018

zuphilip added a commit to zuphilip/translators that referenced this pull request Mar 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment