2020-06-26 15:33:47 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-06-26 15:33:47 +02:00
|
|
|
"name": "core/rss",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "RSS",
|
2020-06-26 15:33:47 +02:00
|
|
|
"category": "widgets",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Display entries from any RSS or Atom feed.",
|
|
|
|
"keywords": [ "atom", "feed" ],
|
|
|
|
"textdomain": "default",
|
2020-06-26 15:33:47 +02: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-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-rss-editor",
|
|
|
|
"style": "wp-block-rss"
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|