OSA Optics Infobase translator not working again
Hi all,
Thanks for your help previously (last year) for fixing the Optics Infobase translator.
However, it seems that since their new site design (a few months) the translator is not working again. An example link is:
http://www.opticsinfobase.org/ol/abstract.cfm?uri=ol-37-13-2769
Thanks for any help!
John
Thanks for your help previously (last year) for fixing the Optics Infobase translator.
However, it seems that since their new site design (a few months) the translator is not working again. An example link is:
http://www.opticsinfobase.org/ol/abstract.cfm?uri=ol-37-13-2769
Thanks for any help!
John
http://www.zotero.org/support/troubleshooting_translator_issues
if 5,6,10 don't help we need a report ID as described in 11.
Nothing on that page seems to be wrong though. I got a report ID: 1489752996, though as far as I can tell those errors are unrelated (but what do I know).
Here is a better description of the problem: at the above noted page, if I click on the zotero icon in the address bar the white box appears in the bottom right hand corener of firefox, as usual, but nothing is subsequently saved in my database. Additionally, usually while zotero is saving the white box changes to contain some details of the paper being saved, whereas in this case it just stays empty, then disappears. My zotero is working fine on many other journal websites.
Thanks again for any help!
John
Ubuntu: 12.04
Firefox: 13.0.1
Zotero: 3.0.8
Thanks,
J
Do you have full-text access to the item - i.e. are you on your university network?
Or are you using a proxy (in that case - what's the full URL?).
Also, I'd like another URL and an error report ID - if you look at the report before sending it and post anything that contains "Optical Society of America" here that'd be great (the latter isn't necessary, it just speeds things up - I can't see the error reports, so I have to wait until Dan or Simon posts the content).
http://www.zotero.org/support/debug_output
Also, it looks like it takes a while for the citation to download - so make sure it actually doesn't import in Zotero and the problem isn't just that the box disappears without showing any text.
http://www.opticsinfobase.org/oe/abstract.cfm?uri=oe-19-9-8051
with debug ID D759190982. It also doesn't seem to matter whether I'm trying to import into my personal library, or into a group library (as I was trying to do when the debug report was logged).
Then, step 2, could you just save the abstract page you're looking at in Firefox (ctrl+s) and make that available to me?
Finally, step 3, could you download this translator:
https://gist.github.com/raw/3125235/5b1dd4cc4552b5f793e112c3d0c6d70b10f1cb7f/Optical%20Society%20of%20America.js
place it into the translator folder of your Zotero data directory
http://www.zotero.org/support/zotero_data, overwriting the existing file, reload the page and create another round of debug?
Sorry for the trouble, but I'm working completely blind.
I have saved the raw HTML of the journal webpage here:
http://www.physics.harvard.edu/~fung/abstract.cfm.html
Accompanying files may be found here:
http://www.physics.harvard.edu/~fung/abstract.cfm_files/
I've downloaded the OSA translator you put on Github, overwritten the translator previously in the translator directory, and tried importing the same article again, generating debug ID D2099960942.
Thank you for your help. Is there anything else I should try, or any other tests that I should run?
But generally this is baffling.
The site is exactly what I have, yet for for some reason Zotero doesn't read everything that's on the page - if you look at the debug above:
"Unable to retrieve text for XPath: //meta[@name="citation_journal_title"]/@content"
that xpath is right at the top of the page in the metadata.
Could you try two more things?
1. Try again with this version of the translator (no new debug needed, just see if it works)
https://gist.github.com/raw/3125235/b51d6bdc167205dece1b63866718ee332dc8c147/Optical%20Society%20of%20America.js
If it doesn't - and it probably won't:
2.
In both the actual page:
http://www.opticsinfobase.org/oe/abstract.cfm?uri=oe-19-9-8051
and the page as it comes up from your website:
http://www.physics.harvard.edu/~fung/abstract.cfm.html
could you right-click on the icon in the URL bar (i.e. the blue book ath opticsinfobase and what I guess will be an article icon on your site) and see if you can select "Save to Zotero using Embedded Metadata" and if you can try to do that in both cases and see what you get?