Skip to content

Get a category#17

Closed
sjehuda wants to merge 2 commits intoedhelas:masterfrom
sjehuda:patch-5
Closed

Get a category#17
sjehuda wants to merge 2 commits intoedhelas:masterfrom
sjehuda:patch-5

Conversation

@sjehuda
Copy link
Contributor

@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
Contributor 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
Contributor 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.

@edhelas edhelas closed this in 356a105 May 10, 2025
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