Skip to content

Commit

Permalink
add daos to EAD output
Browse files Browse the repository at this point in the history
  • Loading branch information
regineheberlein committed Oct 15, 2024
1 parent 69d764f commit 04f37b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/models/aspace_svn/get_eads_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ def report
# then write the results to the file
def write_eads_to_file(dir, repo, id)
Rails.logger.info("Now processing #{repo}/#{id}")
record = @client.get("/repositories/#{repo}/resource_descriptions/#{id}.xml")
record = @client.get("/repositories/#{repo}/resource_descriptions/#{id}.xml", {
query: { include_daos: true }
})
ead = Nokogiri::XML(record.body)
ead.remove_namespaces!
eadid = ead.at_xpath('//eadid/text()')
Expand Down

0 comments on commit 04f37b5

Please sign in to comment.