<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Skript für Farbanzeige]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a><br />
Hallo in die Runde,<br />
ich habe mal eine allgemeine Frage. Ich wollte das Skript für einen Stundenplan anpassen. Das funktioniert soweit auch ganz gut. Aber bei einem Punkt weiss ich nicht weiter.</p>
<p dir="auto">Ich würde gern abfrage, wenn im Titel "Englisch" enthalten ist, dann färbe den Titel orange ein.<br />
mit == und || habe ich das hinbekommen. Aber das ist ja nicht die schönste Art. Könnt Ihr mir da einen Tipp geben. Bei Google habe ich nicht wirklich was gefunden. Liegt aber vielleicht auch an den Suchbegriffen. :-) DANKE</p>
<pre><code>else if(
               entry.event == "Englisch" 
            || entry.event == "1. Englisch" 
            || entry.event == "2. Englisch" 
            || entry.event == "3. Englisch" 
            || entry.event == "4. Englisch" 
            || entry.event == "5. Englisch" 
            || entry.event == "6. Englisch" 
            || entry.event == "7. Englisch" 
            || entry.event == "8. Englisch") {
                _bgcolor = "orange";
                _color="color:orange";
            }
</code></pre>
]]></description><link>https://forum.iobroker.net/topic/61785/skript-für-farbanzeige</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Apr 2026 07:59:20 GMT</lastBuildDate><atom:link href="https://forum.iobroker.net/topic/61785.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Jan 2023 17:18:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Skript für Farbanzeige on Sun, 08 Jan 2023 10:22:31 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thorkillar" aria-label="Profile: thorkillar">@<bdi>thorkillar</bdi></a></p>
<p dir="auto">probier es so:</p>
<pre><code>else if(
               entry.event.indexOf("Englisch") &gt;= 0 {
                _bgcolor = "orange";
                _color="color:orange";
            }
</code></pre>
</blockquote>
<pre><code>
else if(
               entry.event.indexOf("Englisch") &gt;= 0 ) {
                _bgcolor = "orange";
                _color="color:orange";
            }
</code></pre>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a> Danke Dir! Hat mir geholfen. Und ich habe das Skript komplett übernommen und wollte nur die Blaue Tonne, gegen Englisch .... austauschen.</p>
<p dir="auto">Kleiner Hinweis, bei Dir fehlte ein ) nach der 0.</p>
<hr />
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a> sagte in <a href="/post/923717">Skript für Farbanzeige</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a> ja das weiß ich.<br />
aber wird hier dein Skript zweckentfremdet verwendet oder kommt der Stundenplan aus ical?</p>
</blockquote>
<p dir="auto">Ja, Er kommt aus dem ical.</p>
]]></description><link>https://forum.iobroker.net/post/924447</link><guid isPermaLink="true">https://forum.iobroker.net/post/924447</guid><dc:creator><![CDATA[thorkillar]]></dc:creator><pubDate>Sun, 08 Jan 2023 10:22:31 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 20:01:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a> sagte in <a href="/post/923722">Skript für Farbanzeige</a>:</p>
<blockquote>
<p dir="auto">sonst muss ich alles wieder zurück schieben.</p>
</blockquote>
<p dir="auto">Ne, lass doch so.<br />
Er bekommt ja ne Meldung, dass jemand geantwortet hat.</p>
]]></description><link>https://forum.iobroker.net/post/923724</link><guid isPermaLink="true">https://forum.iobroker.net/post/923724</guid><dc:creator><![CDATA[bahnuhr]]></dc:creator><pubDate>Fri, 06 Jan 2023 20:01:37 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 20:00:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a> sagte in <a href="/post/923719">Skript für Farbanzeige</a>:</p>
<blockquote>
<p dir="auto">Hab ich so vermutet.</p>
</blockquote>
<p dir="auto">ich eben nicht!</p>
<p dir="auto">sonst muss ich alles wieder zurück schieben.</p>
]]></description><link>https://forum.iobroker.net/post/923722</link><guid isPermaLink="true">https://forum.iobroker.net/post/923722</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Fri, 06 Jan 2023 20:00:54 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 19:59:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a> sagte in <a href="/post/923717">Skript für Farbanzeige</a>:</p>
<blockquote>
<p dir="auto">kommt der Stundenplan aus ical?</p>
</blockquote>
<p dir="auto">Hab ich so vermutet.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thorkillar" aria-label="Profile: thorkillar">@<bdi>thorkillar</bdi></a></p>
<p dir="auto">probier es so:</p>
<pre><code>else if(
               entry.event.indexOf("Englisch") &gt;= 0 {
                _bgcolor = "orange";
                _color="color:orange";
            }
</code></pre>
]]></description><link>https://forum.iobroker.net/post/923719</link><guid isPermaLink="true">https://forum.iobroker.net/post/923719</guid><dc:creator><![CDATA[bahnuhr]]></dc:creator><pubDate>Fri, 06 Jan 2023 19:59:52 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 19:57:58 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a> ja das weiß ich.<br />
aber wird hier dein Skript zweckentfremdet verwendet oder kommt der Stundenplan aus ical?</p>
]]></description><link>https://forum.iobroker.net/post/923717</link><guid isPermaLink="true">https://forum.iobroker.net/post/923717</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Fri, 06 Jan 2023 19:57:58 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 19:52:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a></p>
<p dir="auto">ja, das ist ein Auszug aus dem Script</p>
<p dir="auto">genauer, um dieses hier:<br />
<a href="https://forum.iobroker.net/topic/26782/ical-kalender-farben-anpassen/92?_=1673030140761">https://forum.iobroker.net/topic/26782/ical-kalender-farben-anpassen/92?_=1673030140761</a></p>
]]></description><link>https://forum.iobroker.net/post/923699</link><guid isPermaLink="true">https://forum.iobroker.net/post/923699</guid><dc:creator><![CDATA[bahnuhr]]></dc:creator><pubDate>Fri, 06 Jan 2023 19:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 19:45:54 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a> sagte in <a href="/post/923676">Skript für Farbanzeige</a>:</p>
<blockquote>
<p dir="auto">Es geht um das Script das den ical DP anders darstellt.</p>
</blockquote>
<p dir="auto">und das hier ist auch ical DP?</p>
]]></description><link>https://forum.iobroker.net/post/923688</link><guid isPermaLink="true">https://forum.iobroker.net/post/923688</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Fri, 06 Jan 2023 19:45:54 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 19:39:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/homoran" aria-label="Profile: homoran">@<bdi>homoran</bdi></a> sagte in <a href="/post/923574">Skript für Farbanzeige</a>:</p>
<blockquote>
<p dir="auto">hat ja nix mit ical zu tun.</p>
</blockquote>
<p dir="auto">Eigentlich doch,<br />
Es geht um das Script das den ical DP anders darstellt.</p>
]]></description><link>https://forum.iobroker.net/post/923676</link><guid isPermaLink="true">https://forum.iobroker.net/post/923676</guid><dc:creator><![CDATA[bahnuhr]]></dc:creator><pubDate>Fri, 06 Jan 2023 19:39:45 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 18:41:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/bahnuhr" aria-label="Profile: bahnuhr">@<bdi>bahnuhr</bdi></a><br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/thorkillar" aria-label="Profile: thorkillar">@<bdi>thorkillar</bdi></a></p>
<p dir="auto">ich hab das mal abgespalten, hat ja nix mit ical zu tun.<br />
<a class="plugin-mentions-user plugin-mentions-a" href="/user/thorkillar" aria-label="Profile: thorkillar">@<bdi>thorkillar</bdi></a> bitte Titel anpassen</p>
]]></description><link>https://forum.iobroker.net/post/923574</link><guid isPermaLink="true">https://forum.iobroker.net/post/923574</guid><dc:creator><![CDATA[Homoran]]></dc:creator><pubDate>Fri, 06 Jan 2023 18:41:24 GMT</pubDate></item><item><title><![CDATA[Reply to Skript für Farbanzeige on Fri, 06 Jan 2023 18:38:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/thorkillar" aria-label="Profile: thorkillar">@<bdi>thorkillar</bdi></a></p>
<p dir="auto">indexof</p>
]]></description><link>https://forum.iobroker.net/post/923571</link><guid isPermaLink="true">https://forum.iobroker.net/post/923571</guid><dc:creator><![CDATA[bahnuhr]]></dc:creator><pubDate>Fri, 06 Jan 2023 18:38:12 GMT</pubDate></item></channel></rss>