Skip to content

Commit

Permalink
Fix crosswalk parameters
Browse files Browse the repository at this point in the history
* Rename the template
* Fix the target NS

cf. #20
  • Loading branch information
physikerwelt committed Feb 7, 2024
1 parent 1c824dc commit 162140d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xslt/xslt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ AUTH=$(echo -n "$OAI_BASIC_USER:$OAI_BASIC_PASSWORD" | base64)
XSLT_RADAR_DATACITE='cat xslt-article-transformation.xslt | jq -Rsa . '
VAR_XSLT_RADAR_DATACITE=$(eval "$XSLT_RADAR_DATACITE")

curl --noproxy '*' -X POST -H 'Content-Type: application/json' -i 'https://oai-input.portal.mardi4nfdi.de/oai-backend/crosswalk' --header "Authorization: Basic $AUTH" --data '{"name":"Radar2OAI_DATACITE3","formatFrom":"zbmath_rest_api","formatTo":"datacite","xsltStylesheet":'"$VAR_XSLT_RADAR_DATACITE}"'}'
curl --noproxy '*' -X POST -H 'Content-Type: application/json' -i 'https://oai-input.portal.mardi4nfdi.de/oai-backend/crosswalk' --header "Authorization: Basic $AUTH" --data '{"name":"rest2preview","formatFrom":"zbmath_rest_api","formatTo":"oai_zb_preview","xsltStylesheet":'"$VAR_XSLT_RADAR_DATACITE}"'}'

0 comments on commit 162140d

Please sign in to comment.