Підготовка контенту платформи Ring
Підготовка контенту платформи Ring
Підготовка контенту платформи Ring
v1.6.0 fixes member blog routing and integrates with the News Kingdom promotion pipeline.
/blog/{username}
/blog/{username}/{slug}
Routes: app/(public)/[locale]/blog/[username]/page.tsx and .../[slug]/page.tsx.
Path helpers: lib/blog/blog-path.ts — use these instead of hardcoding URLs.
Earlier trees used a parallel route slot blog/@[username]/, which did not produce /blog/@handle/ URLs in App Router. The canonical pattern is a dynamic [username] segment with @ only in the param value when needed.
Member posts can be promoted to the main news feed with kingdom fields (promoteToMainPage, mainPageStatus, payment via PaymentConductor). See News Kingdom.
Authenticated users can bookmark articles via POST /api/user/favorites and useContentFavorite hook.
v1.6.0 fixes member blog routing and integrates with the News Kingdom promotion pipeline.
/blog/{username}
/blog/{username}/{slug}
Routes: app/(public)/[locale]/blog/[username]/page.tsx and .../[slug]/page.tsx.
Path helpers: lib/blog/blog-path.ts — use these instead of hardcoding URLs.
Earlier trees used a parallel route slot blog/@[username]/, which did not produce /blog/@handle/ URLs in App Router. The canonical pattern is a dynamic [username] segment with @ only in the param value when needed.
Member posts can be promoted to the main news feed with kingdom fields (promoteToMainPage, mainPageStatus, payment via PaymentConductor). See News Kingdom.
Authenticated users can bookmark articles via POST /api/user/favorites and useContentFavorite hook.
v1.6.0 fixes member blog routing and integrates with the News Kingdom promotion pipeline.
/blog/{username}
/blog/{username}/{slug}
Routes: app/(public)/[locale]/blog/[username]/page.tsx and .../[slug]/page.tsx.
Path helpers: lib/blog/blog-path.ts — use these instead of hardcoding URLs.
Earlier trees used a parallel route slot blog/@[username]/, which did not produce /blog/@handle/ URLs in App Router. The canonical pattern is a dynamic [username] segment with @ only in the param value when needed.
Member posts can be promoted to the main news feed with kingdom fields (promoteToMainPage, mainPageStatus, payment via PaymentConductor). See News Kingdom.
Authenticated users can bookmark articles via POST /api/user/favorites and useContentFavorite hook.