Skip to content

Commit

Permalink
finished slides and negatives
Browse files Browse the repository at this point in the history
  • Loading branch information
SteffenHankiewicz committed Jun 8, 2024
1 parent aea5e2d commit 7b201cf
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 16 deletions.
1 change: 1 addition & 0 deletions install/plugin_intranda_export_adm_bsme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<mediaType>$(template.Media Type)</mediaType>
<mediaGroup>$(template.Media Group)</mediaGroup>
<sourceOrganisation>$(template.Source Organization)</sourceOrganisation>
<frequency>$(template.Issue Frequency)</frequency>
<eventName>$(template.Event Name)</eventName>
<eventDate>$(template.Event Date)</eventDate>
<subject>$(template.Subject)</subject>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ public static String getLanguageFullname(DocStruct ds, String field) {
String lang = getMetdata(ds, field);
switch (lang) {
case "Arabic":
return "عربي Arabic";
return "عربي - Arabic";
case "ara":
return "عربي Arabic";
return "عربي - Arabic";
case "English":
return "انجليزي English";
return "انجليزي - English";
case "eng":
return "انجليزي English";
return "انجليزي - English";
case "ger":
return "German";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ public boolean startExport() {
volume.addContent(new Element("Media_Source").setText(source));
volume.addContent(new Element("Media_type").setText(mediaType));
volume.addContent(new Element("Media_Group").setText(mediaGroup));
// not needed anymore
// volume.addContent(new Element("Publication_ID").setText(volumeId));
volume.addContent(new Element("Publication_Name")
.setText(AdmBsmeExportHelper.getMetdata(anchor, config.getString("/metadata/titleLabel"))));
volume.addContent(new Element("Language")
.setText(AdmBsmeExportHelper.getLanguageFullname(anchor, config.getString("/metadata/language"))));
volume.addContent(
new Element("Source_Organization").setText(sourceOrganisation));

// volume.addContent(new Element("Publication_ID").setText(volumeId));

// add all journal entries as technical notes
if (process.getJournal() != null) {
Element technicalNotes = new Element("Technical_Notes");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,7 @@ public boolean startExport() {
info.addContent(new Element("Right_Details").setText(rightsDetails));
info.addContent(new Element("Media_Source").setText(source));
info.addContent(new Element("Media_type").setText(mediaType));
// info.addContent(new Element("Media_Group").setText(mediaGroup));
info.addContent(new Element("Envelope_Barcode").setText(identifier));

info.addContent(new Element("Publication_Name")
.setText(AdmBsmeExportHelper.getMetdata(topStruct, config.getString("/metadata/titleLabel"))));
info.addContent(
Expand All @@ -130,6 +128,8 @@ public boolean startExport() {
info.addContent(new Element("location").setText(locations));
info.addContent(new Element("Description").setText(description));

// info.addContent(new Element("Media_Group").setText(mediaGroup));

// add all journal entries as technical notes
if (process.getJournal() != null) {
Element technicalNotes = new Element("Technical_Notes");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,15 +134,15 @@ public boolean startExport() {
volume.addContent(new Element("Media_Source").setText(source));
volume.addContent(new Element("Media_type").setText(mediaType));
volume.addContent(new Element("Media_Group").setText(mediaGroup));
// not needed anymore
// volume.addContent(new Element("Publication_ID").setText(volumeId));
volume.addContent(new Element("Publication_Name")
.setText(AdmBsmeExportHelper.getMetdata(anchor, config.getString("/metadata/titleLabel"))));
volume.addContent(new Element("Language")
.setText(AdmBsmeExportHelper.getLanguageFullname(anchor, config.getString("/metadata/language"))));
volume.addContent(
new Element("Source_Organization").setText(sourceOrganisation));

// volume.addContent(new Element("Publication_ID").setText(volumeId));

// add all journal entries as technical notes
if (process.getJournal() != null) {
Element technicalNotes = new Element("Technical_Notes");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,23 +113,23 @@ public boolean startExport() {
info.addContent(new Element("Right_Details").setText(rightsDetails));
info.addContent(new Element("Media_Source").setText(source));
info.addContent(new Element("Media_type").setText(mediaType));
// info.addContent(new Element("Media_Group").setText(mediaGroup));
info.addContent(new Element("Envelope_Barcode").setText(identifier));

info.addContent(new Element("Publication_Name")
.setText(AdmBsmeExportHelper.getMetdata(topStruct, config.getString("/metadata/titleLabel"))));
info.addContent(
new Element("Source_Organization").setText(sourceOrganisation));
info.addContent(new Element("Barcode").setText(identifier));
info.addContent(new Element("Event_Date").setText(eventDate));
info.addContent(new Element("Event_Name").setText(eventName));
info.addContent(new Element("Subject").setText(subject));
info.addContent(new Element("Photographer").setText(photographer));
info.addContent(new Element("Film_Format").setText(format));
info.addContent(new Element("Format").setText(format));
info.addContent(new Element("Persons_in_Image").setText(personsInImage));
info.addContent(new Element("Editor_in_Chief").setText(editorInChief));
info.addContent(new Element("location").setText(locations));
info.addContent(new Element("Description").setText(description));

// info.addContent(new Element("Editor_in_Chief").setText(editorInChief));
// info.addContent(new Element("Media_Group").setText(mediaGroup));
// info.addContent(new Element("Subject").setText(subject));

// add all journal entries as technical notes
if (process.getJournal() != null) {
Element technicalNotes = new Element("Technical_Notes");
Expand Down

0 comments on commit 7b201cf

Please sign in to comment.