scripting / a8c-FeedLand-Support

A public repo for discussing FeedLand at A8C.
1 stars 0 forks source link

Support artcasting #71

Open scripting opened 8 months ago

scripting commented 8 months ago

Make it so that enclosures of type image/xxx are displayed in river items and mailboxes.

Reviewed the code in feedlandHome, it's going to be a little tricky, may require a bit of a rewrite.

cagrimmett commented 8 months ago

@scripting You mentioned in Slack that you are starting to think about how to implement image enclosures because Bluesky feeds already include the image in the markdown. WP Photo Directory does, too.

I go back to two important principles when thinking about this: Prior Art and User Choice.

Just like podcast players prioritize the enclosure and make the rest of the content secondary but still available to the user, I think we prioritize the enclosure and put the rest of the content under the "click to see rest of post" dropdown arrow.

For audio file enclosures, that can be an inline audio player. For image enclosures, that can be the rendered image. Whatever else comes with that item in the feed can be hidden in the main river under the "see more" section, which makes it still accessible to users who want to see it (hence the user choice.)

scripting commented 8 months ago

I like that approach. Let's give it a try..