sufia 0.0.1.pre1 → 0.0.1.pre2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -2
- data/Gemfile +2 -1
- data/README.md +19 -15
- data/Rakefile +2 -0
- data/app/controllers/batch_controller.rb +2 -3
- data/app/controllers/contact_form_controller.rb +1 -0
- data/app/controllers/dashboard_controller.rb +2 -2
- data/app/controllers/generic_files_controller.rb +24 -12
- data/app/controllers/mailbox_controller.rb +2 -2
- data/app/controllers/single_use_link_controller.rb +5 -5
- data/app/controllers/users_controller.rb +10 -10
- data/app/helpers/{application_helper.rb → sufia_helper.rb} +5 -13
- data/app/models/audit_job.rb +3 -4
- data/app/models/batch.rb +2 -0
- data/app/models/batch_update_job.rb +4 -6
- data/app/models/checksum_audit_log.rb +2 -0
- data/app/models/contact_form.rb +2 -0
- data/app/models/content_delete_event_job.rb +1 -1
- data/app/models/content_deposit_event_job.rb +2 -2
- data/app/models/content_new_version_event_job.rb +2 -2
- data/app/models/content_restored_version_event_job.rb +2 -2
- data/app/models/content_update_event_job.rb +2 -2
- data/app/models/datastreams/properties_datastream.rb +1 -1
- data/app/models/domain_term.rb +1 -0
- data/app/models/event_job.rb +1 -1
- data/app/models/generic_file.rb +5 -4
- data/app/models/local_authority.rb +1 -0
- data/app/models/local_authority_entry.rb +1 -0
- data/app/models/single_use_link.rb +2 -2
- data/app/models/user_edit_profile_event_job.rb +1 -1
- data/app/models/user_follow_event_job.rb +2 -2
- data/app/models/user_unfollow_event_job.rb +2 -2
- data/app/models/version_committer.rb +1 -0
- data/app/views/_footer.html.erb +21 -0
- data/app/views/_logo.html.erb +3 -0
- data/app/views/_masthead.html.erb +38 -0
- data/app/views/_user_util_links.html.erb +14 -43
- data/app/views/catalog/_document_list.html.erb +0 -7
- data/app/views/catalog/_home_text.html.erb +4 -4
- data/app/views/catalog/_recent_document.html.erb +5 -5
- data/app/views/contact_form/_directions.html.erb +4 -0
- data/app/views/contact_form/new.html.erb +2 -4
- data/app/views/dashboard/_document_list.html.erb +1 -8
- data/app/views/dashboard/_facets.html.erb +1 -1
- data/app/views/dashboard/_index_partials/_list_files.html.erb +1 -1
- data/app/views/dashboard/_index_partials/_thumbnail_display.html.erb +6 -6
- data/app/views/dashboard/_search_form.html.erb +1 -1
- data/app/views/dashboard/index.html.erb +26 -25
- data/app/views/generic_files/_media_display.html.erb +5 -5
- data/app/views/generic_files/_permission.html.erb +11 -11
- data/app/views/generic_files/edit.html.erb +10 -8
- data/app/views/generic_files/show.html.erb +16 -12
- data/app/views/layouts/error.html.erb +2 -53
- data/app/views/layouts/hydra-head.html.erb +2 -21
- data/app/views/mailbox/index.html.erb +1 -1
- data/app/views/static/about.html.erb +2 -65
- data/app/views/static/help.html.erb +1 -721
- data/app/views/users/_search_form.html.erb +1 -1
- data/app/views/users/edit.html.erb +6 -3
- data/config/locales/sufia.en.yml +6 -0
- data/config/routes.rb +1 -3
- data/features/browse_dashboard_files.feature +1 -1
- data/features/display_dashboard.feature +1 -1
- data/features/step_definitions/fixture_steps.rb +2 -2
- data/features/step_definitions/user_steps.rb +12 -8
- data/features/support/env.rb +9 -0
- data/features/support/paths.rb +21 -21
- data/lib/generators/sufia/sufia_generator.rb +46 -4
- data/lib/generators/sufia/templates/catalog_controller.rb +2 -2
- data/lib/generators/sufia/templates/config/redis_config.rb +20 -0
- data/lib/generators/sufia/templates/config/sufia.rb +29 -0
- data/lib/generators/sufia/templates/migrations/add_groups_to_users.rb +0 -4
- data/lib/sufia.rb +22 -15
- data/lib/sufia/active_fedora/redis.rb +49 -0
- data/lib/{generators/sufia/templates/config/active_record_base_redis.rb → sufia/active_record/redis.rb} +1 -16
- data/lib/sufia/controller.rb +1 -2
- data/lib/sufia/http_header_auth.rb +9 -0
- data/lib/sufia/role_mapper.rb +1 -0
- data/lib/sufia/user.rb +24 -6
- data/lib/sufia/version.rb +1 -1
- data/lib/tasks/fixtures.rake +245 -0
- data/spec/.gitignore +1 -0
- data/spec/active_fedora/unsaved_digital_object_spec.rb +2 -2
- data/spec/config/host_to_vhost_spec.rb +8 -8
- data/spec/controllers/batch_controller_spec.rb +6 -6
- data/spec/controllers/catalog_controller_spec.rb +2 -0
- data/spec/controllers/dashboard_controller_spec.rb +13 -10
- data/spec/controllers/downloads_controller_spec.rb +8 -8
- data/spec/controllers/generic_files_controller_spec.rb +46 -44
- data/spec/controllers/mailbox_controller_spec.rb +6 -12
- data/spec/controllers/sessions_controller_spec.rb +8 -6
- data/spec/controllers/single_use_link_controller_spec.rb +9 -14
- data/spec/controllers/users_controller_spec.rb +49 -49
- data/spec/{factories.rb → factories/users.rb} +6 -3
- data/spec/fixtures/scholarsphere/scholarsphere_test2.foxml.erb +2 -2
- data/spec/fixtures/scholarsphere/scholarsphere_test3.foxml.erb +2 -2
- data/spec/fixtures/scholarsphere/scholarsphere_test4.foxml.erb +2 -2
- data/spec/fixtures/scholarsphere/scholarsphere_test6.foxml.erb +2 -2
- data/spec/fixtures/scholarsphere/sufia_scholarsphere1.descMeta.txt +12 -0
- data/spec/fixtures/scholarsphere/sufia_scholarsphere1.foxml.erb +79 -0
- data/spec/fixtures/scholarsphere/sufia_scholarsphere1.txt +1 -0
- data/spec/fixtures/scholarsphere/{scholarsphere_test1.foxml.erb → sufia_test1.foxml.erb} +6 -6
- data/spec/fixtures/scholarsphere/{scholarsphere_test5.foxml.erb → sufia_test5.foxml.erb} +5 -5
- data/spec/fixtures/scholarsphere_generic_stub.foxml.erb +5 -5
- data/spec/lib/{scholarsphere → sufia}/id_service_spec.rb +5 -5
- data/spec/lib/{scholarsphere → sufia}/role_mapper_spec.rb +5 -2
- data/spec/models/audit_job_spec.rb +1 -1
- data/spec/models/batch_spec.rb +2 -2
- data/spec/models/batch_update_job_spec.rb +5 -5
- data/spec/models/checksum_audit_log_spec.rb +1 -1
- data/spec/models/event_jobs_spec.rb +19 -19
- data/spec/models/file_content_datastream_spec.rb +6 -6
- data/spec/models/fits_datastream_spec.rb +1 -1
- data/spec/models/generic_file_spec.rb +8 -9
- data/spec/models/local_authority_spec.rb +3 -3
- data/spec/models/single_use_link_spec.rb +5 -5
- data/spec/models/unzip_job_spec.rb +1 -1
- data/spec/models/user_spec.rb +5 -26
- data/spec/rake/scholarsphere_fixtures_spec.rb +13 -12
- data/spec/routing/route_spec.rb +4 -41
- data/spec/spec_helper.rb +14 -4
- data/spec/support/Gemfile +21 -0
- data/spec/support/config/redis.yml +6 -0
- data/spec/support/lib/generators/test_app_generator.rb +40 -0
- data/sufia.gemspec +4 -2
- data/tasks/cucumber.rake +0 -6
- data/tasks/jetty.rake +40 -0
- data/tasks/scholarsphere-dev.rake +57 -17
- data/tasks/scholarsphere-fixtures.rake +16 -63
- metadata +74 -55
- data/.rvmrc +0 -59
- data/LICENSE +0 -22
- data/app/assets/images/site_images/logo_psuss_logotype.png +0 -0
- data/app/assets/images/site_images/logo_psuss_shield.png +0 -0
- data/lib/generators/sufia/templates/config/active_fedora_base_redis.rb +0 -54
- data/lib/sufia/ldap.rb +0 -123
- data/spec/fixtures/hydra_test_default_partials.foxml.xml +0 -80
- data/spec/fixtures/hydra_test_generic_content.foxml.xml +0 -138
- data/spec/fixtures/hydra_test_generic_image.foxml.xml +0 -395
- data/spec/fixtures/hydra_test_no_model.foxml.xml +0 -79
- data/spec/fixtures/hydrangea_fixture_archivist_only_mods_article.foxml.xml +0 -1212
- data/spec/fixtures/hydrangea_fixture_file_asset1.foxml.xml +0 -4946
- data/spec/fixtures/hydrangea_fixture_mods_article1.foxml.xml +0 -234
- data/spec/fixtures/hydrangea_fixture_mods_article2.foxml.xml +0 -177
- data/spec/fixtures/hydrangea_fixture_mods_article3.foxml.xml +0 -170
- data/spec/fixtures/hydrangea_fixture_mods_dataset1.foxml.xml +0 -187
- data/spec/fixtures/hydrangea_fixture_uploaded_svg1.foxml.xml +0 -676
- data/spec/fixtures/hydrus_admin_class1.foxml.xml +0 -176
- data/spec/fixtures/libra-oa_1.foxml.xml +0 -2324
- data/spec/fixtures/libra-oa_2.foxml.xml +0 -2422
- data/spec/fixtures/libra-oa_7.foxml.xml +0 -1735
@@ -1,234 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<foxml:digitalObject VERSION="1.1" PID="hydrangea:fixture_mods_article1"
|
3
|
-
xmlns:foxml="info:fedora/fedora-system:def/foxml#"
|
4
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
-
xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
|
6
|
-
<foxml:objectProperties>
|
7
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
|
8
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE=""/>
|
9
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
|
10
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2010-06-17T19:56:19.301Z"/>
|
11
|
-
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-17T19:57:30.688Z"/>
|
12
|
-
</foxml:objectProperties>
|
13
|
-
<foxml:datastream ID="AUDIT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="false">
|
14
|
-
<foxml:datastreamVersion ID="AUDIT.0" LABEL="Audit Trail for this object" CREATED="2010-06-17T19:56:19.301Z" MIMETYPE="text/xml" FORMAT_URI="info:fedora/fedora-system:format/xml.fedora.audit">
|
15
|
-
<foxml:xmlContent>
|
16
|
-
<audit:auditTrail xmlns:audit="info:fedora/fedora-system:def/audit#">
|
17
|
-
<audit:record ID="AUDREC1">
|
18
|
-
<audit:process type="Fedora API-M"/>
|
19
|
-
<audit:action>addDatastream</audit:action>
|
20
|
-
<audit:componentID>descMetadata</audit:componentID>
|
21
|
-
<audit:responsibility>fedoraAdmin</audit:responsibility>
|
22
|
-
<audit:date>2010-06-17T19:56:22.150Z</audit:date>
|
23
|
-
<audit:justification></audit:justification>
|
24
|
-
</audit:record>
|
25
|
-
<audit:record ID="AUDREC2">
|
26
|
-
<audit:process type="Fedora API-M"/>
|
27
|
-
<audit:action>addDatastream</audit:action>
|
28
|
-
<audit:componentID>RELS-EXT</audit:componentID>
|
29
|
-
<audit:responsibility>fedoraAdmin</audit:responsibility>
|
30
|
-
<audit:date>2010-06-17T19:56:22.353Z</audit:date>
|
31
|
-
<audit:justification></audit:justification>
|
32
|
-
</audit:record>
|
33
|
-
<audit:record ID="AUDREC3">
|
34
|
-
<audit:process type="Fedora API-M"/>
|
35
|
-
<audit:action>addDatastream</audit:action>
|
36
|
-
<audit:componentID>rightsMetadata</audit:componentID>
|
37
|
-
<audit:responsibility>fedoraAdmin</audit:responsibility>
|
38
|
-
<audit:date>2010-06-17T19:56:23.335Z</audit:date>
|
39
|
-
<audit:justification></audit:justification>
|
40
|
-
</audit:record>
|
41
|
-
<audit:record ID="AUDREC4">
|
42
|
-
<audit:process type="Fedora API-M"/>
|
43
|
-
<audit:action>addDatastream</audit:action>
|
44
|
-
<audit:componentID>properties</audit:componentID>
|
45
|
-
<audit:responsibility>fedoraAdmin</audit:responsibility>
|
46
|
-
<audit:date>2010-06-17T19:56:23.477Z</audit:date>
|
47
|
-
<audit:justification></audit:justification>
|
48
|
-
</audit:record>
|
49
|
-
<audit:record ID="AUDREC5">
|
50
|
-
<audit:process type="Fedora API-M"/>
|
51
|
-
<audit:action>modifyObject</audit:action>
|
52
|
-
<audit:componentID></audit:componentID>
|
53
|
-
<audit:responsibility>fedoraAdmin</audit:responsibility>
|
54
|
-
<audit:date>2010-06-17T19:57:30.688Z</audit:date>
|
55
|
-
<audit:justification></audit:justification>
|
56
|
-
</audit:record>
|
57
|
-
</audit:auditTrail>
|
58
|
-
</foxml:xmlContent>
|
59
|
-
</foxml:datastreamVersion>
|
60
|
-
</foxml:datastream>
|
61
|
-
<foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
62
|
-
<foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for this object" CREATED="2010-06-17T19:56:19.301Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="360">
|
63
|
-
<foxml:xmlContent>
|
64
|
-
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
|
65
|
-
<dc:identifier>hydrangea:fixture_mods_article1</dc:identifier>
|
66
|
-
</oai_dc:dc>
|
67
|
-
</foxml:xmlContent>
|
68
|
-
</foxml:datastreamVersion>
|
69
|
-
</foxml:datastream>
|
70
|
-
<foxml:datastream ID="descMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
71
|
-
<foxml:datastreamVersion ID="descMetadata.0" LABEL="" CREATED="2010-06-17T19:56:22.150Z" MIMETYPE="text/xml" SIZE="19">
|
72
|
-
<foxml:xmlContent>
|
73
|
-
<mods version="3.0" xsi:schemaLocation="http://www.loc.gov/mods/v3
|
74
|
-
http://www.loc.gov/standards/mods/v3/mods-3-0.xsd" xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
75
|
-
|
76
|
-
<titleInfo>
|
77
|
-
<nonSort>THE</nonSort>
|
78
|
-
<title>ARTICLE TITLE</title>
|
79
|
-
<subTitle>SUBTITLE</subTitle>
|
80
|
-
</titleInfo>
|
81
|
-
<titleInfo type="alternative">
|
82
|
-
<title>VARYING FORM OF TITLE</title>
|
83
|
-
</titleInfo>
|
84
|
-
|
85
|
-
<name type="personal">
|
86
|
-
<namePart type="family">FAMILY NAME</namePart>
|
87
|
-
<namePart type="given">GIVEN NAMES</namePart>
|
88
|
-
<namePart type="termsOfAddress">DR.</namePart>
|
89
|
-
<displayForm>NAME AS IT APPEARS</displayForm>
|
90
|
-
<affiliation>FACULTY, UNIVERSITY</affiliation>
|
91
|
-
<role>
|
92
|
-
<roleTerm authority="marcrelator" type="text">Creator</roleTerm>
|
93
|
-
</role>
|
94
|
-
</name>
|
95
|
-
<name type="personal">
|
96
|
-
<namePart type="family">Lacks</namePart>
|
97
|
-
<namePart type="given">Henrietta</namePart>
|
98
|
-
<displayForm>HeLa</displayForm>
|
99
|
-
<affiliation>Baltimore</affiliation>
|
100
|
-
<role>
|
101
|
-
<roleTerm authority="marcrelator" type="text">Contributor</roleTerm>
|
102
|
-
</role>
|
103
|
-
</name>
|
104
|
-
<name type="corporate">
|
105
|
-
<namePart>NSF</namePart>
|
106
|
-
<role>
|
107
|
-
<roleTerm authority="marcrelator" type="text">Funder</roleTerm>
|
108
|
-
</role>
|
109
|
-
</name>
|
110
|
-
<name type="conference">
|
111
|
-
<namePart>some conference</namePart>
|
112
|
-
<role>
|
113
|
-
<roleTerm authority="marcrelator" type="text">Host</roleTerm>
|
114
|
-
</role>
|
115
|
-
</name>
|
116
|
-
|
117
|
-
<typeOfResource>text</typeOfResource>
|
118
|
-
<genre authority="local">journal article</genre>
|
119
|
-
|
120
|
-
<abstract>ABSTRACT</abstract>
|
121
|
-
<subject>
|
122
|
-
<topic>TOPIC 1</topic>
|
123
|
-
<topic>TOPIC 2</topic>
|
124
|
-
</subject>
|
125
|
-
<subject authority="AUTHORITY SOURCE (RFCD, LCSH)">
|
126
|
-
<topic>CONTROLLED TERM</topic>
|
127
|
-
</subject>
|
128
|
-
|
129
|
-
<language>
|
130
|
-
<languageTerm authority="iso639-2b" type="code">en-aus </languageTerm>
|
131
|
-
</language>
|
132
|
-
|
133
|
-
<physicalDescription>
|
134
|
-
<internetMediaType>application/pdf</internetMediaType>
|
135
|
-
<extent>36 p.</extent>
|
136
|
-
</physicalDescription>
|
137
|
-
|
138
|
-
<relatedItem type="host">
|
139
|
-
<titleInfo>
|
140
|
-
<title>TITLE OF HOST JOURNAL</title>
|
141
|
-
</titleInfo>
|
142
|
-
<originInfo>
|
143
|
-
<publisher>PUBLISHER</publisher>
|
144
|
-
<dateIssued>DATE</dateIssued>
|
145
|
-
</originInfo>
|
146
|
-
<identifier type="issn">0013-8908</identifier>
|
147
|
-
<part>
|
148
|
-
<detail type="volume">
|
149
|
-
<number>2</number>
|
150
|
-
</detail>
|
151
|
-
<detail type="level">
|
152
|
-
<number>2</number>
|
153
|
-
</detail>
|
154
|
-
<extent unit="pages">
|
155
|
-
<start>195</start>
|
156
|
-
<end>230</end>
|
157
|
-
</extent>
|
158
|
-
<date>FEB. 2007</date>
|
159
|
-
</part>
|
160
|
-
</relatedItem>
|
161
|
-
|
162
|
-
<identifier type="uri">http://URL.edu.au/</identifier>
|
163
|
-
<identifier type="doi">doi:10.1006/jmbi.1995.0238</identifier>
|
164
|
-
<location>
|
165
|
-
<url>http://URL.edu.au/</url>
|
166
|
-
</location>
|
167
|
-
<accessCondition type="restrictionOnAccess">EMBARGO NOTE</accessCondition>
|
168
|
-
<accessCondition type="use and reproduction">OPEN ACCESS</accessCondition>
|
169
|
-
|
170
|
-
</mods>
|
171
|
-
</foxml:xmlContent>
|
172
|
-
</foxml:datastreamVersion>
|
173
|
-
</foxml:datastream>
|
174
|
-
<foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
175
|
-
<foxml:datastreamVersion ID="RELS-EXT.0" LABEL="" CREATED="2010-06-17T19:56:22.353Z" MIMETYPE="text/xml" SIZE="306">
|
176
|
-
<foxml:xmlContent>
|
177
|
-
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
178
|
-
<rdf:Description rdf:about="info:fedora/hydrangea:fixture_mods_article1">
|
179
|
-
<hasModel xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/afmodel:ModsAsset"></hasModel>
|
180
|
-
</rdf:Description>
|
181
|
-
</rdf:RDF>
|
182
|
-
</foxml:xmlContent>
|
183
|
-
</foxml:datastreamVersion>
|
184
|
-
</foxml:datastream>
|
185
|
-
<foxml:datastream ID="rightsMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
186
|
-
<foxml:datastreamVersion ID="rightsMetadata.0" LABEL="" CREATED="2010-06-17T19:56:23.335Z" MIMETYPE="text/xml" SIZE="19">
|
187
|
-
<foxml:xmlContent>
|
188
|
-
<rightsMetadata xmlns="http://hydra-collab.stanford.edu/schemas/rightsMetadata/v1">
|
189
|
-
<copyright>
|
190
|
-
<human>(c)2009 The Hydra Project</human>
|
191
|
-
<human type="someSpecialisedType">Blah Blah</human>
|
192
|
-
<human type="aDifferentType">More blah</human>
|
193
|
-
<machine><a rel="license" href="http://creativecommons.org/licenses/publicdomain/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/publicdomain/88x31.png" /></a><br />This work is in the <a rel="license" href="http://creativecommons.org/licenses/publicdomain/">Public Domain</a>.</machine>
|
194
|
-
</copyright>
|
195
|
-
<access type="discover">
|
196
|
-
<human></human>
|
197
|
-
<machine>
|
198
|
-
<policy>hydra-policy:4502</policy>
|
199
|
-
<group>public</group>
|
200
|
-
</machine>
|
201
|
-
</access>
|
202
|
-
<access type="read">
|
203
|
-
<human></human>
|
204
|
-
<machine>
|
205
|
-
<group>public</group>
|
206
|
-
</machine>
|
207
|
-
</access>
|
208
|
-
<access type="edit">
|
209
|
-
<human></human>
|
210
|
-
<machine>
|
211
|
-
<person>researcher1</person>
|
212
|
-
<group>archivist</group>
|
213
|
-
</machine>
|
214
|
-
</access>
|
215
|
-
<access type="etc">
|
216
|
-
<!-- etc -->
|
217
|
-
</access>
|
218
|
-
<use>
|
219
|
-
<human>You are free to re-distribute this object, but you cannot change it or sell it. </human>
|
220
|
-
<machine><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/3.0/us/88x31.png" /></a><br />This <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Sound" rel="dc:type">work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License</a>.</machine>
|
221
|
-
</use>
|
222
|
-
|
223
|
-
</rightsMetadata>
|
224
|
-
</foxml:xmlContent>
|
225
|
-
</foxml:datastreamVersion>
|
226
|
-
</foxml:datastream>
|
227
|
-
<foxml:datastream ID="properties" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
228
|
-
<foxml:datastreamVersion ID="properties.0" LABEL="" CREATED="2010-06-17T19:56:23.477Z" MIMETYPE="text/xml" SIZE="19">
|
229
|
-
<foxml:xmlContent>
|
230
|
-
<fields></fields>
|
231
|
-
</foxml:xmlContent>
|
232
|
-
</foxml:datastreamVersion>
|
233
|
-
</foxml:datastream>
|
234
|
-
</foxml:digitalObject>
|
@@ -1,177 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<foxml:digitalObject VERSION="1.1" PID="hydrangea:fixture_mods_article2"
|
3
|
-
xmlns:foxml="info:fedora/fedora-system:def/foxml#"
|
4
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
-
xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
|
6
|
-
<foxml:objectProperties>
|
7
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
|
8
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE=""/>
|
9
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
|
10
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="2010-06-17T19:56:19.301Z"/>
|
11
|
-
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-06-17T19:57:30.688Z"/>
|
12
|
-
</foxml:objectProperties>
|
13
|
-
<foxml:datastream ID="DC" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
14
|
-
<foxml:datastreamVersion ID="DC1.0" LABEL="Dublin Core Record for this object" CREATED="2010-06-17T19:56:19.301Z" MIMETYPE="text/xml" FORMAT_URI="http://www.openarchives.org/OAI/2.0/oai_dc/" SIZE="360">
|
15
|
-
<foxml:xmlContent>
|
16
|
-
<oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
|
17
|
-
<dc:identifier>hydrangea:fixture_mods_article2</dc:identifier>
|
18
|
-
</oai_dc:dc>
|
19
|
-
</foxml:xmlContent>
|
20
|
-
</foxml:datastreamVersion>
|
21
|
-
</foxml:datastream>
|
22
|
-
<foxml:datastream ID="descMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
23
|
-
<foxml:datastreamVersion ID="descMetadata.0" LABEL="" CREATED="2010-06-17T19:56:22.150Z" MIMETYPE="text/xml" SIZE="19">
|
24
|
-
<foxml:xmlContent>
|
25
|
-
<mods version="3.0" xsi:schemaLocation="http://www.loc.gov/mods/v3
|
26
|
-
http://www.loc.gov/standards/mods/v3/mods-3-0.xsd" xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
27
|
-
|
28
|
-
<titleInfo>
|
29
|
-
<nonSort>THE</nonSort>
|
30
|
-
<title>ARTICLE TITLE</title>
|
31
|
-
<subTitle>SUBTITLE</subTitle>
|
32
|
-
</titleInfo>
|
33
|
-
<titleInfo type="alternative">
|
34
|
-
<title>VARYING FORM OF TITLE</title>
|
35
|
-
</titleInfo>
|
36
|
-
|
37
|
-
<name type="personal">
|
38
|
-
<namePart type="family">FAMILY NAME</namePart>
|
39
|
-
<namePart type="given">GIVEN NAMES</namePart>
|
40
|
-
<namePart type="termsOfAddress">DR.</namePart>
|
41
|
-
<displayForm>NAME AS IT APPEARS</displayForm>
|
42
|
-
<affiliation>FACULTY, UNIVERSITY</affiliation>
|
43
|
-
<role>
|
44
|
-
<roleTerm authority="marcrelator" type="text">creator</roleTerm>
|
45
|
-
</role>
|
46
|
-
<role>
|
47
|
-
<roleTerm type="text">submitter</roleTerm>
|
48
|
-
</role>
|
49
|
-
</name>
|
50
|
-
<name type="personal">
|
51
|
-
<namePart type="family">Lacks</namePart>
|
52
|
-
<namePart type="given">Henrietta</namePart>
|
53
|
-
<displayForm>HeLa</displayForm>
|
54
|
-
<affiliation>Baltimore</affiliation>
|
55
|
-
<role>
|
56
|
-
<roleTerm type="text">contributor</roleTerm>
|
57
|
-
</role>
|
58
|
-
</name>
|
59
|
-
|
60
|
-
<typeOfResource>text</typeOfResource>
|
61
|
-
<genre authority="local">journal article</genre>
|
62
|
-
|
63
|
-
<abstract>ABSTRACT</abstract>
|
64
|
-
<subject>
|
65
|
-
<topic>TOPIC 1</topic>
|
66
|
-
<topic>TOPIC 2</topic>
|
67
|
-
</subject>
|
68
|
-
<subject authority="AUTHORITY SOURCE (RFCD, LCSH)">
|
69
|
-
<topic>CONTROLLED TERM</topic>
|
70
|
-
</subject>
|
71
|
-
|
72
|
-
<language>
|
73
|
-
<languageTerm authority="iso639-2b" type="code">en-aus </languageTerm>
|
74
|
-
</language>
|
75
|
-
|
76
|
-
<physicalDescription>
|
77
|
-
<internetMediaType>application/pdf</internetMediaType>
|
78
|
-
<extent>36 p.</extent>
|
79
|
-
</physicalDescription>
|
80
|
-
|
81
|
-
<relatedItem type="host">
|
82
|
-
<titleInfo>
|
83
|
-
<title>TITLE OF HOST JOURNAL</title>
|
84
|
-
</titleInfo>
|
85
|
-
<originInfo>
|
86
|
-
<publisher>PUBLISHER</publisher>
|
87
|
-
<dateIssued>DATE</dateIssued>
|
88
|
-
</originInfo>
|
89
|
-
<identifier type="issn">0013-8908</identifier>
|
90
|
-
<part>
|
91
|
-
<detail type="volume">
|
92
|
-
<number>2</number>
|
93
|
-
</detail>
|
94
|
-
<detail type="level">
|
95
|
-
<number>2</number>
|
96
|
-
</detail>
|
97
|
-
<extent unit="pages">
|
98
|
-
<start>195</start>
|
99
|
-
<end>230</end>
|
100
|
-
</extent>
|
101
|
-
<date>FEB. 2007</date>
|
102
|
-
</part>
|
103
|
-
</relatedItem>
|
104
|
-
|
105
|
-
<identifier type="uri">http://URL.edu.au/</identifier>
|
106
|
-
<identifier type="doi">doi:10.1006/jmbi.1995.0238</identifier>
|
107
|
-
<location>
|
108
|
-
<url>http://URL.edu.au/</url>
|
109
|
-
</location>
|
110
|
-
<accessCondition type="restrictionOnAccess">EMBARGO NOTE</accessCondition>
|
111
|
-
<accessCondition type="use and reproduction">OPEN ACCESS</accessCondition>
|
112
|
-
|
113
|
-
</mods>
|
114
|
-
</foxml:xmlContent>
|
115
|
-
</foxml:datastreamVersion>
|
116
|
-
</foxml:datastream>
|
117
|
-
<foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
118
|
-
<foxml:datastreamVersion ID="RELS-EXT.0" LABEL="" CREATED="2010-06-17T19:56:22.353Z" MIMETYPE="text/xml" SIZE="306">
|
119
|
-
<foxml:xmlContent>
|
120
|
-
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
121
|
-
<rdf:Description rdf:about="info:fedora/hydrangea:fixture_mods_article2">
|
122
|
-
<hasModel xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/afmodel:ModsAsset"></hasModel>
|
123
|
-
</rdf:Description>
|
124
|
-
</rdf:RDF>
|
125
|
-
</foxml:xmlContent>
|
126
|
-
</foxml:datastreamVersion>
|
127
|
-
</foxml:datastream>
|
128
|
-
<foxml:datastream ID="rightsMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
129
|
-
<foxml:datastreamVersion ID="rightsMetadata.0" LABEL="" CREATED="2010-06-17T19:56:23.335Z" MIMETYPE="text/xml" SIZE="19">
|
130
|
-
<foxml:xmlContent>
|
131
|
-
<rightsMetadata xmlns="http://hydra-collab.stanford.edu/schemas/rightsMetadata/v1">
|
132
|
-
<copyright>
|
133
|
-
<human>(c)2009 The Hydra Project</human>
|
134
|
-
<human type="someSpecialisedType">Blah Blah</human>
|
135
|
-
<human type="aDifferentType">More blah</human>
|
136
|
-
<machine><a rel="license" href="http://creativecommons.org/licenses/publicdomain/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/publicdomain/88x31.png" /></a><br />This work is in the <a rel="license" href="http://creativecommons.org/licenses/publicdomain/">Public Domain</a>.</machine>
|
137
|
-
</copyright>
|
138
|
-
<access type="discover">
|
139
|
-
<human></human>
|
140
|
-
<machine>
|
141
|
-
<policy>hydra-policy:4502</policy>
|
142
|
-
<group>public</group>
|
143
|
-
</machine>
|
144
|
-
</access>
|
145
|
-
<access type="read">
|
146
|
-
<human></human>
|
147
|
-
<machine>
|
148
|
-
<group>public</group>
|
149
|
-
</machine>
|
150
|
-
</access>
|
151
|
-
<access type="edit">
|
152
|
-
<human></human>
|
153
|
-
<machine>
|
154
|
-
<person>researcher1</person>
|
155
|
-
<group>researcher</group>
|
156
|
-
</machine>
|
157
|
-
</access>
|
158
|
-
<access type="etc">
|
159
|
-
<!-- etc -->
|
160
|
-
</access>
|
161
|
-
<use>
|
162
|
-
<human>You are free to re-distribute this object, but you cannot change it or sell it. </human>
|
163
|
-
<machine><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/3.0/us/88x31.png" /></a><br />This <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Sound" rel="dc:type">work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License</a>.</machine>
|
164
|
-
</use>
|
165
|
-
|
166
|
-
</rightsMetadata>
|
167
|
-
</foxml:xmlContent>
|
168
|
-
</foxml:datastreamVersion>
|
169
|
-
</foxml:datastream>
|
170
|
-
<foxml:datastream ID="properties" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
171
|
-
<foxml:datastreamVersion ID="properties.0" LABEL="" CREATED="2010-06-17T19:56:23.477Z" MIMETYPE="text/xml" SIZE="19">
|
172
|
-
<foxml:xmlContent>
|
173
|
-
<fields></fields>
|
174
|
-
</foxml:xmlContent>
|
175
|
-
</foxml:datastreamVersion>
|
176
|
-
</foxml:datastream>
|
177
|
-
</foxml:digitalObject>
|
@@ -1,170 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<foxml:digitalObject VERSION="1.1" PID="hydrangea:fixture_mods_article3"
|
3
|
-
xmlns:foxml="info:fedora/fedora-system:def/foxml#"
|
4
|
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
5
|
-
xsi:schemaLocation="info:fedora/fedora-system:def/foxml# http://www.fedora.info/definitions/1/0/foxml1-1.xsd">
|
6
|
-
<foxml:objectProperties>
|
7
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#state" VALUE="Active"/>
|
8
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#label" VALUE=""/>
|
9
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#ownerId" VALUE="fedoraAdmin"/>
|
10
|
-
<foxml:property NAME="info:fedora/fedora-system:def/model#createdDate" VALUE="1998-08-01T21:22:23.301Z"/>
|
11
|
-
<foxml:property NAME="info:fedora/fedora-system:def/view#lastModifiedDate" VALUE="2010-08-02T13:14:15.688Z"/>
|
12
|
-
</foxml:objectProperties>
|
13
|
-
<foxml:datastream ID="descMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
14
|
-
<foxml:datastreamVersion ID="descMetadata.0" LABEL="" CREATED="2010-06-17T19:56:22.150Z" MIMETYPE="text/xml" SIZE="19">
|
15
|
-
<foxml:xmlContent>
|
16
|
-
<mods version="3.0" xsi:schemaLocation="http://www.loc.gov/mods/v3
|
17
|
-
http://www.loc.gov/standards/mods/v3/mods-3-0.xsd" xmlns="http://www.loc.gov/mods/v3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
18
|
-
|
19
|
-
<titleInfo>
|
20
|
-
<nonSort>THE</nonSort>
|
21
|
-
<title>Test Article</title>
|
22
|
-
<subTitle>SUBTITLE</subTitle>
|
23
|
-
</titleInfo>
|
24
|
-
<titleInfo type="alternative">
|
25
|
-
<title>Alternative Test Article Title</title>
|
26
|
-
</titleInfo>
|
27
|
-
|
28
|
-
<name type="personal">
|
29
|
-
<namePart type="family">Smith</namePart>
|
30
|
-
<namePart type="given">John</namePart>
|
31
|
-
<namePart type="termsOfAddress">DR.</namePart>
|
32
|
-
<displayForm>Dr. John Smith</displayForm>
|
33
|
-
<affiliation>FACULTY, UNIVERSITY</affiliation>
|
34
|
-
<role>
|
35
|
-
<roleTerm authority="marcrelator" type="text">creator</roleTerm>
|
36
|
-
</role>
|
37
|
-
<role>
|
38
|
-
<roleTerm type="text">submitter</roleTerm>
|
39
|
-
</role>
|
40
|
-
</name>
|
41
|
-
<name type="personal">
|
42
|
-
<namePart type="family">Lacks</namePart>
|
43
|
-
<namePart type="given">Henrietta</namePart>
|
44
|
-
<displayForm>HeLa</displayForm>
|
45
|
-
<affiliation>Baltimore</affiliation>
|
46
|
-
<role>
|
47
|
-
<roleTerm type="text">contributor</roleTerm>
|
48
|
-
</role>
|
49
|
-
</name>
|
50
|
-
|
51
|
-
<typeOfResource>text</typeOfResource>
|
52
|
-
<genre authority="local">journal article</genre>
|
53
|
-
|
54
|
-
<abstract>ABSTRACT</abstract>
|
55
|
-
<subject>
|
56
|
-
<topic>TOPIC 1</topic>
|
57
|
-
<topic>TOPIC 2</topic>
|
58
|
-
</subject>
|
59
|
-
<subject authority="AUTHORITY SOURCE (RFCD, LCSH)">
|
60
|
-
<topic>CONTROLLED TERM</topic>
|
61
|
-
</subject>
|
62
|
-
|
63
|
-
<language>
|
64
|
-
<languageTerm authority="iso639-2b" type="code">en-aus </languageTerm>
|
65
|
-
</language>
|
66
|
-
|
67
|
-
<physicalDescription>
|
68
|
-
<internetMediaType>application/pdf</internetMediaType>
|
69
|
-
<extent>36 p.</extent>
|
70
|
-
</physicalDescription>
|
71
|
-
|
72
|
-
<relatedItem type="host">
|
73
|
-
<titleInfo>
|
74
|
-
<title>The Journal of Mock Object</title>
|
75
|
-
</titleInfo>
|
76
|
-
<originInfo>
|
77
|
-
<publisher>PUBLISHER</publisher>
|
78
|
-
<dateIssued>DATE</dateIssued>
|
79
|
-
</originInfo>
|
80
|
-
<identifier type="issn">1234-5678</identifier>
|
81
|
-
<part>
|
82
|
-
<detail type="volume">
|
83
|
-
<number>2</number>
|
84
|
-
</detail>
|
85
|
-
<detail type="level">
|
86
|
-
<number>2</number>
|
87
|
-
</detail>
|
88
|
-
<extent unit="pages">
|
89
|
-
<start>195</start>
|
90
|
-
<end>230</end>
|
91
|
-
</extent>
|
92
|
-
<date>FEB. 2007</date>
|
93
|
-
</part>
|
94
|
-
</relatedItem>
|
95
|
-
|
96
|
-
<identifier type="uri">http://example.com/foo</identifier>
|
97
|
-
<identifier type="doi">doi:10.1006/jmbi.1995.0238</identifier>
|
98
|
-
<location>
|
99
|
-
<url>http://example.com/foo</url>
|
100
|
-
</location>
|
101
|
-
<accessCondition type="restrictionOnAccess">EMBARGO NOTE</accessCondition>
|
102
|
-
<accessCondition type="use and reproduction">OPEN ACCESS</accessCondition>
|
103
|
-
|
104
|
-
</mods>
|
105
|
-
</foxml:xmlContent>
|
106
|
-
</foxml:datastreamVersion>
|
107
|
-
</foxml:datastream>
|
108
|
-
<foxml:datastream ID="RELS-EXT" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
109
|
-
<foxml:datastreamVersion ID="RELS-EXT.0" LABEL="" CREATED="2010-06-17T19:56:22.353Z" MIMETYPE="text/xml" SIZE="306">
|
110
|
-
<foxml:xmlContent>
|
111
|
-
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
|
112
|
-
<rdf:Description rdf:about="info:fedora/hydrangea:fixture_mods_article3">
|
113
|
-
<hasModel xmlns="info:fedora/fedora-system:def/relations-external#" rdf:resource="info:fedora/afmodel:ModsAsset"></hasModel>
|
114
|
-
</rdf:Description>
|
115
|
-
</rdf:RDF>
|
116
|
-
</foxml:xmlContent>
|
117
|
-
</foxml:datastreamVersion>
|
118
|
-
</foxml:datastream>
|
119
|
-
<foxml:datastream ID="rightsMetadata" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
120
|
-
<foxml:datastreamVersion ID="rightsMetadata.0" LABEL="" CREATED="2010-06-17T19:56:23.335Z" MIMETYPE="text/xml" SIZE="19">
|
121
|
-
<foxml:xmlContent>
|
122
|
-
<rightsMetadata xmlns="http://hydra-collab.stanford.edu/schemas/rightsMetadata/v1">
|
123
|
-
<copyright>
|
124
|
-
<human>(c)2009 The Hydra Project</human>
|
125
|
-
<human type="someSpecialisedType">Blah Blah</human>
|
126
|
-
<human type="aDifferentType">More blah</human>
|
127
|
-
<machine><a rel="license" href="http://creativecommons.org/licenses/publicdomain/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/publicdomain/88x31.png" /></a><br />This work is in the <a rel="license" href="http://creativecommons.org/licenses/publicdomain/">Public Domain</a>.</machine>
|
128
|
-
</copyright>
|
129
|
-
<access type="discover">
|
130
|
-
<human></human>
|
131
|
-
<machine>
|
132
|
-
|
133
|
-
<!-- this is a hack. should be nested in a <machine> tag -->
|
134
|
-
<policy>hydra-policy:4502</policy>
|
135
|
-
<group>public</group>
|
136
|
-
</machine>
|
137
|
-
</access>
|
138
|
-
<access type="read">
|
139
|
-
<human></human>
|
140
|
-
<machine>
|
141
|
-
<group>researcher</group>
|
142
|
-
</machine>
|
143
|
-
</access>
|
144
|
-
<access type="edit">
|
145
|
-
<human></human>
|
146
|
-
<machine>
|
147
|
-
<person>researcher1</person>
|
148
|
-
<group>archivist</group>
|
149
|
-
</machine>
|
150
|
-
</access>
|
151
|
-
<access type="etc">
|
152
|
-
<!-- etc -->
|
153
|
-
</access>
|
154
|
-
<use>
|
155
|
-
<human>You are free to re-distribute this object, but you cannot change it or sell it. </human>
|
156
|
-
<machine><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-nc-nd/3.0/us/88x31.png" /></a><br />This <span xmlns:dc="http://purl.org/dc/elements/1.1/" href="http://purl.org/dc/dcmitype/Sound" rel="dc:type">work</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 United States License</a>.</machine>
|
157
|
-
</use>
|
158
|
-
|
159
|
-
</rightsMetadata>
|
160
|
-
</foxml:xmlContent>
|
161
|
-
</foxml:datastreamVersion>
|
162
|
-
</foxml:datastream>
|
163
|
-
<foxml:datastream ID="properties" STATE="A" CONTROL_GROUP="X" VERSIONABLE="true">
|
164
|
-
<foxml:datastreamVersion ID="properties.0" LABEL="" CREATED="2010-06-17T19:56:23.477Z" MIMETYPE="text/xml" SIZE="19">
|
165
|
-
<foxml:xmlContent>
|
166
|
-
<fields></fields>
|
167
|
-
</foxml:xmlContent>
|
168
|
-
</foxml:datastreamVersion>
|
169
|
-
</foxml:datastream>
|
170
|
-
</foxml:digitalObject>
|