Closed itsmhuang closed 2 years ago
Thank you for reporting this! Looking at the code I used to define those mappings it seems like I simply did not map publisher-place
. I think I made a distinction between place of publication and location of publisher for some reason. I will look into this. The code you cited is actually about mapping CY
to event-place
(conference venue), which is not what you need here (you want publisher-place
).
Where did you get this RIS by the way? Could I add it to https://github.com/citation-js/ris-examples?
Ah ok, mapping CY
to publisher-place
would be great.
Just something I made. You can go ahead and add it :)
So I'm trying to parse some RIS and everything I need is returned except the publishing place for type book.
citation-js: 0.5.0 OS: macOS Catalina node: 12.16.2
My RIS:
My code:
The output:
I expect
CY
to be kept and parsed as the publishing place, but it's not included in the object. I did skim through the code a bit and found this:Which looks like
CY
will only be returned if the source isCONF
orCPAPER
. But it should also be returned forBOOK
. I can submit a pull request if this the only change that's needed.