diff --git a/flows/22.json b/flows/22.json deleted file mode 100755 index 77ebab9..0000000 --- a/flows/22.json +++ /dev/null @@ -1,213 +0,0 @@ -{ - "createdAt": "2022-05-15T05:24:23.872Z", - "updatedAt": "2023-01-17T15:51:24.933Z", - "id": "22", - "name": "rss", - "active": true, - "nodes": [ - { - "parameters": {}, - "name": "Start", - "type": "n8n-nodes-base.start", - "typeVersion": 1, - "position": [ - -160, - 740 - ], - "id": "df81ff48-035f-47d2-afe6-49422d35ad07" - }, - { - "parameters": { - "url": "https://rss.cynic.club/bridge/?action=display&bridge=Pikabu&community=hand_made&context=%D0%9F%D0%BE+%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D1%81%D1%82%D0%B2%D1%83&filter=hot&format=Mrss" - }, - "name": "RSS Feed Read", - "type": "n8n-nodes-base.rssFeedRead", - "typeVersion": 1, - "position": [ - 140, - 560 - ], - "id": "288c833d-0698-4578-b743-840e10ae3c1b" - }, - { - "parameters": { - "conditions": { - "string": [ - { - "value1": "={{$json[\"categories\"]}}", - "operation": "notRegex", - "value2": "/бисер/i" - }, - { - "value1": "={{$json[\"categories\"]}}", - "operation": "notRegex", - "value2": "/аксессуары/i" - }, - { - "value1": "={{$json[\"categories\"]}}", - "operation": "notRegex", - "value2": "/игрушка/i" - } - ] - } - }, - "name": "IF", - "type": "n8n-nodes-base.if", - "typeVersion": 1, - "position": [ - 380, - 560 - ], - "id": "5622aba9-fd76-4ed5-8d62-d13f7bf3008a" - }, - { - "parameters": { - "url": "https://www.olx.ua/elektronika/igry-i-igrovye-pristavki/igry-dlya-pristavok/chernigov/rss/" - }, - "name": "RSS Feed Read1", - "type": "n8n-nodes-base.rssFeedRead", - "typeVersion": 1, - "position": [ - 140, - 960 - ], - "id": "cceed8b7-b555-4927-90cc-0b3c37ae99ae" - }, - { - "parameters": { - "respondWith": "text", - "responseBody": "={{$json[\"feed\"]}}", - "options": { - "responseHeaders": { - "entries": [ - { - "name": "content-type", - "value": "application/xml" - } - ] - } - } - }, - "name": "Respond to Webhook1", - "type": "n8n-nodes-base.respondToWebhook", - "position": [ - 1180, - 580 - ], - "typeVersion": 1, - "id": "181692c6-f3dc-4395-af8a-8edc0579237b" - }, - { - "parameters": { - "path": "pikabu", - "responseMode": "responseNode", - "options": {} - }, - "name": "Webhook1", - "type": "n8n-nodes-base.webhook", - "position": [ - -140, - 580 - ], - "webhookId": "f1a20d18-72bb-4d4a-8bad-0f465f6029c9", - "typeVersion": 1, - "id": "e9384e76-0ca6-4fe2-918c-d91a3ef29392" - }, - { - "parameters": { - "functionCode": "let feed =\n`\n\n\n\n pikabu\n https://pikabu.ru\n Stay up to date with the latest changes and updates of Baserow\n ${items.map(e => e.json.rss_item).join('\\n')}\n\n\n`;\n\nreturn [{\n json: {\n feed: feed\n }\n}];" - }, - "name": "Prepare Response1", - "type": "n8n-nodes-base.function", - "position": [ - 900, - 580 - ], - "typeVersion": 1, - "id": "8f3ded4f-886a-4de3-b036-978f057948c1" - }, - { - "parameters": { - "functionCode": "return {\n rss_item: \n`\n ${item.title}\n ${item.link}\n ${item.content}\n ${item.isoDate}\n`\n}" - }, - "name": "Create RSS Items1", - "type": "n8n-nodes-base.functionItem", - "position": [ - 660, - 580 - ], - "typeVersion": 1, - "id": "ee463126-3a3c-4bc4-ad6b-a200780d23c0" - } - ], - "connections": { - "RSS Feed Read": { - "main": [ - [ - { - "node": "IF", - "type": "main", - "index": 0 - } - ] - ] - }, - "IF": { - "main": [ - [ - { - "node": "Create RSS Items1", - "type": "main", - "index": 0 - } - ] - ] - }, - "Webhook1": { - "main": [ - [ - { - "node": "RSS Feed Read", - "type": "main", - "index": 0 - } - ] - ] - }, - "Create RSS Items1": { - "main": [ - [ - { - "node": "Prepare Response1", - "type": "main", - "index": 0 - } - ] - ] - }, - "Prepare Response1": { - "main": [ - [ - { - "node": "Respond to Webhook1", - "type": "main", - "index": 0 - } - ] - ] - } - }, - "settings": {}, - "staticData": null, - "pinData": null, - "versionId": "ee3a3821-be4a-47b5-9972-9987022c8bfb", - "triggerCount": 1, - "tags": [ - { - "createdAt": "2022-05-19T09:37:15.931Z", - "updatedAt": "2022-05-19T09:37:15.931Z", - "id": "2", - "name": "my" - } - ] -} \ No newline at end of file