Refine SEO, uploads, and deploy handling
This commit is contained in:
@@ -25,7 +25,7 @@ final class AiBiographyPromptBuilder
|
||||
private const MIN_WORDS = 30;
|
||||
|
||||
private const SYSTEM_PROMPT = <<<'PROMPT'
|
||||
You are a concise writing assistant for Skinbase Nova, a digital art platform.
|
||||
You are a concise writing assistant for Skinbase, a digital art platform.
|
||||
|
||||
Write short creator biographies using only the facts provided. Use a polished, factual, and slightly editorial tone.
|
||||
|
||||
@@ -44,7 +44,7 @@ Rules:
|
||||
PROMPT;
|
||||
|
||||
private const SYSTEM_PROMPT_STRICT = <<<'PROMPT'
|
||||
You are a cautious writing assistant for Skinbase Nova, a digital art platform.
|
||||
You are a cautious writing assistant for Skinbase, a digital art platform.
|
||||
|
||||
Write a short, safe creator biography using only the facts provided. Be conservative.
|
||||
|
||||
@@ -59,7 +59,7 @@ Rules:
|
||||
PROMPT;
|
||||
|
||||
private const SYSTEM_PROMPT_SPARSE = <<<'PROMPT'
|
||||
You are a cautious writing assistant for Skinbase Nova, a digital art platform.
|
||||
You are a cautious writing assistant for Skinbase, a digital art platform.
|
||||
|
||||
Write a short, modest creator introduction using only the facts provided.
|
||||
|
||||
@@ -75,7 +75,7 @@ Rules:
|
||||
PROMPT;
|
||||
|
||||
private const SYSTEM_PROMPT_SPARSE_STRICT = <<<'PROMPT'
|
||||
You are a cautious writing assistant for Skinbase Nova, a digital art platform.
|
||||
You are a cautious writing assistant for Skinbase, a digital art platform.
|
||||
|
||||
Write a short, modest creator introduction using only the facts provided. Be conservative and precise.
|
||||
|
||||
|
||||
@@ -75,7 +75,7 @@ class CollectionAiCurationService
|
||||
);
|
||||
|
||||
$seo = sprintf(
|
||||
'%s on Skinbase Nova: %d curated artworks%s.',
|
||||
'%s on Skinbase: %d curated artworks%s.',
|
||||
$this->draftString($collection, $draft, 'title') ?: $collection->title,
|
||||
$context['artworks_count'],
|
||||
$context['theme_sentence'] !== '' ? ' exploring ' . $context['theme_sentence'] : ''
|
||||
|
||||
@@ -238,7 +238,7 @@ final class ArtworkSquareThumbnailBackfillService
|
||||
'timeout' => 30,
|
||||
'ignore_errors' => true,
|
||||
'header' => implode("\r\n", [
|
||||
'User-Agent: Skinbase Nova square-thumb backfill',
|
||||
'User-Agent: Skinbase square-thumb backfill',
|
||||
'Accept: image/*,*/*;q=0.8',
|
||||
'Accept-Encoding: identity',
|
||||
'Connection: close',
|
||||
|
||||
@@ -9,7 +9,7 @@ use Illuminate\Support\Facades\Log;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
/**
|
||||
* ArtworkRankingService — Skinbase Nova Ranking Engine V2
|
||||
* ArtworkRankingService — Skinbase Ranking Engine V2
|
||||
*
|
||||
* Intelligent scoring system combining:
|
||||
* 1. Base engagement (views, downloads, favourites, comments, shares)
|
||||
|
||||
@@ -11,7 +11,7 @@ use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
|
||||
/**
|
||||
* RankingService — Skinbase Nova rank_v2
|
||||
* RankingService — Skinbase rank_v2
|
||||
*
|
||||
* Responsibilities:
|
||||
* 1. Score computation — turn raw artwork signals into three float scores.
|
||||
|
||||
@@ -33,7 +33,7 @@ final class GoogleNewsSitemapBuilder extends AbstractSitemapBuilder
|
||||
route('news.show', ['slug' => $article->slug]),
|
||||
trim((string) $article->title),
|
||||
$article->published_at,
|
||||
(string) \config('sitemaps.news.google_publication_name', 'Skinbase Nova'),
|
||||
(string) \config('sitemaps.news.google_publication_name', 'Skinbase'),
|
||||
(string) \config('sitemaps.news.google_language', 'en'),
|
||||
);
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user