mirror of
https://github.com/slurdge/goeland.git
synced 2026-11-11 13:13:58 +00:00
[GH-ISSUE #79] Aggregated weekly digest with only titles #22
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: slurdge/goeland#22
Loading…
Add table
Add a link
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?
Originally created by @sweenu on GitHub (Nov 2, 2022).
Original GitHub issue: https://github.com/slurdge/goeland/issues/79
First, I'd like to say I really like goeland. It's simple, yet powerful and I like the fact that it's stateless and easily configurable with a config file.
Now to my problem, what I hoped I could get by using goeland is a weekly digest of all the new articles of the blogs I follow sent to me in one email. It would look something like:
There is no
Blog twobecause it won't have posted anything the past week.However, right now this is not possible for serveral reasons from what I see in the code:
URLfield to theSourcestruct).mergesource type makes you loose the information about the subsources likesource.Titlewhich I would need to do what I want.Is this a usecase you'd like to support? If yes, is there a certain way you would like it implemented? I am down to work on this.
I believe it would be cleaner to loop over all the sources and their entries in the html template than doing in go and embedding a single long string in the html.
@slurdge commented on GitHub (Nov 2, 2022):
I think this is a great idea and expands on use cases for goeland. I'm a bit busy this week, so I can't contribute much time to it.
The way I see it is aligned with what you envision, namely, add a URL in the source, keeping information up (beware that if merge keeps it, probably digest would want it too).
The last thing is the html template where it becomes trickier, as in if we add to much fields we need to be sure that they are always available or have decent fallbacks. For exemple, if one day a source is twitter (as imgur is also a source) ,we would want to have proper support for these fields.
If you want to start a PR that's fine, I'll give you my feedback on it.