Initial commit: Animexe Laravel platform
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
|
||||
|
||||
@foreach($animes as $anime)
|
||||
<url>
|
||||
<loc>{{ $domain }}/anime/{{ $anime->slug }}</loc>
|
||||
<priority>{{ $anime->rating >= 8 ? '0.9' : ($anime->rating >= 6 ? '0.8' : '0.7') }}</priority>
|
||||
<changefreq>weekly</changefreq>
|
||||
<lastmod>{{ $anime->updated_at?->toAtomString() ?? now()->toAtomString() }}</lastmod>
|
||||
@if($anime->cover_image_url)
|
||||
<image:image>
|
||||
<image:loc>{{ $anime->cover_image_url }}</image:loc>
|
||||
<image:title>{{ htmlspecialchars($anime->title . ' İzle - Türkçe Altyazılı') }}</image:title>
|
||||
<image:caption>{{ htmlspecialchars($anime->title) }} anime Türkçe altyazılı ücretsiz izle — Animexe</image:caption>
|
||||
</image:image>
|
||||
@endif
|
||||
</url>
|
||||
@endforeach
|
||||
|
||||
</urlset>
|
||||
@@ -0,0 +1,32 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
|
||||
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
|
||||
|
||||
@foreach($posts as $post)
|
||||
<url>
|
||||
<loc>{{ $domain }}/blog/{{ $post->slug }}</loc>
|
||||
<priority>0.75</priority>
|
||||
<changefreq>monthly</changefreq>
|
||||
<lastmod>{{ $post->updated_at?->toAtomString() ?? now()->toAtomString() }}</lastmod>
|
||||
@if($post->cover_image)
|
||||
<image:image>
|
||||
<image:loc>{{ $post->cover_image }}</image:loc>
|
||||
<image:title>{{ htmlspecialchars($post->title) }}</image:title>
|
||||
</image:image>
|
||||
@endif
|
||||
@if($post->published_at && $post->published_at->gt(now()->subDays(2)))
|
||||
<news:news>
|
||||
<news:publication>
|
||||
<news:name>Animexe Blog</news:name>
|
||||
<news:language>tr</news:language>
|
||||
</news:publication>
|
||||
<news:publication_date>{{ $post->published_at->toAtomString() }}</news:publication_date>
|
||||
<news:title>{{ htmlspecialchars($post->title) }}</news:title>
|
||||
@if($post->excerpt)<news:keywords>{{ htmlspecialchars(\Illuminate\Support\Str::limit($post->excerpt, 200)) }}</news:keywords>@endif
|
||||
</news:news>
|
||||
@endif
|
||||
</url>
|
||||
@endforeach
|
||||
|
||||
</urlset>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
|
||||
@foreach($staticPages as $page)
|
||||
<url>
|
||||
<loc>{{ $domain }}{{ $page['loc'] }}</loc>
|
||||
<priority>{{ $page['priority'] }}</priority>
|
||||
<changefreq>{{ $page['changefreq'] }}</changefreq>
|
||||
<lastmod>{{ now()->toAtomString() }}</lastmod>
|
||||
</url>
|
||||
@endforeach
|
||||
|
||||
@foreach($genres as $genre)
|
||||
<url>
|
||||
<loc>{{ $domain }}/genre/{{ $genre->slug }}</loc>
|
||||
<priority>0.7</priority>
|
||||
<changefreq>weekly</changefreq>
|
||||
<lastmod>{{ $genre->updated_at?->toAtomString() ?? now()->toAtomString() }}</lastmod>
|
||||
</url>
|
||||
@endforeach
|
||||
|
||||
</urlset>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||
xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
||||
|
||||
@foreach($animes as $anime)
|
||||
<url>
|
||||
<loc>{{ $domain }}/anime/{{ $anime->slug }}</loc>
|
||||
<video:video>
|
||||
<video:thumbnail_loc>{{ $anime->cover_image_url ?? $domain . '/logo.jpg' }}</video:thumbnail_loc>
|
||||
<video:title>{{ htmlspecialchars($anime->title . ' İzle - Türkçe Altyazılı') }}</video:title>
|
||||
<video:description>{{ htmlspecialchars(\Illuminate\Support\Str::limit(strip_tags($anime->description ?? $anime->title . ' Türkçe altyazılı ücretsiz izle — Animexe'), 200)) }}</video:description>
|
||||
<video:player_loc>{{ $anime->first_ep_watch_url }}</video:player_loc>
|
||||
@foreach($anime->episodes->take(3) as $ep)
|
||||
@php $sNum = optional($ep->season)->season_number ?? 1; @endphp
|
||||
<video:tag>{{ htmlspecialchars($anime->title . ' ' . $ep->episode_number . '. Bölüm İzle') }}</video:tag>
|
||||
@endforeach
|
||||
<video:tag>anime izle</video:tag>
|
||||
<video:tag>türkçe anime</video:tag>
|
||||
<video:tag>{{ htmlspecialchars($anime->title) }} izle</video:tag>
|
||||
<video:family_friendly>yes</video:family_friendly>
|
||||
<video:requires_subscription>no</video:requires_subscription>
|
||||
<video:live>no</video:live>
|
||||
</video:video>
|
||||
</url>
|
||||
@endforeach
|
||||
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user