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

Support RSS feeds as a source #289

Open
skwerlman opened this issue Jan 19, 2025 · 2 comments
Open

Support RSS feeds as a source #289

skwerlman opened this issue Jan 19, 2025 · 2 comments

Comments

@skwerlman
Copy link

Some projects use RSS feeds as the main way of announcing new versions of their software. An example I use is proxmox-ve: https://my.proxmox.com/en/announcements/tag/proxmox-ve/rss

It would be nice if nvchecker had built-in support for reading RSS feeds to get the latest version info.

@lilydjwg
Copy link
Owner

This works:

[ProxmoxVE]
source = "htmlparser"
url = "https://my.proxmox.com/en/announcements/tag/proxmox-ve/rss"
xpath = "//item/title"
from_pattern = 'Proxmox VE ([\d.]+) released!'
to_pattern = '\1'

Although "htmlparser" is for HTML, it could often work with XML.

@skwerlman
Copy link
Author

thanks! this does indeed work. imo it might be a good idea to add an rss/xml example to the docs for htmlparser if specific rss support is not planned

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

2 participants