This is currently only built for Unix based operating systems such as Mac OSX and Linux
Make sure you already have Python 2.7 and pip installed
pip install tadc-import-validator| <div id="tarlSearchBox"> | |
| <h2 id="tarlSearchTitle">Search for reading lists by module name</h2> | |
| <p id="tarlSearchDescription"></p> | |
| <form id="tarlSearch" method="get" action="https://{{tenantShortCode}}.rl.talis.com/search.html"> | |
| <div> | |
| <label for="q" class="invisible sr-only">Search</label> | |
| <input id="q" type="text" name="q" size="50" maxlength="1000"> | |
| <input id="tarlBtnSearch" type="submit" value="Search"> | |
| </div> | |
| </form> |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <basic_lti_link xmlns="http://www.imsglobal.org/xsd/imsbasiclti_v1p0" | |
| xmlns:lticm ="http://www.imsglobal.org/xsd/imslticm_v1p0" | |
| xmlns:lticp ="http://www.imsglobal.org/xsd/imslticp_v1p0" | |
| xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation = "http://www.imsglobal.org/xsd/imsbasiclti_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imsbasiclti_v1p0.xsd | |
| http://www.imsglobal.org/xsd/imslticm_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticm_v1p0.xsd | |
| http://www.imsglobal.org/xsd/imslticp_v1p0 http://www.imsglobal.org/xsd/lti/ltiv1p0/imslticp_v1p0.xsd"> | |
| <title>Talis Reading Lists</title> | |
| <description>Talis Aspire Reading Lists LTI Integration</description> |
| # Here we assume that $TALIS_API_CLIENT_ID and $TALIS_API_CLIENT_SECRET are set in your environment | |
| # A sub shell runs the persona-token script and will return the token we need in the Authorization Bearer header. | |
| curl -v -X GET -H "Authorization: Bearer $(persona-token $TALIS_API_CLIENT_ID $TALIS_API_CLIENT_SECRET)"\ | |
| -H "Cache-Control: no-cache"\ | |
| "https://rl.talis.com/2/$TENANT_SHORT_CODE/lists/$LIST_GUID" |
| curl -X GET -H "Authorization: Bearer $YOUR_TOKEN_HERE"\ | |
| -H "Cache-Control: no-cache"\ | |
| "https://rl.talis.com/2/$TENANT_SHORT_CODE/lists/$LIST_GUID" |
| # Assuming that TALIS_API_CLIENT_ID and TALIS_API_CLIENT_SECRET are set in your environment | |
| curl -sS -u $TALIS_API_CLIENT_ID:$TALIS_API_CLIENT_SECRET\ | |
| https://users.talis.com/oauth/tokens\ | |
| -d 'grant_type=client_credentials' |
| #!/bin/bash | |
| # Usage: persona-token <client_id> <client_secret> | |
| # you are advised to add your client secret to an environment variable so that you are not leaving secrets in your command history. | |
| PERSONA_HOST='users.talis.com' | |
| CLIENT=$1 | |
| SECRET=$2 | |
| TOKEN=$(curl -sS -u $CLIENT:$SECRET http://${PERSONA_HOST}/oauth/tokens -d 'grant_type=client_credentials'|sed -e 's/{"access_token":"\(.*\)","expires_in":\(.*\),"token_type":"\(.*\)","scope":"\(.*\)"}/\1/g') | |
| echo $TOKEN |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install yaz
yaz-client will then be available and you can use it like this:
run the program and you get a Z> prompt.
| javascript:if(!window.jQuery||confirm('Overwrite\x20current\x20version?\x20v'+jQuery.fn.jquery))(function(d,s){s=d.createElement('script');s.src='https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.js';(d.head||d.documentElement).appendChild(s)})(document); |
| #!/bin/bash | |
| #usage: ./getDOIfiles myRisFile.ris | |
| if [[ -z $CROSSREF_PID ]] | |
| then | |
| echo "CROSSREF_PID is not set in your env" | |
| exit | |
| fi |