Skip to content

Refactor entry rendering after eww and optionally to retrieve content#577

Open
Thaodan wants to merge 3 commits intoemacs-elfeed:mainfrom
Thaodan:eww_render
Open

Refactor entry rendering after eww and optionally to retrieve content#577
Thaodan wants to merge 3 commits intoemacs-elfeed:mainfrom
Thaodan:eww_render

Conversation

@Thaodan
Copy link
Copy Markdown
Contributor

@Thaodan Thaodan commented May 9, 2026

Refactor entry rendering after eww. Now there's a separate render
function that can specifically handle each content type.
The render function is used as callback for eww if the retrieve
of content through the entry link is enabled.
If this is not used the render function is called directly with the
content string.

The retrieval of content option allows for several conditions to
enable it such as always, regular expression match against the article
link or length of content.

Feedback welcome, it works for me but might require more polishing.

Thaodan and others added 3 commits May 9, 2026 17:46
Also fix some minor errors reported by checkdoc.
Refactor entry rendering after eww. Now there's a separate render
function that can specifically handle each content type.
The render function is used as callback for eww if the retrieve
of content through the entry link is enabled.
If this is not used the render function is called directly with the
content string.

The retrieval of content option allows for several conditions to
enable it such as always, regular expression match against the article
link or length of content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant