Ticket #7996: sitemaps.diff
File sitemaps.diff, 870 bytes (added by , 16 years ago) |
---|
-
docs/sitemaps.txt
289 289 Pinging Google 290 290 ============== 291 291 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()``. 292 First, you must submit your sitemap to Google via their Webmaster Tools. 293 After that, you may want to "ping" Google when your sitemap changes, to 294 let them know to reindex your site. The framework provides a function to 295 do just that: ``django.contrib.sitemaps.ping_google()``. 295 296 296 297 ``ping_google()`` takes an optional argument, ``sitemap_url``, which should be 297 298 the absolute URL of your site's sitemap (e.g., ``'/sitemap.xml'``). If this