Adding a Google Sitemap Screencast
[0:05] In this video I'm going to add a Google Sitemap to a Recite web site. This is simply a matter of adding a new web feed to the web site, and then adding a page that shows the feed.
[0:20] To start, let's add a new tab to manage feeds. Select "Feeds" then create that tab. Once this widget has loaded click "New Web Feed", and we're going to add it based on "Pages". There's other options for creating feeds, so if you want to make a blog then create an RSS feed you can do that. To keep it relatively simple for now we're going to create a site map based on the pages.
[0:50] Let's just call this "Google Sitemap". You can add this in Google Webmaster Tools. I won't show you how in this screencast, but it's fairly straightforward. They'll validate your XML feed and make sure it's working fine.
[1:07] We're going to start from the home page. If you select a sub-page then only pages within that will be included. So select "Home" and "Include Starting Page", and "No Limit". We're not going to exclude any pages for now, but we will shortly. Let's just create this feed. And the feed appears here. There's no options to click on here, it just shows you that the feed exists.
[1:37] Now that the feed is there we need to add it to the web site. Open "Pages". We need to add a new page which uses the "Web Feed" driver. That hasn't been added yet as a page type so let's open "Page Types". Now we can add the new page type.
[2:07] Click on "New Page Type". There's a few to choose from here but we'll be outputting a web feed (at the bottom). We'll call it Google Sitemap. We have to choose how we're going to output the feed. There's a few to choose from. We're using the "Google Sitemap" format. If you pick "RSS" then it will output an RSS Feed. Click "Create Page Type".
[2:31] This isn't creating the page, just the type of page. This means you can create multiple pages using this type. We don't need "Page Types" widget any more so let's close that. Now we can create a sub-page. As you can see our new type appears here. We're creating it below "Home", which means it will appear below this top level here.
[2:51] So select "Google Sitemap". We'll call it Google Sitemap. The convention with sitemaps is to call them sitemap.xml. This isn't required, but we'll stick to convention. The other option here is to pick a feed, so let's select the feed we created at the start.
[3:10] Click "Create Page", and there's a Google icon here to indicate it's a site map. Let's click on that. There's no "Content" tab for this page because it doesn't make sense for there to be. We can have a look at this page, so let's click on it now. You can see the URL, it has sitemap.xml as we entered.
[3:35] So here's our site map. Chrome doesn't actually render XML in any useful format, but just to demonstrate: "View Page Source" and you can see there it's generated the urlset based on the Sitemaps schema. We've only got three pages so far but as you add more pages these will automatically be added.
[3:58] You might note this sitemap.xml file. This doesn't need to be in the sitemap, because Google already knows about it. We can actually exclude this by returning to the Control Panel.
[4:15] We do that in the feed options. As we saw when we created the feed, we could exlude certain types or certain pages. We can either exclude the Google Sitemap type or we can open "Exclude Pages" and exclude it in that way. Now save the feed.
[4:43] Now reload the feed. You can see that last URL is gone. If I view source, it just has the two links in here now. And that's how you create a Google Sitemap in Recite CMS.