From b5edb0ab52613dbd37912bf318e10423dadab346 Mon Sep 17 00:00:00 2001 From: "shakespeare.diy" Date: Thu, 18 Jun 2026 15:00:26 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20nostrText=20format=20=E2=80=94=20short?= =?UTF-8?q?=20teaser,=20URL=20as=20the=20star?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Kind 1 notes render differently on every client (Damus, Primal, Amethyst, Snort, etc). The fix: keep the kind 1 as a 5-line teaser that works as plain text on any client, with the full formatted issue at the URL. Issue #001 nostrText trimmed from 14 lines to 4. Added template comment with rules for all future issues: - Max 5 content lines before the URL - No bullet lists - URL always on its own line - 3 hashtags max Co-authored-by: shakespeare.diy --- src/pages/NewsletterPage.tsx | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/src/pages/NewsletterPage.tsx b/src/pages/NewsletterPage.tsx index 0b72118..91c64e2 100644 --- a/src/pages/NewsletterPage.tsx +++ b/src/pages/NewsletterPage.tsx @@ -62,7 +62,26 @@ export interface NewsletterIssue { spotOfTheWeek?: SpotOfTheWeek; /** Free-text community section — 2-3 sentences max */ communityNote: string; - /** Plain-text version used for the kind 1 Nostr note */ + /** + * Plain-text teaser posted as a kind 1 Nostr note. + * + * TEMPLATE (copy this for every new issue): + * + * 🛹 SkateSpots Weekly #00X + * + * [One punchy sentence summing up the week — what was the theme?] + * [One sentence on the most important thing that shipped.] + * + * Full issue: https://skate-spots.org/newsletter + * + * #skateboarding #nostr #skatespots + * + * Rules: + * - Max 5 lines of content before the URL + * - No bullet lists — clients render them differently + * - URL always on its own line, always last before hashtags + * - 3 hashtags max — more looks spammy + */ nostrText: string; } @@ -127,20 +146,11 @@ export const NEWSLETTER_ISSUES: NewsletterIssue[] = [ spotOfTheWeek: undefined, communityNote: "The relay at wss://goskatespots.nostr1.com is live and growing. Spots, shops, events, coaches, filmers, editors and tours are all flowing through it. Add it to your Nostr client to follow the scene directly.", - nostrText: `🛹 SkateSpots Weekly — Issue #001 + nostrText: `🛹 SkateSpots Weekly #001 -Security week. Eight improvements shipped: +Security week. Fake spot protection, URL sanitization, map clustering, phishing warnings and more — eight improvements shipped to keep the community clean and the map usable. -🔐 Fake spot protection (geohash validation, null island blocked) -🔐 URL sanitization on shops & profiles -👑 Official badge for verified founder content -🗺 Map marker clustering (cities are navigable again) -🚫 Content length limits across all parsers -📊 Trusted count on community stats -🛡 DM phishing warning banner -⚡ Smart WoT trust filter defaults - -Full breakdown: https://skate-spots.org/newsletter +Full issue: https://skate-spots.org/newsletter #skateboarding #nostr #skatespots`, },