Suggestion: additional prefix/suffix if tag exists #69
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#69
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?
The
<author>or<dc:creator>tag isn't often filled in the feeds, some publishers use it consistently, some never, but if the tag is available, it's good and fair to mention the person behind the article, I think.For one feed I use this syntax:
That looks good in situations, where an author tag exists. But if not, the syntax is kind of broken and it would be
[New York Times / by ]. It's not the end of the world, but it doesn't look good.I guess other tags (like
{updated}or custom tags) would also benefit from my suggestion: Maybe a custom prefix and suffix would be great to add to a variable. Something like{[Title: ]title}or{[ / by]author}, so with [square brackets] IF the tag is available (or with a similar structure that will work).I'll have to look into this in more detail. Maybe in the new year.
Now implemented in release 3.5.0