We’re in the process of updating the documentation for Zotero 5.0. Some documentation may be outdated in the meantime. Thanks for your understanding.
/html/body/table/tbody/tr/td[2]/table/tbody/tr/td[@class="bucket"]/div[@class="content"]/ul/li
try a more flexible XPath like
//table/tbody/tr/td[@class="bucket"]/div[@class="content"]/ul/li
Zotero.debug("hello world!");
Zotero.Utilities.HTTP.doGet
and Zotero.Utilities.processDocuments
run asynchronously. In order to allow them to complete before moving along, follow either function with Zotero.wait()
and include Zotero.done()
as the onDone in order to signal the translator that it has completed its asynchronous operations.