atomtopubsub icon indicating copy to clipboard operation
atomtopubsub copied to clipboard

Get a category

Open sjehuda opened this issue 1 year ago • 3 comments

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

sjehuda avatar Apr 09 '24 08:04 sjehuda

First posted at https://github.com/imattau/atomtopubsub/pull/2

sjehuda avatar Apr 09 '24 08:04 sjehuda

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

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

edhelas avatar Apr 09 '24 09:04 edhelas

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

sjehuda avatar Apr 09 '24 13:04 sjehuda