zotero/translators — pull request #461 by aurimasv (2012-09-23 00:05:35+00:00)
Title: RIS improvements

>Improve RIS to Zotero date algorithm to work with accessDate

This is in regards to @adam3smith's report that access dates are not being imported. I overlooked the part where accessDate has to be in SQL format. One issue that remains with this, is that I cannot find a way to specify that this is local time. Do I have to create a new Date object, then convert from that to UTC? Or is there a better way to handle this? (Would be convenient if Zotero.Date functions were exposed to translators, but I don't think it's that huge of a deal)

>Add support for some EndNote quirks with webpage entries.

In the RIS specification there are a lot of weirdness going on with webpages (ELEC). I added some support for that. Additionally, the current RIS export style from Thomson exports webpages as WEB, which is not even in the spec. Added that as well

>Support EndNote's "internal-pdf" URI protocol.
Since the patch got accepted, relative attachment imports should now work out of the box for EndNote (once 3.0 branch is released). The RIS file would be placed in the EndNote data directory for import.