v2 icon indicating copy to clipboard operation
v2 copied to clipboard

With content/description extract in list

Open ctrl-i opened this issue 2 years ago • 1 comments

Do you follow the guidelines?

  • [X] I have tested my changes
  • [X] I read this document: https://miniflux.app/faq.html#pull-request
  • [X] I don't code in go usually so there is probably a better way to implement this.

This PR adds a small section of the description or content of the feed under the title (and if there is an image in the content it will try to use the first one it finds).

It is useful for feeds that have generic titles. Personally I find it useful for ebay feeds where the price of the item is not included in the title but near the beginning of the description tag, using this PR prevents me from multiple mouse clicks and shows me a quick thumbnail of the item without having to either click on the external link or through to the item view page for every item in the feed I am interested in.

The image/description size can be altered using custom css:

:root {--itemmetadescsize: 8}

That would mean a description 8 lines long with an image the same height. CSS is used to truncate the description and style the image.

ctrl-i avatar Jun 09 '22 17:06 ctrl-i

This is a significant user interface change, and you are introducing new dependencies (Miniflux has its own HTML sanitizer).

fguillot avatar Jul 11 '22 00:07 fguillot