-
Notifications
You must be signed in to change notification settings - Fork 32
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
[feature request] Enhance ocrd workspace bulk-add
to add URL entries instead of files
#1086
Comments
Good point. I need to fix the bulk-add mechanism to be compatible with #1079, I'll implement in such a way, that it will be possible to set both the local filename and remote URL. |
bulk-add: Distinguish url and local_filename, fix #1086
It took some time, but now I could use the new code in a real use case. Running
Would it be reasonable to change that, so that only a URL entry is added if only the |
Note: you can do that with mm-update, too. (It's what we use in the OCR-D Manager. But I am also for more flexibility of bulk-add. Also mentioned in #1150. (And somewhat related: #1179.) |
ocrd workspace bulk-add
can be used to add ALTO XML files to an existing METS file (see example). The new entries refer to the local files which were added, but for the production use on a web server the METS file must contain a URL for each ALTO XML file. So after running theocrd
command, additional processing like in the example is required. It would be nice if that additional processing could be avoided.The text was updated successfully, but these errors were encountered: