woefe / ytcc

Command line tool to keep track of your favorite playlists on YouTube and many other places.
GNU General Public License v3.0
178 stars 20 forks source link

Add RSS printer #75

Closed Glandos closed 3 years ago

Glandos commented 3 years ago

I am about to use ytcc to generate an RSS feed, to keep me inform the way I like.

I chose PyRSS2Gen because it was the simpler library without other dependency.

I'll be happy to read your review to improve this work.

woefe commented 3 years ago

Thank you very much for your PR. I like the feature very much! However, I'm hesitant to depend on the PyRSS2Gen library, even though it's optional. I'll try to implement an RSS printer with the XML modules in the standard library.

woefe commented 3 years ago

Added the RSS printer in 0f0e267. @Glandos, I added you as co-author, because my approach was heavily inspired by this PR. Plus, I copied the docs from this PR.

Glandos commented 3 years ago

I totally understand your point-of-view, especially since the needed features are quite small (that's the point of RSS, to be quite easy to generate anyway).

I've not tried your implementation yet, but I see that you have a better way to display the description, within <pre> tags.