Add teaser taxonomy term feed

where we try to optimize for Drupal Planet while still getting all
our unique coolness (multiple authors, permalink guid) accounted for.
This commit is contained in:
benjamin melançon 2019-01-17 13:30:30 -05:00
parent b049b761c3
commit eec831e40e

View file

@ -4,6 +4,7 @@ status: true
dependencies:
config:
- core.entity_view_mode.node.rss
- core.entity_view_mode.node.rss_teaser
- core.entity_view_mode.node.teaser
- field.storage.node.field_authors
- field.storage.node.field_body_paragraph
@ -266,8 +267,8 @@ display:
- user.permissions
max-age: -1
tags: { }
feed_1:
id: feed_1
feed:
id: feed
display_title: Feed
display_plugin: feed
position: 2
@ -278,7 +279,7 @@ display:
pager:
type: some
options:
items_per_page: 10
items_per_page: 12
offset: 0
path: taxonomy/term/%/feed
displays:
@ -697,6 +698,34 @@ display:
tags:
- 'config:field.storage.node.field_authors'
- 'config:field.storage.node.field_body_paragraph'
feed_teasers:
display_plugin: feed
id: feed_teasers
display_title: 'Teaser feed'
position: 3
display_options:
display_extenders: { }
row:
type: node_rss
options:
relationship: none
view_mode: rss_teaser
display_description: ''
path: taxonomy/term/%/teasers/feed
pager:
type: some
options:
items_per_page: 24
offset: 0
cache_metadata:
max-age: -1
contexts:
- 'languages:language_content'
- 'languages:language_interface'
- url
- 'user.node_grants:view'
- user.permissions
tags: { }
page_1:
id: page_1
display_title: Page