Skip to content

Instantly share code, notes, and snippets.

@codingwithsara codingwithsara/sitemap.ctp Secret
Created Aug 13, 2018

Embed
What would you like to do?
<?php
echo '<?xml version="1.0" encoding="UTF-8"?>';
echo '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">';
echo $this->fetch('content');
echo '</urlset>';
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.