Closed garethsime closed 1 year ago
Seems to work, and the W3C validator [1] is happy with it, so LGTM.
Couple of notes on potential further work through:
[1] https://validator.w3.org/feed/check.cgi?url=https%3A%2F%2Flibrivox.org%2Frss%2F17623
Neat, I didn't know about that validator. I'll make sure to run things through it next time.
I noticed afterwards that most other data is wrapped up in <![CDATA[…]]>
to prevent any mangling of the XML (intentional or otherwise), so I might add that for the image too
Adding it to other feeds sounds like a good idea
Changing the category to Books seems easy to do, though I always worry about breaking people's setups when changing tags. Maybe we should have both the old and new one instead? (Latest categories)
Language and explicit tags would be good, but I don't know anything about either, so I'd have to look when I'm back at my computer
I'd love to fix the duration for my own use as well, though I see there's already some code there, so it might not be so straightforward as just plonking in some preexisting data I guess
Thanks for reviewing!
* Changing the category to Books seems easy to do, though I always worry about breaking people's setups when changing tags. Maybe we should have both the old and new one instead? ([Latest categories](https://podcasters.apple.com/support/1691-apple-podcasts-categories))
Yeah, even though the validator says this is wrong, it's "out there", which effectively makes it canon, so it's probably best to leave it as is.
Hi! I saw pull request #10 and I would like this feature too, so I thought I'd have a go reviving that since the PR seems a bit dead.
@kgroeneveld had some comments about it at the time:
I've changed the code to only render the
<itunes:image />
when the image is actually there. In the case where there is no cover art, I've just left it as-is and hopefully podcast apps do something sensible. (The app I'm using, Podcast Addict, just uses the book title with a random background colour if there's no art present, which is a nice default.)The images I've seen are indeed smaller. I don't have an Apple device to test on, but it all works fine on Podcast Addict on Android, which is what I'm using. If I had to guess, I'd look at https://podcasters.apple.com/support/902-troubleshooting-artwork-issues, which seems to imply that the art just won't show if it doesn't meet the requirements? Hard to say
I have no idea, sorry.