From 67f66f1491d8d1b19024bd9f77192f84b8c750f7 Mon Sep 17 00:00:00 2001 From: Heath Stewart Date: Mon, 25 May 2026 13:18:48 -0700 Subject: [PATCH] Publish full textContent Bluesky is rolling out a feature for enhanced links that can estimate reading time on `site.standard.document`s based on `textContent`. We should publish the whole thing to support that. Resolves #37 --- packages/cli/src/lib/atproto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/lib/atproto.ts b/packages/cli/src/lib/atproto.ts index 0400820..6da7a28 100644 --- a/packages/cli/src/lib/atproto.ts +++ b/packages/cli/src/lib/atproto.ts @@ -280,7 +280,7 @@ export async function createDocument( title: post.frontmatter.title, site: config.publicationUri, path: postPath, - textContent: textContent?.slice(0, 10000), + textContent: textContent, publishedAt: publishDate.toISOString(), canonicalUrl: `${config.siteUrl}${postPath}`, }; @@ -367,7 +367,7 @@ export async function updateDocument( title: post.frontmatter.title, site: config.publicationUri, path: postPath, - textContent: textContent?.slice(0, 10000), + textContent: textContent, publishedAt: publishDate.toISOString(), canonicalUrl: `${config.siteUrl}${postPath}`, }; -- 2.51.2