Exemple #1
0
def store_sitemap_index(bucket, count):
    key = Key(bucket)
    key.key = g.sitemap_subreddit_keyname
    g.log.debug("Uploading %r", key)

    upload_sitemap(key, sitemap_index(count))
Exemple #2
0
def store_sitemap_index(bucket, count):
    key = Key(bucket)
    key.key = g.sitemap_subreddit_keyname
    g.log.debug("Uploading %r", key)

    upload_sitemap(key, sitemap_index(count))
Exemple #3
0
def store_sitemaps():
    sitemap_updater = SitemapUpdater()
    for subreddit_sitemap in subreddit_sitemaps(find_all_subreddits()):
        sitemap_updater.add_subreddit_sitemap(subreddit_sitemap)
    sitemap_updater.add_sitemap_index(sitemap_index(sitemap_updater.count))
Exemple #4
0
def store_sitemaps():
    sitemap_updater = SitemapUpdater()
    for subreddit_sitemap in subreddit_sitemaps(find_all_subreddits()):
        sitemap_updater.add_subreddit_sitemap(subreddit_sitemap)
    sitemap_updater.add_sitemap_index(sitemap_index(sitemap_updater.count))