Implement creator studio and upload updates
This commit is contained in:
11
resources/views/sitemaps/index.blade.php
Normal file
11
resources/views/sitemaps/index.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
@foreach ($items as $item)
|
||||
<sitemap>
|
||||
<loc>{{ e($item->loc) }}</loc>
|
||||
@if ($item->lastModified)
|
||||
<lastmod>{{ $item->lastModified->format(DATE_ATOM) }}</lastmod>
|
||||
@endif
|
||||
</sitemap>
|
||||
@endforeach
|
||||
</sitemapindex>
|
||||
16
resources/views/sitemaps/news-urlset.blade.php
Normal file
16
resources/views/sitemaps/news-urlset.blade.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
|
||||
@foreach ($items as $item)
|
||||
<url>
|
||||
<loc>{{ e($item->loc) }}</loc>
|
||||
<news:news>
|
||||
<news:publication>
|
||||
<news:name>{{ e($item->publicationName) }}</news:name>
|
||||
<news:language>{{ e($item->publicationLanguage) }}</news:language>
|
||||
</news:publication>
|
||||
<news:publication_date>{{ $item->publicationDate->format(DATE_ATOM) }}</news:publication_date>
|
||||
<news:title>{{ e($item->title) }}</news:title>
|
||||
</news:news>
|
||||
</url>
|
||||
@endforeach
|
||||
</urlset>
|
||||
19
resources/views/sitemaps/urlset.blade.php
Normal file
19
resources/views/sitemaps/urlset.blade.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"@if($hasImages) xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"@endif>
|
||||
@foreach ($items as $item)
|
||||
<url>
|
||||
<loc>{{ e($item->loc) }}</loc>
|
||||
@if ($item->lastModified)
|
||||
<lastmod>{{ $item->lastModified->format(DATE_ATOM) }}</lastmod>
|
||||
@endif
|
||||
@foreach ($item->images as $image)
|
||||
<image:image>
|
||||
<image:loc>{{ e($image->loc) }}</image:loc>
|
||||
@if ($image->title)
|
||||
<image:title>{{ e($image->title) }}</image:title>
|
||||
@endif
|
||||
</image:image>
|
||||
@endforeach
|
||||
</url>
|
||||
@endforeach
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user