Commit Graph
10 Commits
Author SHA1 Message Date
Brent Simmons 5fc54daa6a Skip a Substack cover image when the body has its own top image, since it’s often a separate upload of the same picture. 2026-11-16 09:24:07 -08:00
Brent Simmons f28c08c451 Deal with some special cases for enclosures in the article view. 2026-11-15 21:55:31 -08:00
Brent Simmons 9c787187b6 Make the enclosures audio filename a link. Underline that link in Default, Gray, Plum, and Verdana Revival themes. 2026-11-15 21:09:04 -08:00
Brent Simmons 409c55b39e Handle Engadget’s weird duplicate-image issue. 2026-11-09 08:46:55 -08:00
Brent Simmons 898c44f961 Skip primary images for microblog (Mastodon etc.) style posts (no title, short or short-ish). They can still have video or audio for [[primary_media]] but all attached images will be in [[enclosures]]. 2026-11-08 22:02:02 -08:00
Brent Simmons d8417db7d5 Skip enclosure images that are the same as the feed image (as with Letters from an American), so they don’t become redundant timeline thumbnails or primary images. 2026-11-08 21:56:55 -08:00
Brent Simmons 2631c157ae Change from [[primary_image]] to [[primary_media]] and include video and audio. Revert microblog handling — treat each article type the same with regard to primary_media. 2026-11-08 21:23:47 -08:00
Brent Simmons 9aea5204a1 Use media:thumbnail as fallback when there are no other images (as with Wired). Put all images at bottom for microblog-style articles. 2026-11-08 20:59:47 -08:00
Brent Simmons 1d8ae6abec Add [[primary_image]] tag to article renderer. Replaced with div containing best guess at primary image from feed that is not otherwise included in the article HTML. (Comes from Media RSS, for instance.) 2026-11-08 18:05:06 -08:00
Brent Simmons 70c5dce656 Add tests for enclosures rendering. 2026-10-24 21:53:05 -07:00