コード例 #1
0
ファイル: us.py プロジェクト: seanpandrew/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             'us/sport',
                             show_editors_picks=True)
     self.show_tags = ['keyword']
     self.show_elements = 'image'
コード例 #2
0
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             'technology',
                             show_editors_picks=True)
     self.name = 'technology' + client.edition
     self.show_tags = ['keyword']
     self.show_elements = 'image'
コード例 #3
0
 def __init__(self, client, edition_path):
     ItemDataSource.__init__(self,
                             client,
                             content_id=edition_path,
                             show_editors_picks=True)
コード例 #4
0
ファイル: au.py プロジェクト: guardian/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client, '/au/commentisfree', show_editors_picks=True, only_editors_picks=True)
コード例 #5
0
ファイル: au.py プロジェクト: guardian/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='australia-news/australian-politics')
     self.tags = ['type/video']
コード例 #6
0
	def __init__(self, client):
		ItemDataSource.__init__(self, client, content_id='news/series/the-audio-long-read')
コード例 #7
0
ファイル: us.py プロジェクト: guardian/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client, "us/sport", show_editors_picks=True)
     self.show_tags = ["keyword"]
     self.show_elements = "image"
コード例 #8
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='fashion', show_editors_picks=True)
     self.page_size = 20
コード例 #9
0
ファイル: au.py プロジェクト: seanpandrew/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='australia-news')
     self.show_elements = 'image'
コード例 #10
0
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             content_id='fashion/fashion-blog')
コード例 #11
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, show_editors_picks=True)
コード例 #12
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='fashion')
     self.tags = ['fashion/series/sali-hughes-beauty']
コード例 #13
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='fashion')
     self.tags = ['fashion/series/jess-cartner-morley-on-fashion']
コード例 #14
0
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             content_id='fashion',
                             show_most_viewed=True)
コード例 #15
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='fashion', show_most_viewed=True)
コード例 #16
0
 def __init__(self, client ):
     ItemDataSource.__init__(self, client, content_id='fashion/series/guardian-fashion-blogs-network')
コード例 #17
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='games')
     self.tags = ['-technology/series/chatterbox,-type/video']
コード例 #18
0
	def __init__(self, client):
		ItemDataSource.__init__(self, client, content_id='fashion')
		self.tags = ['fashion/series/jess-cartner-morley-on-fashion']
コード例 #19
0
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             content_id='fashion',
                             show_editors_picks=True)
     self.page_size = 20
コード例 #20
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='fashion/fashion-blog')
コード例 #21
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, show_editors_picks=True)
コード例 #22
0
 def __init__(self, client):
     ItemDataSource.__init__(
         self,
         client,
         content_id='fashion/series/guardian-fashion-blogs-network')
コード例 #23
0
ファイル: au.py プロジェクト: seanpandrew/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(
         self, client, content_id='australia-news/australian-politics')
     self.tags = ['type/video']
コード例 #24
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='technology', show_most_viewed=True)
コード例 #25
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='technology/games')
     self.tags = ['-technology/series/chatterbox,-type/video']
コード例 #26
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='technology')
     self.tags = ['type/podcast']
コード例 #27
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='world', show_editors_picks=True)
     self.show_elements = 'image'
コード例 #28
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, 'technology', show_editors_picks=True)
     self.name = 'technology' + client.edition
     self.show_tags = ['keyword']
     self.show_elements = 'image'
コード例 #29
0
ファイル: au.py プロジェクト: guardian/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client, "lifeandstyle/australia-food-blog")
コード例 #30
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='books')
     self.tags = ['tone/reviews']
コード例 #31
0
ファイル: au.py プロジェクト: guardian/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='australia-news/australian-politics')
コード例 #32
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='books/booksblog')
コード例 #33
0
ファイル: au.py プロジェクト: guardian/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='australia-news')
     self.show_elements = 'image'
コード例 #34
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='books')
     self.tags = ['type/audio']
コード例 #35
0
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             content_id='technology',
                             show_most_viewed=True)
コード例 #36
0
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             content_id='books',
                             show_editors_picks=True)
コード例 #37
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='technology')
     self.tags = ['type/podcast']
コード例 #38
0
ファイル: au.py プロジェクト: seanpandrew/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self, client,
                             "lifeandstyle/australia-food-blog")
コード例 #39
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, show_most_viewed=True)
コード例 #40
0
ファイル: au.py プロジェクト: seanpandrew/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(self,
                             client,
                             '/au/commentisfree',
                             show_editors_picks=True,
                             only_editors_picks=True)
コード例 #41
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, show_most_viewed=True)
コード例 #42
0
ファイル: au.py プロジェクト: seanpandrew/gu-email-renderer
 def __init__(self, client):
     ItemDataSource.__init__(
         self, client, content_id='australia-news/australian-politics')
コード例 #43
0
 def __init__(self, client, edition_path):
     ItemDataSource.__init__(self, client, content_id=edition_path, show_editors_picks=True)
コード例 #44
0
 def __init__(self, client):
     ItemDataSource.__init__(self, client, content_id='fashion')
     self.tags = ['fashion/series/sali-hughes-beauty']