Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:translators:scaffold [2018/02/08 07:02] – Update to Zotero 5.0 zuphilip | dev:translators:scaffold [2019/08/05 05:46] – dstillman | ||
---|---|---|---|
Line 1: | Line 1: | ||
< | < | ||
- | in the process of updating | + | in the process of updating |
- | <a href=" | + | |
- | may be outdated in the meantime. Thanks for your understanding.</ | + | |
Line 11: | Line 9: | ||
Scaffold supports editing and testing web translators and import translators. Search and export translators can not yet be tested using the IDE. | Scaffold supports editing and testing web translators and import translators. Search and export translators can not yet be tested using the IDE. | ||
- | Scaffold 3 includes support for the [[dev: | ||
- | |||
- | ===== Installation ===== | ||
- | |||
- | Scaffold does run within Zotero 5.0 as an [[: | ||
- | |||
- | * Download the XPI file of the [[https:// | ||
- | * Open Zotero | ||
- | * Tools -> Add-ons -> (gear wheel) -> Install Add-on From File | ||
- | |||
- | Previously to Zotero Version 5.0, Scaffold was a Firefox Plugin. | ||
===== Interface ===== | ===== Interface ===== | ||
- | After installation, | + | Scaffold is available via Tools → Developer → Translator Editor |
- | Selecting the Tools menu's " | + | When you first open Scaffold, you'll need to select your translator development directory. In most cases, this should be a git clone of the [[https:// |
- | {{:dev:scaffold2.0-metadata.png? | + | After selecting your translator directory, the main Scaffold window will open: |
+ | |||
+ | {{:dev:translators: | ||
==== Top buttons ==== | ==== Top buttons ==== | ||
Line 41: | Line 30: | ||
{{: | {{: | ||
- | Saves and runs the '' | + | Saves and runs the '' |
{{: | {{: | ||
- | Saves and runs the '' | + | Saves and runs the '' |
+ | |||
+ | {{: | ||
+ | Saves and runs the '' | ||
+ | |||
+ | {{: | ||
+ | Saves and runs the '' | ||
==== Tabs ==== | ==== Tabs ==== | ||
Line 50: | Line 46: | ||
**Metadata** \\ Shows the translator metadata. Translator IDs can be generated via the " | **Metadata** \\ Shows the translator metadata. Translator IDs can be generated via the " | ||
- | **Code** \\ The text box in this tab contains the translator' | + | **Code** \\ The text box in this tab contains the translator' |
+ | |||
+ | **Import** \\ For import translator you can copy here test data to import. | ||
+ | |||
+ | **Tests**\\ This tab contains the data for all test cases saved with the translator, which is currently open. | ||
+ | |||
+ | **Testing**\\ This is a list of all test cases for the current translator, which you can run, check or update. | ||
- | {{: | + | **Browser**\\ You can open specified URLs in the browser tab and then test the detection and data extraction for that website. |
==== Debug Output ==== | ==== Debug Output ==== | ||
Line 113: | Line 115: | ||
In the translator load window, import translators are arranged in alphabetical order at the bottom of the list. | In the translator load window, import translators are arranged in alphabetical order at the bottom of the list. | ||
- | **Note:** The screenshots on this page do not reflect the changes made in Scaffold 2.1.2 to add support for import translators. | ||
===== Scaffold Troubleshooting ===== | ===== Scaffold Troubleshooting ===== |