clj-rss icon indicating copy to clipboard operation
clj-rss copied to clipboard

RSS link is not the same as atom rel=self

Open nivekuil opened this issue 4 years ago • 3 comments

The link field in RSS is the link of the website, but this library also uses it to set this atom attribute https://github.com/yogthos/clj-rss/blob/master/src/clj_rss/core.clj#L137 which is supposed to be the URL of the feed itself

nivekuil avatar Jul 26 '21 19:07 nivekuil

I see, sounds like adding an additional :url key would be the way to go then?

yogthos avatar Jul 26 '21 19:07 yogthos

would work,' or maybe :feed-url to be less ambiguous

nivekuil avatar Jul 30 '21 22:07 nivekuil

Good call, I've added the feature in this commit. Let me know if that looks good on your end and I can push out a new version. I've kept the original behavior when :feed-url is not specified for backwards compatibility.

yogthos avatar Jul 31 '21 00:07 yogthos