12/2/2023 0 Comments Define tropyThe Delimiter setting lets you pick what character is used to separate the fields in the import and export CSV files.The Item template and Photo template selectors lets you pick the template to be associated with items and photos on import, and the metadata fields that are exported.Use the + icon at the far right to create new plugin instances (so you can have multiple configurations in parallel).Choose a plugin Name that will show up in the File > Import and File > Export menus.Some settings apply to both import and export: To configure the plugin, click its Settings button in Preferences > Plugins: To export an item with a large number of photos to a more human-readable CSV file, use the explode item functionality in Tropy to split the item into individual photos before exporting, in order to get one photo per row in the exported file. If you instead want to import a single item with a large number of photos, you may prefer to create the CSV for import having one photo per row, and use the merge items functionality within Tropy to combine these into one item once they are imported. The usual structure of the import and export CSV files, with all photos for an item in a single row, works well if you have a small number of photos per item, or are generating your CSV for import with a script. Working with large numbers of photos per items Configure the desired templates for items and photos in the plugin's Settings. Each property will be represented as a column in the exported CSV file. Using Tropy’s template editor ( Preferences > Templates), create a new template with the properties of your choice. To define which metadata fields are exported for items and photos, you can define custom templates. If you have multiple photos per item, did you use the same set of column names for each photo? If a column is missing for a photo, the information for that and subsequent photos may appear as the wrong metadata property.If your CSV has cells that contain the character you are using for a delimiter, are those values wrapped in quotes? For example "my field, which contains a comma".If your CSV file has cells separated by something other than, did you configure this in the Delimiter setting?.Use the URI for the desired property as your column title, for example,. Check the vocabularies known to Tropy in Preferences > Vocabularies. Are all the metadata properties used as column titles known by Tropy? You may need to import additional vocabularies, or check the column titles are written exactly as Tropy is expecting. ![]() If you still have problems, please let us know in the Tropy forums and we can help out. In these cases, there's a number of things you can check. This might appear as an error message inside Tropy, or some information not appearing correctly. Occasionally, the plugin may have issues importing from a CSV file. You must use the same columns for all photos in an import file, even if some of the columns are blank for some photos. If you wish to include multiple photos for an item, add more copies of the group of columns used for the first photo (beginning with and optionally followed by metadata columns and notes) to the end of that row in the CSV file, one copy of the group of columns per photo. Any photo metadata columns come after the path column, and finally a column if you wish to include notes for that photo. If it is a relative path, this will be interpreted relative to the location of the CSV file at the time of import. The path can be a URL, absolute path or relative path. If you wish to include a photo for your item, there must be a column after (to the right of) all of the item metadata columns, which contains the path to the photo. The first few columns in the CSV file, until either the end of the CSV or a column with the title is present, are for metadata that will appear on the imported item. ![]() ![]() The CSV file must have column names as the first row, and these names must all be property names that are present in Tropy, for example not just "title".Įach row in the CSV file represents an item in Tropy. To see an example of the format, run the export function of this plugin, and look particularly at the column names in the first row. Import requires you to make a CSV file of a particular format. In Tropy, navigate to Preferences… > Plugins and click Install Plugin to select the downloaded ZIP file. zip file, named tropy-plugin-csv plus a version number, from the latest release on GitHub. Tropy plugin to import items from a CSV file, and export your items to CSV.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |