Bluesky outbound RSS and images

オープン
#17 コメント 2 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
backend

調査の方向性

Start by reproducing the Bluesky RSS examples linked in the issue and inspect how the package handles item descriptions and image metadata. Trace the RSS parsing entry point for enclosure elements and the literal [contains quote post or other embedded content] text. Done means image metadata is exposed from enclosures and the confusing placeholder is absent from item descriptions.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
104
フォーク
3
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

scripting/reallysimple のほかの issue

scripting/reallysimple の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。