From cc3551f3f5c82f40fa757402ea435c9549e4374c Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Wed, 18 Mar 2026 22:25:59 +0100 Subject: [PATCH] fix: simplify like post content and create as draft Content is now "Title - Author" instead of "Liked X by Y on YouTube". Posts are created with post-status: draft so they can be reviewed before publishing. Co-Authored-By: Claude Opus 4.6 --- lib/likes-sync.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/likes-sync.js b/lib/likes-sync.js index 687bf47..31cb7b7 100644 --- a/lib/likes-sync.js +++ b/lib/likes-sync.js @@ -169,15 +169,15 @@ export async function syncLikes({ db, youtubeConfig, publication, postsCollectio "post-type": "like", "mp-slug": slug, "like-of": videoUrl, - name: `Liked "${video.title}" by ${video.channelTitle}`, + name: `${video.title} - ${video.channelTitle}`, content: { - text: `Liked "${video.title}" by ${video.channelTitle} on YouTube`, - html: `Liked "${escapeHtml(video.title)}" by ${escapeHtml(video.channelTitle)} on YouTube`, + text: `${video.title} - ${video.channelTitle}`, + html: `${escapeHtml(video.title)} - ${escapeHtml(video.channelTitle)}`, }, published: new Date().toISOString(), url: postUrl, visibility: "public", - "post-status": "published", + "post-status": "draft", "youtube-video-id": videoId, "youtube-channel": video.channelTitle, "youtube-thumbnail": video.thumbnail || "",