-
-
Notifications
You must be signed in to change notification settings - Fork 300
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
More permanent fix for #584 #603
Conversation
- Default view to RSS instead of Atom to include enclosure
Adding a link to the public image fails if the album does not allow original image downloads. The enclosure tag is only added to the feed if downloads are allowed.
Photos can only be attached in the <enclosure> tag if the album allows anyone to download the file. This checks for album permissions before creating an enclosure object to send.
Albums that do not allow photo downloads cannot be included as enclosures. This checks album permissions before creating the enclosure to add to the feed.
Disabling photo download is just removing the access to the big source. We can still provide the medium one. That is what the downgrade is doing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor fixes for smell required.
Remove redundant `null` assignment. Co-authored-by: Benoît Viguier <ildyria@users.noreply.github.com>
Co-authored-by: Benoît Viguier <ildyria@users.noreply.github.com>
Co-authored-by: Benoît Viguier <ildyria@users.noreply.github.com>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Albums that do not allow photo downloads cannot be included as enclosures. This checks album permissions before creating the enclosure to add to the feed.