I'm working on an import from an RSS feed that includes two types of XML
- Subject Areas, e.g.
<category>Economics | Social and Behavioral Sciences</category>
- Keywords, e.g.
<category domain="keywords">immigration, emigration, immigrants, international migration, poverty, immigration enforcement, asylum policy</category>
I want to import the Keywords as their own taxonomy field. I can write the YAML as follows, but it predictably imports both Keywords and Subject Areas:
source: fields: - name: keywords label: Keywords selector: 'category' process: field_keywords: - plugin: explode delimiter: ', ' source: keywords - plugin: entity_generate
How do I adjust the selector so it only pulls from the
<category> element that includes the