Skip to content
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

3.0.0: Missing ruleset files #3137

Closed
mnscholz opened this issue Feb 4, 2020 · 3 comments
Closed

3.0.0: Missing ruleset files #3137

mnscholz opened this issue Feb 4, 2020 · 3 comments

Comments

@mnscholz
Copy link
Contributor

mnscholz commented Feb 4, 2020

In the 3.0.0 release, the database is initialized with three rulesets:
INSERT INTO ruleset VALUES (1,'Simple book','simple-book.xml',0,'INDEX',1,1),(2,'SUBHH','subhh.xml',0,'INDEX',1,1),(3,'DFG-Viewer','dfg-viewer.xml',0,'INDEX',1,1);

In the config.zip file, however, there is only a ruleset_default.xml.

This results in a blank screen when creating a process.

@matthias-ronge
Copy link
Collaborator

The rulesets mentioned can be found here, some more examples can be found in this folder. You must install them separately in the directory you specified in your local copy of file kitodo_config.properties as directory.rulesets.
Please note that these rulesets are just examples. You have to code your local specialist logic in your own rulesets.

@mnscholz
Copy link
Contributor Author

mnscholz commented Feb 5, 2020

Thanks for the hints to the example files!
I mainly wanted to point out that there is an inconsitency between db and fs in the release.
Before creating an own ruleset, I the examples are great for testing and playing...

@matthias-ronge
Copy link
Collaborator

A certain ruleset is required for the import to work. I would like to suggest that any rule sets are removed from both the database and the project, and instead only the one or maybe two rulesets (from Hamburg and Dresden libraries) that match to the import XSLT are configured and delivered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants