Skip to content

Commit b0fe2dd

Browse files
authored
Update README.md
1 parent 7bd705a commit b0fe2dd

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,30 @@
11
# dspace-editing
2+
3+
expects a secrets.py file something like the following:
4+
```
5+
baseURL='https://dspace.myuni.edu'
6+
# credentials for an authorized dspace user
7+
email='dspace_user@.myuni.edu'
8+
password='my_dspace_password'
9+
# full path to a directory into which to store output
10+
filePath = '/Users/dspace_user/dspace-data-collection/data/'
11+
# handlePrefix may vary from your dspace url (or may not)
12+
handlePrefix = 'http://dspace.myuni.edu/handle/'
13+
```
14+
this file will be gitignored.
15+
16+
*Note that all of these scripts skip collection '24' for local reasons. To change this, edit the following portion of the script (typically between line 27-39)
17+
18+
Skips collection 24
19+
20+
for j in range (0, len (collections)):
21+
collectionID = collections[j]['id']
22+
if collectionID != 24:
23+
offset = 0
24+
25+
No collections skipped:
26+
27+
for j in range (0, len (collections)):
28+
collectionID = collections[j]['id']
29+
if collectionID != 0:
30+
offset = 0

0 commit comments

Comments
 (0)