Browse Source

Require input field, add example value and title

Previously the bridge could be requested without any journal causing
error 403 due to broken URL.
logmanoriginal 7 years ago
parent
commit
399fce06ce
1 changed files with 4 additions and 1 deletions
  1. 4 1
      bridges/ElsevierBridge.php

+ 4 - 1
bridges/ElsevierBridge.php

@@ -18,7 +18,10 @@ class ElsevierBridge extends BridgeAbstract{
       '[
          {
            "name" : "Journal name",
-           "identifier" : "j"
+           "identifier" : "j",
+           "required" : "true",
+           "exampleValue" : "academic-pediatrics",
+           "title" : "Insert html-part of your journal"
          }
        ]';
   }