[feed.py] not all feeds use titles #3

Closed
opened 2022-01-01 07:35:43 +00:00 by aadil · 1 comment
Owner

copied over from lumbung-feed-aggregator repo

currently this doesn't handle feed items without title

copied over from [lumbung-feed-aggregator repo](https://git.vvvvvvaria.org/rra/lumbung-feed-aggregator/issues/7) > currently this doesn't handle feed items without title
Member

The feed parser docs recommend assuming that feeds do not return particular elements. So you need to write handlers for each element to gracefully fail.

Here is an example for the Author field:
https://git.autonomic.zone/ruangrupa/lumbunglib/src/branch/master/lumbunglib/feed.py#L58

The feed parser docs recommend assuming that [feeds do not return particular elements](https://feedparser.readthedocs.io/en/latest/basic-existence.html). So you need to write handlers for each element to gracefully fail. Here is an example for the Author field: https://git.autonomic.zone/ruangrupa/lumbunglib/src/branch/master/lumbunglib/feed.py#L58
r changed title from not all feeds use titles to [feed.py] not all feeds use titles 2022-01-07 09:58:28 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ruangrupa/konfluks#3
No description provided.