reallysimple icon indicating copy to clipboard operation
reallysimple copied to clipboard

Bluesky outbound RSS and images

Open scripting opened this issue 9 months ago • 2 comments

There are two issues I'd like to report here.

Use enclosure element for image

An example of a Bluesky user who publishes great cartoons that totally belong everywhere. I want to include them in one of my projects but it doesn't work because the images don't come through in the feed. Some pointers.

  1. Example of a post containing an image.
  2. The RSS feed for that user's posts.
  3. Some browsers make it hard to view the source of a feed, so here's a link that gets through that.

You won't break anything if you add an enclosure element for each item with an image (only one enclosure per item btw) with the type and size of the image.

<enclosure url="https://url.of/image" type="img/png" length="82286"/>

Most feed readers will understand and do something nice with the image. And the ones who don't should ignore the enclosure. Lots of feed sources out there do it this way.

Confusing text in description

Not sure how this happens, but some item-level descriptions have mysterious text in them.

[contains quote post or other embedded content]

Here's an example.

<item>
   <link>https://bsky.app/profile/mariopro.bsky.social/post/3lmhnycmqwc2t</link>
   <description> [contains quote post or other embedded content]</description>
   <pubDate>10 Apr 2025 13:58 +0000</pubDate>
   <guid isPermaLink="false">at://did:plc:jrhiazkqht2txt7xiixad5v7/app.bsky.feed.post/3lmhnycmqwc2t</guid>
   </item>

In most feed readers the description element is displayed, and no one is looking for helpful software messages there. Users will have no idea how to interpret this. It should not be there.

scripting avatar Apr 09 '25 17:04 scripting