Skip to content

Commit 0080133

Browse files
committed
Update dublin core iOAI-PMH import
1 parent 4d26ecd commit 0080133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ingestors/oai_pmh_ingestor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def read_dublin_core_event(_xml_doc)
101101
event.contact = doc.at_xpath('//dc:publisher', ns)&.text
102102
event.organizer = doc.at_xpath('//dc:creator', ns)&.text
103103
event.keywords = doc.xpath('//dc:subject', ns).map(&:text)
104-
event.event_types = types
104+
event.event_types = doc.xpath('//dc:type', ns).map(&:text)
105105

106106
dates = doc.xpath('//dc:date', ns).map(&:text)
107107
parsed_dates = dates.map do |d|

0 commit comments

Comments
 (0)