X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/9f9a8065270118c4890e8cd8dcffac3ea66e183e..92ba3bb4a1b84ffa791fa0be88529e96fd71b157:/doc/todo/Google_Sitemap_protocol.mdwn diff --git a/doc/todo/Google_Sitemap_protocol.mdwn b/doc/todo/Google_Sitemap_protocol.mdwn index 8fa14d8c9..057a88b72 100644 --- a/doc/todo/Google_Sitemap_protocol.mdwn +++ b/doc/todo/Google_Sitemap_protocol.mdwn @@ -14,3 +14,34 @@ produce a map of pages that other pages do not link to, if you're worried about having such pages not found by web spiders. --[[Joey]] + +While pages are very interlinked, most people use ikiwiki for blogging. Blogging produces pages at random intervals and google apparently optimizes their crawls to fit the frequency of changes. For me it's not so often that the contents of my blog changes, so google indexes it quite infrequently. Sitemaps are polled more often than other content (if one exists) so it's lighter for the site and for search engines (yes, google) to frequently poll it instead. So it's not that pages can't be found, but it's lighter for the site to keep an up to date index. + +-- Sami + +> I've written a sitemaps plugin for my own use. With a little tweaking it +> should be usable for others. See [my git +repo](http://localhost/git/?p=website.git;a=blob;f=plugins/googlesitemap.pm) +for an example. You will probably need to strip out the metadata variables I +> gather, and tweak to generate proper priorities. The code is pretty simple +> though and self-explanatory. +> +> -- CharlesMauch + +>> presumably you really mean [xtermin.us rather than localhost](http://xtermin.us/git/?p=website.git;a=blob;f=plugins/googlesitemap.pm) +>> -- [[KarlMW]] + +>>>[xtermin.us rather than localhost](http://xtermin.us/git/?p=website.git;a=blob;f=plugins/googlesitemap.pm) is 404 now. +>>> -- weakish + +There is a [sitemap XML standard](http://www.sitemaps.org/protocol.php) that ikiwiki needs to generate for. + +# Google Webmaster tools and RSS + +On [Google Webmaster tools](https://www.google.com/webmasters/tools) you can substitute an RSS feed as a sitemap. Do not use Atom as if you have malformed XHTML it will fail to parse and you will get a ERROR message like so: + + We were unable to read your Sitemap. It may contain an entry we are unable to recognize. Please validate your Sitemap before resubmitting. + +[Google should grok feeds as sitemaps.](http://www.google.com/support/webmasters/bin/answer.py?answer=34654) Or rather [[plugins/inline]] should be improved to support the [sitemap protocol](http://sitemaps.org/protocol.php) natively. + +-- [[Hendry]]