Author: russellm
Date: 2008-08-24 04:19:18 -0500 (Sun, 24 Aug 2008)
New Revision: 8519
Modified:
django/trunk/docs/ref/contrib/sitemaps.txt
Log:
Fixed #7996: Added a note that you need to register your site with Google in
order for the ping_google command to work. Thanks to Jason Broyles (issya) for
the suggestion.
Modified: django/trunk/docs/ref/contrib/sitemaps.txt
===================================================================
--- django/trunk/docs/ref/contrib/sitemaps.txt 2008-08-24 09:01:50 UTC (rev
8518)
+++ django/trunk/docs/ref/contrib/sitemaps.txt 2008-08-24 09:19:18 UTC (rev
8519)
@@ -296,8 +296,8 @@
==============
You may want to "ping" Google when your sitemap changes, to let it know to
-reindex your site. The framework provides a function to do just that:
-:func:`django.contrib.sitemaps.ping_google()`.
+reindex your site. The sitemaps framework provides a function to do just
+that: :func:`django.contrib.sitemaps.ping_google()`.
.. function:: ping_google
@@ -311,6 +311,13 @@
:exc:`django.contrib.sitemaps.SitemapNotFound` if it cannot determine your
sitemap URL.
+.. admonition:: Register with Google first!
+
+ The :func:`ping_google` command only works if you have registered your
+ site with `Google Webmaster Tools`_.
+
+.. _`Google Webmaster Tools`: http://www.google.com/webmasters/tools/
+
One useful way to call :func:`ping_google` is from a model's ``save()``
method::
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---