-
Notifications
You must be signed in to change notification settings - Fork 10
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
Support multiple categories #116
Comments
Choosing the right category is probably one of the hardest thing to do when creating a podcast, because usually there's no "perfect" category. So I understand that it would be nice to select more than one. But Apple Podcasts does not support more than one category, as written in the page you link to:
If there is any other podcast aggregator (like Spotify or Google Podcasts) that takes into account multiple categories, then I think it would be nice to be able to specify additional categories, in addition to the "main" category given to Apple Podcasts. But I think most vendors want to avoid abuse of the category feature, which could easily happen if every podcast could specify that they belong to every category :P Akin to the "tags" abuse that led YouTube to abolish tags on videos. |
Yes, that's weird. So I decided to do some research on this.
I think that's a good enough reason to add support for multiple categories. But it seems that the first category listed in the RSS will hold some special significance. So I wonder if it would be best to split them into two attributes in PodGen's API, one being today's attribute and the other being a new attribute for additional categories? Something like pod = Podcast()
# ...
pod.category = Category("Technology")
# Name of attribute is up for discussion
pod.additional_categories = {
Category("Society & Culture", "Philosophy"),
Category("News", "Tech News")
} That way, it should be clear to everyone that they should be careful about what category they pick as their most important category. The name Alternatively, we could make The special meaning of the first category means you'd need to use an ordered collection (not a set), even though I think a set best represents the attribute (since each category should only appear once, and their order should not matter (except for the first one)). But maybe that's not so much of a problem. Thoughts? :) |
I like the latter approach simply because it was what I instinctively tried first. Still, I can see how the former makes more clear the significance of the first category. Do you think the potential confusion of the latter approach could be mitigated in the docs? |
Well, if someone uses autocomplete in their IDE or just attempts to assign multiple categories to So I'd rather keep |
In the iTunes spec, it seems like podcasts can live in up to 3 categories. Something like this would be awesome:
But when I try that, I get a
TypeError
:What do you think? Would you be open to a PR?
The text was updated successfully, but these errors were encountered: