Running Zotero's scrapers externally

Suppose I had a URL and I wanted to see if Zotero could scrape it and output it to bibtex. Is it possible to do this by running firefox from the command line, or some other method?
  • edited January 14, 2009
    Check out MozRepl for command-line access to Zotero's JS API. If you need more help, zotero-dev is a better place to ask.
  • Thnks dan, I'm running MozRepl now and its pretty cool.

    I probably wont have time to dig deeper until tomorrow. But could you provide some high-level method names that I might look for related to scraping and export?

    Cheers,
  • Take a look at Zotero_File_Exporter.prototype.save() in fileInterface.js or getContentFromItems() in quickCopy.js for examples and Zotero.Translate (which has a fairly extensive comment) in translate.js for the actual translation code.

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.