...
I have not been able to do a batch creation of PURLs
using PURLZ 1.2. I am using curl to do an authentication and then a POST and I get a cryptic error message as a result.
No Format |
---|
$ curl -b cookies.txt -c cookies.txt -d "id=bdc34&password=test&referrer=doc/test" --url http://corson-mac.mannlib.cornell.edu:8080/admin/login/login-submit.bsh |
Image Removed
$ ./generateXml.py 1000 | curl -b cookies.txt -c cookies.txt --url http://corson-mac.mannlib.cornell.edu:8080/admin/purls |
Image Removed
generateXml.py is a python script that generates output like:
No Format |
---|
<?xml version="1.0"?> |
<purl id="/tld/subdomain/test0" type="301"> |
<maintainers><maintainer id="bdc34"/></maintainers> |
<target url="http://example.com/test0"/> |