Some framework translators do not import keywords to tags
Keywords are not imported as tags with some framework translators. The issue came up on the RePEc translator thread.
The problem is that the split() function in e.g.
The solution is to append the trim() function, i.e.
so that it becomes
ASCE, Emerald Publishing, The New Yorker, The Daily Beast, and both RePEc translators are affected at least.
The problem is that the split() function in e.g.
FW.Xpath('//meta[@name="citation_keywords"]/@content').text().split(/;/),
adds a second pair of squared brackets around the tags array, i.e. "tags": [["keyword 1","keyword 2"]]
. The solution is to append the trim() function, i.e.
FW.Xpath('//meta[@name="citation_keywords"]/@content').text().split(/;/).trim(),
so that it becomes
"tags": ["keyword 1","keyword 2"]
ASCE, Emerald Publishing, The New Yorker, The Daily Beast, and both RePEc translators are affected at least.
I don't usually read the zotero forums, but I do read zotero-dev and I will get email if you add tickets to the bitbucket tracker. Thanks for the bug report!