From 908f0a66e362c84355328efa302e70a2fc8c7e7f Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sun, 7 Sep 2008 22:56:03 +0000 Subject: [PATCH] Small wording improvements to sitemaps.txt git-svn-id: http://code.djangoproject.com/svn/django/trunk@8981 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/sitemaps.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index a6ed4f8a255..bdfb77c32fa 100644 --- a/docs/ref/contrib/sitemaps.txt +++ b/docs/ref/contrib/sitemaps.txt @@ -278,7 +278,7 @@ references individual sitemap files, one per each section defined in your * The :func:`django.contrib.sitemaps.views.sitemap` view should take a :data:`section` keyword argument. -Here is what the relevant URLconf lines would look like for the example above:: +Here's what the relevant URLconf lines would look like for the example above:: (r'^sitemap.xml$', 'django.contrib.sitemaps.views.index', {'sitemaps': sitemaps}) (r'^sitemap-(?P
.+)\.xml$', 'django.contrib.sitemaps.views.sitemap', {'sitemaps': sitemaps}) @@ -288,9 +288,9 @@ This will automatically generate a :file:`sitemap.xml` file that references both :class:`~django.contrib.sitemaps.Sitemap` classes and the :data:`sitemaps` dict don't change at all. -If one of your sitemaps is going to have more than 50,000 URLs you should -create an index file. Your sitemap will be paginated and the index will -reflect that. +You should create an index file if one of your sitemaps has more than 50,000 +URLs. In this case, Django will automatically paginate the sitemap, and the +index will reflect that. Pinging Google ==============