doi_datacite.xslt: put 'affiliation' afte 'nameIdentifier'

- EditotController.php: add addAlternateLandingPageAttribute for doir registration
- RequestController.php: show correct alternaeIdentifier
This commit is contained in:
Arno Kaimbacher 2022-01-19 16:09:50 +01:00
parent 76b351fb73
commit 2e1cca030b
3 changed files with 36 additions and 7 deletions

View file

@ -609,7 +609,9 @@ class RequestController extends Controller
*/
private function addLandingPageAttribute(\DOMNode $document, $dataid)
{
$url = route('frontend.dataset.show', $dataid);
// $url = route('frontend.dataset.show', $dataid);
$base_domain = config('tethys.base_domain');
$url ='https://' . get_domain($base_domain) . "/dataset/" . $dataid;
$owner = $document->ownerDocument;
$attr = $owner->createAttribute('landingpage');