Skip to content
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

[Full Content]: BlueSky user feeds #810

Closed
PhilC813 opened this issue Feb 3, 2025 · 5 comments
Closed

[Full Content]: BlueSky user feeds #810

PhilC813 opened this issue Feb 3, 2025 · 5 comments

Comments

@PhilC813
Copy link
Contributor

PhilC813 commented Feb 3, 2025

Feed URL

https://bsky.app/profile/mcuban.bsky.social/rss (example)

Add any details, links, or screenshots about the article layout that's missing or wrong

The full content of the feed items (user posts) appears blank in Capy.

As it's a social media, it could be relevant to add to #676 but it's technically not embeds, so I'm not sure.

@PhilC813
Copy link
Contributor Author

PhilC813 commented Feb 3, 2025

For reference, this is the same feed I referred to in #809, which regards optimizing push notifications for feeds without <title> tags.

@jocmp jocmp added this to Capy Reader Feb 4, 2025
@jocmp jocmp moved this to On Deck in Capy Reader Feb 4, 2025
@jocmp
Copy link
Owner

jocmp commented Feb 4, 2025

I took a look at this. I was able to get a full content parser working but only on the server version of mercury parser. Unfortunately full content that is available looks the same as the RSS feed description since the HTML only includes the post text without images or quoted posts.

Relates to

Example

<body>
  <div id="root">
    <div id="splash">

      <svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 360 320"><path fill="#0085ff" d="M180 142c-16.3-31.7-60.7-90.8-102-120C38.5-5.9 23.4-1 13.5 3.4 2.1 8.6 0 26.2 0 36.5c0 10.4 5.7 84.8 9.4 97.2 12.2 41 55.7 55 95.7 50.5-58.7 8.6-110.8 30-42.4 106.1 75.1 77.9 103-16.7 117.3-64.6 14.3 48 30.8 139 116 64.6 64-64.6 17.6-97.5-41.1-106.1 40 4.4 83.5-9.5 95.7-50.5 3.7-12.4 9.4-86.8 9.4-97.2 0-10.3-2-27.9-13.5-33C336.5-1 321.5-6 282 22c-41.3 29.2-85.7 88.3-102 120Z"/></svg>
    </div>
  </div>

  <noscript>
    <h1 lang="en">JavaScript Required</h1>
    <p lang="en">This is a heavily interactive web application, and JavaScript is required. Simple HTML interfaces are possible, but that is not what this is.
    </p><p lang="en">Learn more about Bluesky at <a href="https://bsky.social/">bsky.social</a> and <a href="https://atproto.com/">atproto.com</a>.
    <div id="bsky_post_summary">
  <h3>Post</h3>
  <p id="bsky_display_name">guilherme nunes</p>
  <p id="bsky_handle">guilhernunes.bsky.social</p>
  <p id="bsky_did">did:plc:hew2gujvhhgtchs62pzzn7lb</p>
  <p id="bsky_post_text">capybaras enjoying pizza pattern

prints: https://www.inprnt.com/gallery/guilhernunes/capybaras-enjoying-pizza-pattern/

t-shirts and other products: https://www.redbubble.com/shop/ap/168320435?asc=u</p>
  <p id="bsky_post_indexedat">2025-02-03T23:11:38.554Z</p>
</div>

  </p></noscript>
</body>

@PhilC813
Copy link
Contributor Author

PhilC813 commented Feb 4, 2025

Understood. Thanks for checking! I've added my vote to the issue on the BlueSky repo.

Not sure if it's a good idea, but what you could do for feeds that you manually checked for full content support, and which can't get a better result than the RSS feed description, is to have the custom parser display a message like this:

As of the last verification on February 4, 2025, this feed doesn't support full content mode.

For more details, please refer to this issue on GitHub.

But if you think that your custom parser will be able to take in whatever change they make on the BlueSky side (if they add all post content to the HTML), then maybe not.

Finally, what would complement feeds like this really well is an option to open the feed items externally by default when selecting one in the list. I think I saw this discussed before but I'm not sure. The UI to enable this could be similar to the one for notifications; a checkbox list with entries for every field, under the settings. Later down the line, I think it'd be more intuitive if settings relevant to individual feeds were accessible from the feeds themselves, but for now it would be the easiest implementation.

@jocmp
Copy link
Owner

jocmp commented Feb 5, 2025

I gave full content another shot and it worked. I'll include that in the next release.

re: opening in the browser by default, I think that fizzled out but I think it's a worthwhile option. I'll track that officially here:

@PhilC813
Copy link
Contributor Author

PhilC813 commented Feb 5, 2025

Thank you for both! I'll see how it renders out in the next release.

The BlueSky app doesn't yet have push notifications for when one of the users you follow has a new post, and so the RSS feed is the only way. Having this optimized in Capy is really useful!

@jocmp jocmp moved this from On Deck to Next Release in Capy Reader Feb 6, 2025
@jocmp jocmp moved this from Next Release to Done in Capy Reader Feb 6, 2025
@jocmp jocmp closed this as completed Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants