Can I create a table with various data (for example description, size, color, price), but import these data dynamically from an external archive, txt or other filetype which acts as a database?
I need to create a table for a catalog, each page with a photo and a data table. The data are updated by other people. I would like to load the SVG file of the catalog, and automatically see the tables updated with the new data
When I say 'dynamic' I mean that when I open the SVG file, the fields in the table will be updated with the data in the txt/csv file.
It's the same when I insert an image into Inkscape. If I link a jpeg into my project and save, if in the meanwhile the image is updated (a cat instead of a dog, for example), at the next SVG File/open Inkscape will show me the image with the cat in my project
Can I create a table with various data (for example description, size, color, price), but import these data dynamically from an external archive, txt or other filetype which acts as a database?
I need to create a table for a catalog, each page with a photo and a data table. The data are updated by other people. I would like to load the SVG file of the catalog, and automatically see the tables updated with the new data
I would require some programming ( usually in python )
When Inkscape installs ( 1.2 onwards ) it includes the python standard library and a couple of extra libraries.
The standard library has support for import text files / html / xml file and .csv files
Inkscape includes PIL ( pillow ) which can be used to import a large number of image formats.
It does not however include pandas, which would probably be needed to import excel files without saving as .csv
When you say 'dynamic' if you mean constantly monitoring a source and updating the document in Inkscape - then no.
If you mean to be able to save the document in Inscape and have the other document then probably not.
However if you know javascript - this is something you could probably write in a browser instead ?
When I say 'dynamic' I mean that when I open the SVG file, the fields in the table will be updated with the data in the txt/csv file.
It's the same when I insert an image into Inkscape. If I link a jpeg into my project and save, if in the meanwhile the image is updated (a cat instead of a dog, for example), at the next SVG File/open Inkscape will show me the image with the cat in my project
If you want it to happen on file opening:
https://inkscape.gitlab.io/extensions/documentation/tutorial/my-first-import-extension.html
However the PIL / csv code would need to be written as mentioned above.