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

Added sitemap generation#11

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

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

Conversation

@johberd

@johberd johberd commented Mar 27, 2017

Copy link
Copy Markdown

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
Copy Markdown
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