DaBInImporter
git-svn-id: https://svn.libreccm.org/ccm/trunk@789 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
ee70d0bd4f
commit
3a667d8341
|
|
@ -2830,6 +2830,7 @@ public class DaBInImporter extends Program {
|
||||||
myPublication.save();
|
myPublication.save();
|
||||||
|
|
||||||
System.out.println("OK");
|
System.out.println("OK");
|
||||||
|
i++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (publicationDe == null) {
|
if (publicationDe == null) {
|
||||||
|
|
@ -3197,6 +3198,11 @@ public class DaBInImporter extends Program {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (publisherData.getName().length() == 0) {
|
||||||
|
System.out.println("Publisher has no name skiping.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (publisherData.getName().length() < 3) {
|
if (publisherData.getName().length() < 3) {
|
||||||
System.out.printf(
|
System.out.printf(
|
||||||
"WARNING: The name of the publisher '%s' is very short.",
|
"WARNING: The name of the publisher '%s' is very short.",
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@ public class PublicationData {
|
||||||
System.out.println(
|
System.out.println(
|
||||||
"\t***WARNING: Title of publication is too long for URL. Triming to title to a length of 200 characters for URL.");
|
"\t***WARNING: Title of publication is too long for URL. Triming to title to a length of 200 characters for URL.");
|
||||||
return DaBInImporter.normalizeString(name.substring(
|
return DaBInImporter.normalizeString(name.substring(
|
||||||
0, 200));
|
0, 175));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if (name.length() < 200) {
|
/* if (name.length() < 200) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue