Exemple #1
0
 def GET_subreddits(self, index):
     response.content_type = 'application/xml'
     try:
         return Sitemap.subreddit_sitemap(index)
     except tdb_cassandra.NotFound:
         return self.abort404()
Exemple #2
0
 def GET_subreddits(self, index):
     response.content_type = 'application/xml'
     try:
         return Sitemap.subreddit_sitemap(index)
     except tdb_cassandra.NotFound:
         return self.abort404()
Exemple #3
0
 def GET_index(self):
     response.content_type = 'application/xml'
     return Sitemap.sitemap_index()
Exemple #4
0
 def GET_index(self):
     response.content_type = 'application/xml'
     return Sitemap.sitemap_index()