2020-06-26 09:33:47 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-06-26 09:33:47 -04:00
|
|
|
"name": "core/rss",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "RSS",
|
2020-06-26 09:33:47 -04:00
|
|
|
"category": "widgets",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Display entries from any RSS or Atom feed.",
|
|
|
|
"keywords": [ "atom", "feed" ],
|
|
|
|
"textdomain": "default",
|
2020-06-26 09:33:47 -04:00
|
|
|
"attributes": {
|
|
|
|
"columns": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 2
|
|
|
|
},
|
|
|
|
"blockLayout": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "list"
|
|
|
|
},
|
|
|
|
"feedURL": {
|
|
|
|
"type": "string",
|
|
|
|
"default": ""
|
|
|
|
},
|
|
|
|
"itemsToShow": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 5
|
|
|
|
},
|
|
|
|
"displayExcerpt": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"displayAuthor": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"displayDate": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"excerptLength": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 55
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": true,
|
|
|
|
"html": false
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-rss-editor",
|
|
|
|
"style": "wp-block-rss"
|
2020-06-26 09:33:47 -04:00
|
|
|
}
|