Zotero not recognizing books, chapters, dissertations in ProQuest PsycINFO
I think that Zotero correctly identified books, chapters, and dissertations in ProQuest's PsycINFO. Now those formats are all tagged as journal articles and require manual intervention. What's up?
1. The URL (as you see it) here
2. When you hover over the URL bar icon, what does it say?
3. Open the page source (by pressing ctrl+U), select all, and paste it to the window here: gist.github.com , click "Create public gist" at the bottom of the window and post the URL here.
Thanks!
In PsycINFO, for the book:
Happiness around the world: The paradox of happy peasants and miserable millionaires.
Graham, CarolView Profile. New York, NY, US: Oxford University Press, 2009.
The url is:
http://search.proquest.com.ezproxy.emich.edu/psycinfo/docview/622108149/2B18E105D50048A3PQ/1?accountid=10650
2)
The Zotero bar icon for this book is the Zotero journal article icon and hovering over it says
Save to Zotero (ProQuest)
3)
ProQuest PsycINFO Gist link:
https://gist.github.com/anonymous/856ba5c8193a499b19ef
The geography of happiness.
Ballas, Dimitris; Dorling, Danny. In The Oxford handbook of happiness, by David, Susan A. (Ed); Boniwell, Ilona (Ed); Conley Ayers, Amanda (Ed), 465-481. New York, NY, US:Oxford University Press, 2013.
ProQuest PsycINFO Book Chapter gist link:
https://gist.github.com/anonymous/469737bdc7d2a93272f4
In PsycINFO for the edited book:
The Oxford handbook of happiness.
David, Susan A. (Ed);Boniwell, Ilona (Ed);Conley Ayers, Amanda (Ed). New York, NY, US: Oxford University Press, 2013.
Proquest PsycINFO Edited Book gist link:
https://gist.github.com/anonymous/4ec1f56720519345c4a0
In PsycINFO for the dissertation:
Happiness is the cure: Self-improvement and authenticity in contemporary American life.
Grezemkovsky, Uriel. ProQuest Information & Learning, 2006. AAI3210603.
ProQuest Dissertation gist link:
https://gist.github.com/anonymous/14d2d62c30145b41521e
I do not remember if before your modifications the translator for Book Section worked more seamlessly than it does now. Book sections (chapters) in PsycINFO display the Zotero book icon in the address bar. But the item type in Zotero is labeled Book rather than Book Section. Changing the item type to Book Section requires a bit of editing in Zotero, e.g., moving the Book Title to the (Section) Title, adding the Book Title, adding the book Editors. It could be that the ProQuest PsycINFO metadata is not structured enough for your scripting to make the distinction between Book and Book Section. The full PsycINFO record does display a field labeled Title (for the Chapter Title) and Monograph title (for the Book Title).
For example for the PsycINFO chapter:
Experienced versus decision utility of income: Relative or absolute happiness.
Vendrik, Maarten; Hirata, Johannes. In Handbook on the economics of happiness, edited by Bruni, Luigino, Porta, Pier Luigi, 185-208. Northampton, MA, US:Edward Elgar Publishing, 2007.
The full PsycINFO record shows:
Title
Experienced versus decision utility of income: Relative or absolute happiness.
Monograph title
Handbook on the economics of happiness.
Document type
Chapter, Handbook/manual, Edited Book, Book
ProQuest PsycINFO Book Section gist link:
https://gist.github.com/anonymous/75385ae1b581cb6a2116
@zuphilip if you just want to switch those two else-ifs around I'll merge immediately, else I'll do it tonight, I'm away from my dev setup, so can't do it now.
types = ["Chapter", "Handbook/manual", "Edited Book", "Book"];
In this way the order of the if-else statement will (logically) not matter much any more.Update: Aurimas did already fix the translator, thank you.