Fallback if tag (like description) is missing #59
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/feed2fedi#59
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tested out an feed, which doesn't contain the
<description>tag for my{content_plaintext}in thebot_post_template.After starting
feed2fedia lot of errors appear and no posts were published, even tough other tags (title, url etc.) were available.Regardless of whether that failed feed structure makes sense at all, it shows me that there should be a fallback. Maybe a simple "skip the tag if tag x is missing" would be sufficient to avoid a crash of the script.
Are you able to share the feed url?
Also please share some of the errors. That might speed up addressing this situation if applicable.
Example for feed.xml (not exactly similar to the output):
Error by feed2fedi → output (shortened and anonymized):
Thanks for that. I'll add checks to skip feed items that don't have any of the fields required.
Thank you very much! 💫
Included in latest release 3.4.0
EDITED
see https://codeberg.org/marvinsmastodontools/feed2fedi/issues/66
Please open a new issue for this. I agree it is related but still a different issue.