Ticket #7996: sitemaps.diff

File sitemaps.diff, 870 bytes (added by issya, 16 years ago)
  • docs/sitemaps.txt

     
    289289Pinging Google
    290290==============
    291291
    292 You may want to "ping" Google when your sitemap changes, to let it know to
    293 reindex your site. The framework provides a function to do just that:
    294 ``django.contrib.sitemaps.ping_google()``.
     292First, you must submit your sitemap to Google via their Webmaster Tools.
     293After that, you may want to "ping" Google when your sitemap changes, to
     294let them know to reindex your site. The framework provides a function to
     295do just that: ``django.contrib.sitemaps.ping_google()``.
    295296
    296297``ping_google()`` takes an optional argument, ``sitemap_url``, which should be
    297298the absolute URL of your site's sitemap (e.g., ``'/sitemap.xml'``). If this
Back to Top