Jonathan Starck 3 жил өмнө
parent
commit
34d7666c9b
1 өөрчлөгдсөн 57 нэмэгдсэн , 13 устгасан
  1. 57 13
      config/config.js

+ 57 - 13
config/config.js

@@ -59,9 +59,14 @@ let config = {
                         { name: 'MMM-ImageSlideshow', position: "middle_center", carouselId: "5" },
                         { name: 'weather', position: "bottom_left", carouselId: "5" },
                         { name: 'MMM-DWD-WarnWeather', position: "bottom_left", carouselId: "5" },
-                        { name: 'MMM-News-QR', position: "bottom_bar", carouselId: "1" },
                         { name: 'newsfeed', position: "bottom_bar", carouselId: "5" }
                     ],
+                    "Slide 8": [
+                        { name: 'clock', position: "top_left", carouselId: "1" },
+                        { name: 'MMM-SimpleLogo', position: "top_right", carouselId: "1" },
+                        { name: 'newsfeed', position: "middle_center", carouselId: "1" },
+                        { name: 'MMM-News-QR', position: "middle_center", carouselId: "1" }
+                    ],
                 }
 
             }
@@ -338,23 +343,49 @@ let config = {
             }
         },
         {
-            module: 'MMM-News-QR',
+            module: "newsfeed",
             position: "bottom_bar",
             config: {
-                carouselId: "1",
-                updateType : 'push',
-                interval: 2000,
-                animationSpeed: 2500,
-                colorDark: '#fff',
-                colorLight: '#000',
-                imageSize: 150
+                carouselId: "5",
+                feeds: [
+                    {
+                        title: "DRK Rettungsdienst Rheinhessen-Nahe gGmbH",
+                        url: "https://www.drk-rhein-nahe.de/news-rss.xml",
+                        ignoreOlderThan: "345600000"
+                    },
+                    {
+                        title: "Deutscher Berufsverband Rettungsdienst e.V.",
+                        url: "https://dbrd.de/index.php/aktivitaeten?format=feed&type=rss",
+                        ignoreOlderThan: "345600000"
+                    },
+                    {
+                        title: "Allgmeine Zeitung - VG Rhein-Selz",
+                        url: "https://www.allgemeine-zeitung.de/rss/lokales/oppenheim/vg-rhein-selz",
+                        ignoreOlderThan: "345600000"
+                    },
+                    {
+                        title: "Der Postillon",
+                        url: "http://feeds.feedburner.com/blogspot/rkEL",
+                        ignoreOlderThan: "345600000"
+                    }
+                ],
+                showSourceTitle: true,
+                showPublishDate: true,
+                broadcastNewsFeeds: false,
+                broadcastNewsUpdates: false
             }
         },
+        /*
+             !!SECTION
+         */
+        /*
+        SECTION - Slide 7
+        */
         {
             module: "newsfeed",
-            position: "bottom_bar",
+            position: "middle_center",
             config: {
-                carouselId: "5",
+                carouselId: "1",
                 feeds: [
                     {
                         title: "DRK Rettungsdienst Rheinhessen-Nahe gGmbH",
@@ -383,9 +414,22 @@ let config = {
                 broadcastNewsUpdates: true
             }
         },
+        {
+            module: 'MMM-News-QR',
+            position: "middle_center",
+            config: {
+                carouselId: "1",
+                updateType: 'push',
+                interval: 2000,
+                animationSpeed: 2500,
+                colorDark: '#fff',
+                colorLight: '#000',
+                imageSize: 150
+            }
+        },
         /*
-             !!SECTION
-         */
+         !!SECTION
+     */
         {
             module: "MMM-BurnIn",
             position: "bottom_bar",