config/sync/migrate_plus.migration.stanford_course_depts.yml
uuid: 163413d7-ac79-4c21-9feb-8d9ff5ad23f1
langcode: en
status: false
dependencies: { }
id: stanford_course_depts
class: null
field_plugin_method: null
cck_plugin_method: null
migration_tags: { }
migration_group: stanford_courses
label: 'Course Department importer'
source:
track_changes: true
plugin: url
data_fetcher_plugin: http
urls:
- 'https://explorecourses.stanford.edu/?view=xml-20200810'
data_parser_plugin: xml
item_selector: /schools/school/department
fields:
-
name: name
label: Name
selector: '@name'
-
name: longname
label: longname
selector: '@longname'
ids:
name:
type: string
process:
name: name
su_courses_dept_long: longname
destination:
plugin: 'entity:taxonomy_term'
default_bundle: su_course_subjects
migration_dependencies:
required: { }