Custom template for each feed #58
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#58
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?
Hi, is that already possible or is there a chance to add this to your great tool?
An individual template for every feed
Examples for rss feeds:
a) News 1: Only the
{content_plaintext}+{link}(because the title is already visible in the linked post and could be redundant)b) YouTube Video: Only the
{title}+{link}(because the description is often full of trash; contains ads and many links)c) News 2: similar to a) but also with
{author}(because that one newspaper supports this tag; the others not)That would be awesome.
Yeah, that doesn't sound too involved. I'll put that onto the list of things to do for a future release.
At this point I am thinking of leaving the global template config and allow an optional template config per feed. If a feed has no individual template configured the global template will be used.
Does that sound like what you are after?
Sounds reasonable.
@Sebastian_Berlin as temporary solution you can run several instances of feed2fedi with one API key and one feed per instance
@MrClon wrote in https://codeberg.org/marvinsmastodontools/feed2fedi/issues/58#issuecomment-8315837:
Yes, but there are too many feeds. But thanks for the hint!
@marvin8 wrote in https://codeberg.org/marvinsmastodontools/feed2fedi/issues/58#issuecomment-8310800:
Perfect! ☺️
Actually also other global settings could be overwritten by the feed options, not only the template. For example
post_mediabecause some feeds don't contain a media-url, some others do, but others have, but don't need to post an image beside the article. Thevisibilitycould sometimes be different to a feed.But of course the template seems to me the most important one. I'm looking forward to it. 💫
Included in latest release 3.4.0