Possible error in chrome://zotero/content/xpcom/translation/translate.js
Hi,
When testing out this translator:
https://gist.github.com/969751
I get the following error:
zotero(2): Translate: Translation using Washington Monthly failed:
message => title.indexOf is not a function
fileName => chrome://zotero/content/xpcom/translation/translate.js
lineNumber => 343
stack => ([object Object],[object Proxy])@chrome://zotero/content/xpcom/translation/translate.js:343
([object Proxy])@chrome://zotero/content/xpcom/translation/browser_firefox.js:112
@:0
Report ID: 802351434
When testing out this translator:
https://gist.github.com/969751
I get the following error:
zotero(2): Translate: Translation using Washington Monthly failed:
message => title.indexOf is not a function
fileName => chrome://zotero/content/xpcom/translation/translate.js
lineNumber => 343
stack => ([object Object],[object Proxy])@chrome://zotero/content/xpcom/translation/translate.js:343
([object Proxy])@chrome://zotero/content/xpcom/translation/browser_firefox.js:112
@:0
Report ID: 802351434
This discussion has been closed.
http://www.washingtonmonthly.com/archives/individual/2009_11/021135.php
title : FW.Xpath('//div[@class="blogbody"]//p/child::*').text().remove(/\.\.\.\./).capitalizeTitle().trim(),
For the Blogpost Old title xpath instead -
but that may have it's own problems - don't have a computer to test at the moment. Generally I'd say let's move this to the dev list to the WM translator thread I opened, no need to bother the general publish with xpath geekyness.