Skip to content

Commit

Permalink
using the new zbmath_rest_api format to create a new crosswalk
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazztok45 committed Feb 7, 2024
1 parent 9487bba commit 1c824dc
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_DATACITE","formatFrom":"radar","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":"Radar2OAI_DATACITE3","formatFrom":"zbmath_rest_api","formatTo":"datacite","xsltStylesheet":'"$VAR_XSLT_RADAR_DATACITE}"'}'

0 comments on commit 1c824dc

Please sign in to comment.