urlwatch icon indicating copy to clipboard operation
urlwatch copied to clipboard

WIP: Add RSS Reporter with feedgen

Open georgjaehnig opened this issue 3 years ago • 7 comments

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 avatar May 27 '22 15:05 georgjaehnig

@georgjaehnig Did you have time to look at the PR review comment?

thp avatar Jul 14 '22 07:07 thp

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?

georgjaehnig avatar Jul 15 '22 02:07 georgjaehnig

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?

You can have multiple feeds (e.g. "ebay.rss", "news.rss", ...)

thp avatar Dec 12 '22 16:12 thp

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

georgjaehnig avatar Dec 12 '22 16:12 georgjaehnig