Created
August 21, 2019 08:09
-
-
Save dinarcon/65693e999b387cc54fef102d4e4c6059 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"feed": { | |
"entry": [ | |
{ | |
"gsx$uniqueid": { | |
"$t": "1" | |
}, | |
"gsx$name": { | |
"$t": "One Uno Un" | |
}, | |
"gsx$photo-file": { | |
"$t": "P01" | |
}, | |
"gsx$bookref": { | |
"$t": "B10" | |
} | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process: | |
field_ud_image/target_id: | |
plugin: migration_lookup | |
migration: udm_microsoft_excel_source_image | |
source: src_photo_file | |
destination: | |
plugin: 'entity:node' | |
default_bundle: ud_paragraphs | |
migration_dependencies: | |
required: | |
- udm_microsoft_excel_source_image | |
- udm_libreoffice_calc_source_paragraph | |
optional: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source: | |
plugin: url | |
data_fetcher_plugin: http | |
data_parser_plugin: google_sheets | |
urls: 'http://spreadsheets.google.com/feeds/list/1YVJt9isPNjkUNHf3YgoTx38r04TwqRYnp1LFrik3TAk/1/public/values?alt=json' | |
fields: | |
- name: src_unique_id | |
label: 'Unique ID' | |
selector: uniqueid | |
- name: src_name | |
label: 'Name' | |
selector: name | |
- name: src_photo_file | |
label: 'Photo ID' | |
selector: photo-file | |
- name: src_book_ref | |
label: 'Book paragraph ID' | |
selector: bookref | |
ids: | |
src_unique_id: | |
type: integer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment