Hi folks,
I have a nice flow with some statements which filters a RSS feed and post the result to a Teams channel.
So, the RSS feed looks like this:
</description> <guid isPermaLink="false">NCSC-2021-0164 [1.01]</guid> <pubDate>Fri, 12 Mar 2021 17:35:18 +0100</pubDate> </item> <item> <title>NCSC-2021-0243 [1.00] [M/H] Kwetsbaarheden verholpen in NetBSD</title> <link>https://advisories.ncsc.nl/advisory?id=NCSC-2021-0243</link> <description>De ontwikkelaars van NetBSD hebben een aantal kwetsbaarheden verholpen in de IP stack van NetBSD. Doordat packet-id's standaard niet random gegenereerd worden, kan een kwaadwillende het IP-verkeer voorspellen, waarmee de kwaadwillende een man-in-the-middle-aanval kan uitvoeren om gevoelige gegevens te verkrijgen.</description> <guid isPermaLink="false">NCSC-2021-0243 [1.00]</guid> <pubDate>Fri, 12 Mar 2021 12:55:59 +0100</pubDate> </item> <item> <title>NCSC-2021-0192 [1.05] [M/M] Kwetsbaarheden verholpen in Node.js</title> <link>https://advisories.ncsc.nl/advisory?id=NCSC-2021-0192</link> <description>De ontwikkelaars van Node.js hebben kwetsbaarheden verholpen. De kwetsbaarheden stellen een ongeautenticeerde kwaadwillende op afstand in staat een Denial-of-Service te veroorzaken en om een beveiligingsmaatregel te omzeilen. </description> <guid isPermaLink="false">NCSC-2021-0192 [1.05]</guid> <pubDate>Fri, 12 Mar 2021 12:55:39 +0100</pubDate> </item>
I want to filter al the articles with "[M/M] and "node.js" in the title so every time the flow runs it post the same result to the Teams channel but I only need it ones and only the new articles which meets the filter criteria needs to be posted. Is this possible?
Kind regards,
Hi @Anonymous
It's not simple but it's possible. You can parse the XML and then check if the "<title>" contains the strings you're looking for.
I found an article that explains how to parse the XML.
https://debajmecrm.com/parse-xml-in-power-automate-microsoft-flow/
Can you please check if and let me know if you have any questions?
Cheers
Manuel
-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.
Thnx, let me try this.
Kind regards,
User | Count |
---|---|
87 | |
43 | |
21 | |
18 | |
16 |
User | Count |
---|---|
132 | |
47 | |
42 | |
36 | |
28 |