Skip to content

Fix for article rich metadata not being populated#118

Merged
0xZhangKe merged 1 commit into
0xZhangKe:mainfrom
KonradIT:rich-media-previews-embed-link
May 11, 2026
Merged

Fix for article rich metadata not being populated#118
0xZhangKe merged 1 commit into
0xZhangKe:mainfrom
KonradIT:rich-media-previews-embed-link

Conversation

@KonradIT

@KonradIT KonradIT commented May 8, 2026

Copy link
Copy Markdown
Contributor
  • sharedHttpClient has no User-Agent header, fixed it, as well as fix for content-type. Use chrome user agent instead, as well as use Accept: text/html header to get websites to send over the og:xxxxx tags
  • Use Bluesky's existing infra to populate rich metadata: https://cardyb.bsky.app/v1/extract?url=$website returns a JSON formatted response with the data, this is what bluesky-social uses. Failover to existing logic.

Here is the app populating rich metadata previews after my fix is applied:

Screenshot_20260508-231327

@0xZhangKe

Copy link
Copy Markdown
Owner

Looks like you’ve contributed a lot of changes, really appreciate it. I’ve been pretty busy lately, but I’ll make some time to review and merge them.

@0xZhangKe 0xZhangKe merged commit 06b252a into 0xZhangKe:main May 11, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants