Improve search engine visibility with structured data and German descriptions

Adds JSON-LD structured data for website, organization, and video objects, updates meta descriptions to German, and modifies Twitter creator handle.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 401e2ec0-e00d-4f10-9d0e-60f3d479f9a5
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: 15f2f889-92c4-4e31-8a9c-79faa5c6cb62
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/60d372ff-2c10-46c7-b01b-10c3435136b0/401e2ec0-e00d-4f10-9d0e-60f3d479f9a5/7NzVbGU
This commit is contained in:
sebastjanartic
2026-01-24 14:03:54 +00:00
parent 2319f7062b
commit 3c77094946
2 changed files with 67 additions and 8 deletions
+18 -5
View File
@@ -203,7 +203,7 @@ app.use((req, res, next) => {
<!-- Dodatni Twitter Card meta podatki -->
<meta name="twitter:player:width" content="1200">
<meta name="twitter:player:height" content="630">
<meta name="twitter:creator" content="@go4video">
<meta name="twitter:creator" content="@folaborable">
<!-- Structured data for Google -->
<script type="application/ld+json">
@@ -211,16 +211,29 @@ app.use((req, res, next) => {
"@context": "https://schema.org",
"@type": "VideoObject",
"name": "${escapeHtml(video.title)}",
"description": "${escapeHtml(video.description || `Watch ${video.title} on go4.video`)}",
"description": "${escapeHtml(shortDescription)}",
"thumbnailUrl": "${thumbnailUrl}",
"uploadDate": "${video.createdAt?.toISOString()}",
"duration": "PT${Math.floor(video.duration / 60)}M${video.duration % 60}S",
"contentUrl": "${videoUrl}",
"contentUrl": "${video.videoUrl}",
"embedUrl": "${videoUrl}",
"interactionStatistic": {
"@type": "InteractionCounter",
"interactionType": "https://schema.org/WatchAction",
"userInteractionCount": ${video.views || 0}
},
"publisher": {
"@type": "Organization",
"name": "go4.video",
"url": "${baseUrl}"
"name": "FOLX.TV",
"logo": {
"@type": "ImageObject",
"url": "https://video.folx.tv/folx-logo.png"
},
"url": "https://video.folx.tv"
},
"potentialAction": {
"@type": "WatchAction",
"target": "${videoUrl}"
}
}
</script>`;