kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
60 stars 65 forks source link

No Tif-Header Values if Process Title generated #4466

Open m-kotzyba opened 3 years ago

m-kotzyba commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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.