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

Misc fixes for Cairn translator #1473

Merged
merged 3 commits into from Nov 13, 2017

Conversation

Projects
None yet
2 participants
@symac
Contributor

symac commented Nov 10, 2017

Have been fixed :

  • detectWeb was missing book and bookSection and sometimes others;
  • PDF download was not working following a change on cairn's website
  • some metadata have been added because not correctly encoded (page number, publication date)
Misc fixes for Cairn translator
Have been fixed : 
- detectWeb was missing book and bookSection and sometimes others;
- PDF download was not working following a change on cairn's website
- some metadata have been added because not correctly encoded (page number, publication date)
@zuphilip

This comment has been minimized.

Show comment
Hide comment
@zuphilip
Collaborator

zuphilip commented Nov 11, 2017

@zuphilip zuphilip self-requested a review Nov 11, 2017

@zuphilip

This comment has been minimized.

Show comment
Hide comment
@zuphilip

zuphilip Nov 11, 2017

Collaborator

Thank you for this pull request, @symac. 🚀

I just did some cleanup and small improvements. Please have a look.

Do you have an example for a book chapter?

(Maybe we should also consider to take the RIS data that Cairn provides under Citer cet article at some point...)

Collaborator

zuphilip commented Nov 11, 2017

Thank you for this pull request, @symac. 🚀

I just did some cleanup and small improvements. Please have a look.

Do you have an example for a book chapter?

(Maybe we should also consider to take the RIS data that Cairn provides under Citer cet article at some point...)

@zuphilip zuphilip removed their request for review Nov 11, 2017

@symac

This comment has been minimized.

Show comment
Hide comment
@symac

symac Nov 13, 2017

Contributor

Thanks @zuphilip for the cleanup. A book chapter example is http://www.cairn.info/jeu-d-echecs-comme-representation--9782728835904-page-111.htm

I think this .ris is quite new, I have never noticed it. That would maybe be a better way to get data yes, but I have not much time at the moment to check if it is complete so I believe that might wait :)

Contributor

symac commented Nov 13, 2017

Thanks @zuphilip for the cleanup. A book chapter example is http://www.cairn.info/jeu-d-echecs-comme-representation--9782728835904-page-111.htm

I think this .ris is quite new, I have never noticed it. That would maybe be a better way to get data yes, but I have not much time at the moment to check if it is complete so I believe that might wait :)

Show outdated Hide outdated Cairn.info.js

@zuphilip zuphilip merged commit 432125c into zotero:master Nov 13, 2017

1 check passed

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

This comment has been minimized.

Show comment
Hide comment
@zuphilip

zuphilip Nov 13, 2017

Collaborator

I fixed the bookSection case according to your example.

Thank you very much @symac !

Collaborator

zuphilip commented Nov 13, 2017

I fixed the bookSection case according to your example.

Thank you very much @symac !

psisquared2 added a commit to psisquared2/translators that referenced this pull request Feb 8, 2018

Fixes for Cairn translator (zotero#1473)
- detectWeb was missing book and bookSection and sometimes others
- PDF download was not working following a change on cairn's website
- some metadata have been added because not correctly encoded (page number, publication date)
- add DOI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment