Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Added sitemap generation #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johannesberdin
Copy link

Big 👍 for your work.

We think it could be helpful to have a basic sitemap so we adapted the code from the RSS feed builder.

User needs to set sitemapView in config.php and a sitemap blade template.

Basic example:

<?xml version="1.0" encoding="UTF-8" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  @foreach($sites as $site)
  <url>
    <loc>{{ $siteUrl }}{{ $site }}</loc>
  </url>
  @endforeach
</urlset>

@vidalvasconcelos
Copy link
Contributor

Hey, its very cool!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants