WIP: Add RSS Reporter with feedgen
Hello, because needing it myself, I've picked up the work on the RSS reporter (#553, #76, #53). I tried a very basic approach: Simply take the STDOUT output and wrap it into an RSS feed with 1 item.
Here's an example output.
If urlwatch now runs e.g. once a day, then in my feedreader I get this new item once per day. When using on online feed reader like Feedly, the old entries get saved by Feedly anyway.
Creating different feeds for different jobs should also be possible via
urlwatch 1 > 1.xml
urlwatch 2 > 2.xml
I think this is very much "good enough", much better than no RSS feed at all. But of course I'm happy to polish this up if there are some low-hanging fruits. :)
@georgjaehnig Did you have time to look at the PR review comment?
Hi! Yes, I've read it back then – but in the meantime I was more concerned with the fact that (at least) Feedly does not recognize new items: Even if the content differed, it did not show a new item. Still have to work on this.
About the idea with configuring the output file: I'm not sure if I understand the benefit. Can I achieve something more with this than just by taking STDOUT and redirecting it with > to the file of my desire?
About the idea with configuring the output file: I'm not sure if I understand the benefit. Can I achieve something more with this than just by taking
STDOUTand redirecting it with>to the file of my desire?
You can have multiple feeds (e.g. "ebay.rss", "news.rss", ...)
You can have multiple feeds (e.g. "ebay.rss", "news.rss", ...)
But I could achieve that already with STDOUT, like this, no?
urlwatch ebay > ebay.rss
urlwatch news > news.rss