ACM digital library request
Hi all,
For most conference proceedings the ACM page lists two "publications": the conference it appeared in, and a newsletter such as SIGPLAN notices or SIGOPS review. Here's an example: http://dl.acm.org/citation.cfm?id=258948.258973&coll=DL&dl=ACM&CFID=76827707&CFTOKEN=71462889. When importing from these pages, one gets two entries, even though the newsletter entry is completely useless. I fixed this by adding on line 122
if (!(item.itemType == "journalArticle" && (item.publicationTitle == "SIGPLAN Not." || item.publicationTitle == "SIGOPS Oper. Syst. Rev.") || ...) {
but I wonder if there is a more elegant way to do this that scales to all of the different newsletters. If there is, it'd be cool if the translator for the ACM DL had this functionality. I'd be happy to help any way I can.
For most conference proceedings the ACM page lists two "publications": the conference it appeared in, and a newsletter such as SIGPLAN notices or SIGOPS review. Here's an example: http://dl.acm.org/citation.cfm?id=258948.258973&coll=DL&dl=ACM&CFID=76827707&CFTOKEN=71462889. When importing from these pages, one gets two entries, even though the newsletter entry is completely useless. I fixed this by adding on line 122
if (!(item.itemType == "journalArticle" && (item.publicationTitle == "SIGPLAN Not." || item.publicationTitle == "SIGOPS Oper. Syst. Rev.") || ...) {
but I wonder if there is a more elegant way to do this that scales to all of the different newsletters. If there is, it'd be cool if the translator for the ACM DL had this functionality. I'd be happy to help any way I can.
I'm thinking it might be possible to check if the item type (as determined in the detect funtion) is conference paper and then throw out all others - if you want to take a stab at coding that that'd be great.
https://github.com/zotero/translators/pull/90/files
l. 135-138