Skip to content

Instantly share code, notes, and snippets.

@vasi
Created April 11, 2016 02:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vasi/e0f55f9367d440e49988c304b872a06c to your computer and use it in GitHub Desktop.
Save vasi/e0f55f9367d440e49988c304b872a06c to your computer and use it in GitHub Desktop.
id: shows
migration_tags: { }
label: 'TV shows'
source:
plugin: json_source
path: 'http://api.tvmaze.com/search/shows?q=family'
identifier: id
identifierDepth: 1
headers: { }
fields: { }
constants:
type: article
format: restricted_html
process:
title: name
body/0/value: summary
body/0/format: constants/format
type: constants/type
field_image:
- source: image/original
plugin: file_import
destination:
plugin: 'entity:node'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment