Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Newsnet translator: Add 24heures.ch and Berner Oberländer #396

Merged
merged 1 commit into from
Jun 17, 2012

Conversation

scito
Copy link
Contributor

@scito scito commented Jun 17, 2012

I've reworked the Newsnet translator:

  • Add 24heures.ch and Berner Oberländer which are form the same group and using the same content management framework
  • Rename translator file and label
  • Add title prefix
  • Add language

(I'm the initial author of this translator, but I'm using another nickname on GitHub.)

…e group, rename translator and label, add title prefix, add language
} : null;

return doc.evaluate(xpath, doc, nsResolver, XPathResult.ANY_TYPE, null).iterateNext();
return doc.evaluate(xpath, doc, null, XPathResult.ANY_TYPE, null).iterateNext();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to change this - it works, of course - but you're aware of the ZU.xpath function, available since, I believe, Zotero 2.1.x that does almost exactly the same as well ZU.xpathText that gets the text, too?

adam3smith added a commit that referenced this pull request Jun 17, 2012
Newsnet translator: Add 24heures.ch and Berner Oberländer
@adam3smith adam3smith merged commit d1a3fcd into zotero:master Jun 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants