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

Comments

Added sitemap generation#11

Open
johberd wants to merge 1 commit intothemsaid:masterfrom
apptimists:sitemap-builder
Open

Added sitemap generation#11
johberd wants to merge 1 commit intothemsaid:masterfrom
apptimists:sitemap-builder

Conversation

@johberd
Copy link

@johberd johberd commented Mar 27, 2017

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