Commit 4a42b5de authored by Steinberg, Jan's avatar Steinberg, Jan

first pdf only

parent f3a1998a
......@@ -122,7 +122,7 @@ public class FeedingContextFactory {
String targetId = target.getReference();
String key = sourceId + "$$" + targetId;
log.debug("Looking up MetadataTransformer for key {}", key);
log.debug("Looking up BundleFilter for key {}", key);
switch (key) {
case "http://dspace.wbv.de:8888/oai/request$$ssoar":
log.debug("using http://dspace.wbv.de:8888/oai/request$$ssoar");
......@@ -137,6 +137,7 @@ public class FeedingContextFactory {
result = new Aseas2SsoarBundleFilter();
break;
case "https://ubp.uni-bamberg.de/jfr/index.php/jfr/oai/$$ssoar":
case "https://ubp.uni-bamberg.de/jfr/index.php/jfr/oai$$ssoar":
log.info("using Jfr2SsoarBundleFilter");
result = new Jfr2SsoarBundleFilter();
break;
......
......@@ -322,9 +322,9 @@ public class ContentResolver {
}
private static ContentsUrlsResolvingStrategy getStrategy(String seedUrlString) {
log.debug("seedUrlString is {}", seedUrlString);
log.info("seedUrlString is {}", seedUrlString);
ContentsUrlsResolvingStrategy result;
if ( seedUrlString.contains("wbv.de") || seedUrlString.contains("budrich-academic.de") ) {
if ( seedUrlString.contains("wbv.de") || seedUrlString.contains("budrich-academic.de") || seedUrlString.contains("uni-bamberg.de")) {
result = new UseNthPdfOnPageStrategy(0);
}
else if ( seedUrlString.contains("journals.sub.uni-hamburg.de") || seedUrlString.contains("degruyter.com") ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment