Skip to content
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

Get a category #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Get a category #17

wants to merge 2 commits into from

Conversation

sjehuda
Copy link

@sjehuda sjehuda commented Apr 9, 2024

Do not attempt to iterate categories because there is only a category.

Do not attempt to iterate categories because there is only a category.
@sjehuda
Copy link
Author

sjehuda commented Apr 9, 2024

First posted at imattau#2

Do not attempt to iterate categories because there is only a category.
@edhelas
Copy link
Owner

edhelas commented Apr 9, 2024

https://www.ietf.org/rfc/rfc4287.html#section-4.1.2

atom:entry elements MAY contain any number of atom:category elements.

@sjehuda
Copy link
Author

sjehuda commented Apr 9, 2024

feedparser stores only one category in attribute "category", if found, and the rest of them may be inside attribute "tags". See entries[i].tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants