I am using a news RSS feed in a small app (JS, Vue.js). Unfortunately it already happenend that the RSS feed provider changed the feed structure without notifying me, so my app broke (they changed how the image was delivered).
E.g. I was expecting
<article>
<title>News title</title>
<content>
<image>
<url>img.jpg</url>
</image>
<text>News text</text>
</content>
</article>
but I got
<article>
<title>News title</title>
<image>
<url>img.jpg</url>
</image>
<text>News text</text>
</article>
Is there a way to check for structural changes in RSS feeds? It can be JS or something specific for Vue.js.
After I can detect the changes in the feed my app can send me an email. That part I can figure out.
Any help is appreciated.
I tried googling for info, but all I get is how to detect changes in the feed content, not the feed structure.
I am a JS beginner, so maybe I am searching for the wrong stuff.