Google patents - Could Not Save Item error
Hi
I usually add items from Google patents but today It fails and shows the following error message:
"Could Not Save Item"
I've used these URLs:
http://www.google.com/patents/about?id=PgG6AAAAEBAJ
or
http://www.google.com/patents/about?id=E--oAAAAEBAJ
and I'm using
Zotero 1.0.10
Firefox 3.0.7
Best regards,
Chip
I usually add items from Google patents but today It fails and shows the following error message:
"Could Not Save Item"
I've used these URLs:
http://www.google.com/patents/about?id=PgG6AAAAEBAJ
or
http://www.google.com/patents/about?id=E--oAAAAEBAJ
and I'm using
Zotero 1.0.10
Firefox 3.0.7
Best regards,
Chip
"The Google Patents translators seems broken. The fix however is simple. Changing
newItem.title = doc.evaluate('//h2[@class="title"]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().textContent;
intonewItem.title = doc.evaluate('//h1[@class="title"]', doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext().textContent;
(just a h1 header instead of a h2) does the trick."I assume that in order to fix it now in my local machine the translator code needs to be updated in the zotero.sqlite database. I check that the google patent translator and it has the old code.
So I'll wait to this fix to be added in the SVN and then I can fix it using the Update translators button.
Chip
Thanks.
Any ideas anyone?
David
Is there anyone out there with the know-how and interest to bring these patent translators up to date?
I have started rewriting the Google patents translator and it is semi-working; I need to make some improvements before posting. It has difficulty with the differences between Applications and Patents in terms of the information provided. I note that Zotero has no field for 'Publication number' and there is only one date field. If we can get some traction on these aspects (for which ticket 1455 has been issued) we can get a much better translator.
David
Also, looking at past patents I've imported with a working translator, there are two date fields available, "date" and "issue date." In the previous discusssion the workaround was to manually enter filing date into the "date" field. Can you get the translator to map filing date to "date?"
newItem.title = doc.evaluate('//h1[@class="title"]' ....
Google Patents does have a "view patent at the uspto" button, and Zotero does import the information from the USPTO site. So, it has left me somewhat puzzled.
http://groups.google.com/group/zotero-dev/browse_thread/thread/86e959053fe5253d/b4f598e671d66494?lnk=gst&q=google+patents#b4f598e671d66494
I added the "else..." statement to the "Google Patents.js" file (line 155) and it imports now. Thanks for the help.
Report ID: 50466141
Problem: Trying to save an item from Google Patents returns a "could not save item" error.
Steps to reproduce: Visit a patent, e.g. http://www.google.com/patents/about?id=sAgLAAAAEBAJ&dq=1234567 -- click the Zotero save button in the address bar. Zotero will display a "could not save item" error.
Thanks,
Tim
http://groups.google.com/group/zotero-dev/browse_thread/thread/86e959053fe5253d/b4f598e671d66494?lnk=gst&q=google+patents&pli=1