Last active
September 22, 2020 11:44
-
-
Save achraf-jeday/9913b2e85f2a95a72686fa6d6b30c28a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
id: drupal_planet_rss_importer | |
label: 'Import Drupal planet RSS feed' | |
status: true | |
source: | |
plugin: url | |
data_fetcher_plugin: http | |
urls: 'https://www.drupal.org/planet/rss.xml' | |
data_parser_plugin: simple_xml | |
item_selector: /rss/channel/item | |
fields: | |
- | |
name: title | |
label: Title | |
selector: title | |
- | |
name: link | |
label: 'Origin link' | |
selector: link | |
- | |
name: description | |
label: Description | |
selector: 'description' | |
- | |
name: pub_date | |
label: 'Publication date' | |
selector: pubDate | |
ids: | |
title: | |
type: string | |
destination: | |
plugin: 'entity:node' | |
process: | |
title: title | |
field_remote_url: link | |
body: description | |
created: | |
plugin: format_date | |
from_format: 'D, d M Y H:i:s O' | |
to_format: 'U' | |
source: pub_date | |
status: | |
plugin: default_value | |
default_value: 1 | |
type: | |
plugin: default_value | |
default_value: article |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment