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

No Tif-Header Values if Process Title generated #4466

Open
m-kotzyba opened this issue Jun 10, 2021 · 2 comments
Open

No Tif-Header Values if Process Title generated #4466

m-kotzyba opened this issue Jun 10, 2021 · 2 comments

Comments

@m-kotzyba
Copy link
Collaborator

During the creation of new Process via OPAC, the Process Title (Vorgangstitel) generation does not set any values in the Tif-Header Image-Beschreibung.

Cf. Screenshot including the comparison to a properly working Kitodo 2 system.

Are there any adaptations in the (old) kitodo_projects.xml necessary or are adaptations in the kitodo_opac.xml, resp. pica2kitodo.xsl required? This is related to #3777.

empty_tif_header

@matthias-ronge
Copy link
Collaborator

matthias-ronge commented Jun 11, 2021

Yes, if you use a ruleset that differs from the settings in the kitodo_projects.xml file, then you have to adapt the file. The file is a relic from Production version 2. A description (in German) is available here.

Screenshot

The <item> lines do a mapping from the key id (metadata="…") to a display label, which is then used to build the TIFF header.

@m-kotzyba
Copy link
Collaborator Author

As far as I could figure out, not the item values (e.g. “Erscheinungsjahr”) but the metadata from the (new) ruleset (e.g. PublicationYear) have to be used in the tifheader section. At least it works for our system (cf. Screenshot 1)

projects

However, it seems that the declaration in the <item … > … </item> section is ignored.

Another issue is that the first line in the tifheader section

<monograph>'|[[DOC_TYPE]]'+docType+'|[[HAUPTTITEL]]'+TitleDocMain+'|[[AUTOREN/HERAUSGEBER]]'+ContributorPerson+'|[[JAHR]]'+PublicationYear+'|[[ERSCHEINUNGSORT]]'+PlaceOfPublication+'|[[VERZ_STRCT]]'+TSL_ATS+'_'+CatalogIDDigital+'|'</monograph>

is taken always even if a multivolume is selected in the OPAC search. Is there a way to change this? (cf. Scheenshot 2 where a multivolume is selected but the monograph tifheader configuration is used).

gui

In contrast, the configuration according to different Project-Names is considered and used (otherwise the default configuration is used).


--> That is, it would be nice to know what values/sections/constrains from the kitodo_projects.xml are used and which are ignored in the end.
--> Finally, what is the right syntax to select sub-key values. For example, the ruleset has the id=Person and a sub-key with id=LastName. How to access this? “Person.LastName” or “Person:LastName” do not work.

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