zotero / translators

Zotero Translators
http://www.zotero.org/support/dev/translators
1.27k stars 751 forks source link

Publication field with WorldCat Discovery Service.js #1292

Open ericbradley opened 7 years ago

ericbradley commented 7 years ago

When saving articles from WorldCat Discovery into Zotero, the publication field is duplicating the text from the title. The publication name, which is listed under "source" in WorldCat Discovery does not show up. I tested the same articles in worldcat.org and those go into Zotero correctly.

Thanks for looking into this!

adam3smith commented 7 years ago

could we get some URLs?

ericbradley commented 7 years ago

Absolutely. https://goshen.on.worldcat.org/search?queryString=Oligopsonistic+Cats+and+Dogs&databaseList=638&format=Artchap&changedFacet=format&gcWebsiteSearch=articles#/oclc/5649931928 https://goshen.on.worldcat.org/search?queryString=Determination+of+the+Cation+Exchange+Capacity+of+Clays+by+Surface+Tension+Measurements&databaseList=638&format=Artchap&changedFacet=format&gcWebsiteSearch=articles#/oclc/4637127479 https://goshen.on.worldcat.org/search?queryString=Determination+of+the+Cation+Exchange+Capacity+of+Clays+by+Surface+Tension+Measurements&databaseList=638&format=Artchap&changedFacet=format&gcWebsiteSearch=articles#/oclc/5156293649

zuphilip commented 7 years ago

When I try your first example, the result looks fine:

10:11:17 Returned item:
           {
             "itemType": "journalArticle"
             "creators": [
               {
                 "lastName": "Dewit"
                 "firstName": "Gerda"
                 "creatorType": "author"
               }
               {
                 "lastName": "Leahy"
                 "firstName": "Dermot"
                 "creatorType": "author"
               }
             ]
             "notes": []
             "tags": []
             "seeAlso": []
             "attachments": []
             "ISSN": "0889-938X"
             "publicationTitle": "Review of Industrial Organization : An International Journal Published for the Industrial Organization Society"
             "title": "Oligopsonistic Cats and Dogs"
             "pages": "257-274"
             "volume": "35"
             "issue": "3"
             "date": "2009"
             "libraryCatalog": "WorldCat Discovery Service"
           }
10:11:19 Returned item:
           {
             "itemType": "journalArticle"
             "creators": [
               {
                 "lastName": "Dewit"
                 "firstName": "Gerda"
                 "creatorType": "author"
               }
               {
                 "lastName": "Leahy"
                 "firstName": "Dermot"
                 "creatorType": "author"
               }
             ]
             "notes": []
             "tags": []
             "seeAlso": []
             "attachments": []
             "ISSN": "0889-938X"
             "publicationTitle": "Review of Industrial Organization"
             "title": "Oligopsonistic Cats and Dogs"
             "pages": "257-274"
             "volume": "35"
             "issue": "3"
             "date": "2009"
             "libraryCatalog": "WorldCat Discovery Service"
           }