Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compare only text content of XML feeds #11

Open
aaronpk opened this issue Aug 11, 2022 · 0 comments
Open

Compare only text content of XML feeds #11

aaronpk opened this issue Aug 11, 2022 · 0 comments

Comments

@aaronpk
Copy link
Owner

aaronpk commented Aug 11, 2022

Currently diffs of HTML feeds are compared only with the text contents to avoid meta tags and other invisible markup causing it to think feeds are changing. However, this logic isn't yet applied to XML feeds.

This was triggered based on the contents of someone's feed changing on each fetch causing it to poll every 5 minutes. However the only change was the mailto value of an href, some sort of randomization of an email obfuscation tool.

Watchtower instead should compute the text content of the XML feed to avoid things like this. Note that in this instance the description element is a CDATA, so this will need to bring in the HTML parser here too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant