Bluesky outbound RSS and images

Abierto
#17 2 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
javascript
Área
backend

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
JavaScript
Estrellas
104
Forks
3
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de scripting/reallysimple

Todos los issues de scripting/reallysimple

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.