diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2008-09-07 22:56:03 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2008-09-07 22:56:03 +0000 |
| commit | 908f0a66e362c84355328efa302e70a2fc8c7e7f (patch) | |
| tree | a8bd1d83f419efd7f078c06f9cacd9f7fd9698d9 /docs | |
| parent | 571f4639a9a1476782c8c9725da3041a848c764c (diff) | |
Small wording improvements to sitemaps.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/sitemaps.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/contrib/sitemaps.txt b/docs/ref/contrib/sitemaps.txt index a6ed4f8a25..bdfb77c32f 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<section>.+)\.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 ============== |
