-
Notifications
You must be signed in to change notification settings - Fork 2
Bluesky outbound RSS and images #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
see: bluesky-social/atproto#3736 scripting/reallysimple#17 Adds some basic test cases. I didn't address the the "quote post issues". For images ``` <item> <link> https://localhost:8100/profile/jason.mischievous.org/post/3llzr2t3fbs2t </link> <description> I live in the Bay Area mand will be at Uniqlo at 5pm on Sunday I’ll report back later on the situation @dieworkwear.bsky.social </description> <pubDate>05 Apr 2025 01:16 +0000</pubDate> <guid isPermaLink="false"> at://did:plc:d4yzg3vadl536rkihgygkvv6/app.bsky.feed.post/3llzr2t3fbs2t </guid> <enclosure url="https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:d4yzg3vadl536rkihgygkvv6/bafkreibcupytijcm2peztqhh2qqwgezj6vxcyygn6i3hchhsaajt656kf4@jpeg" type="image/jpeg" length="665672"/> </item> ``` for videos ``` <item> <link> https://localhost:8100/profile/jason.mischievous.org/post/3lmfyqppras23 </link> <description> My cats are so stupid. It looks like it is going to be a fight... then "Oh, friend"... </description> <pubDate>09 Apr 2025 22:06 +0000</pubDate> <guid isPermaLink="false"> at://did:plc:d4yzg3vadl536rkihgygkvv6/app.bsky.feed.post/3lmfyqppras23 </guid> <enclosure url="https://video.bsky.app/watch/did%3Aplc%3Ad4yzg3vadl536rkihgygkvv6/bafkreidc6rkgxvn642qrwpejspetfynewssxa3wrwenzal7ttm7gug4xzi/playlist.m3u8" type="video/mp4" length="1071343"/> </item> ``` Note I had to update the `bluesky-social/indigo` reference in this app to access `Embed.EmbedVideo_View` ``` go get github.com/bluesky-social/indigo@latest go mod tidy ```
The "[contains quote post or other embedded content]" text is included to reduce confusion. Often people make a post which is a comment on another post, and their post text could easily be misinterpreted if there is not some indication that there is "other context" not coming through. Definitely open to linking to images! I think we need a solution/schema which works for multiple images though. If there can only be a single Both of the above are driven from experience and user feedback on social cards, what are similar to RSS in some ways. |
@bnewbold -- i think we found the answer in the thread over on the atproto repo. bluesky-social/atproto#3736 (comment) basically the Media RSS namespace gives you a way to include multiple images in a post. it's a widely supported namespace, so it's the best fit we have. |
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.
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.
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.
The text was updated successfully, but these errors were encountered: