mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	Ads of the World, Heavy Meta (Italian) and Juve La Stampa by faber1971
This commit is contained in:
		
							parent
							
								
									d38b4d1cc5
								
							
						
					
					
						commit
						d9b93800a5
					
				
							
								
								
									
										26
									
								
								recipes/ads_of_the_world.recipe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								recipes/ads_of_the_world.recipe
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,26 @@
 | 
				
			|||||||
 | 
					from calibre.web.feeds.news import BasicNewsRecipe
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class AdvancedUserRecipe1336986047(BasicNewsRecipe):
 | 
				
			||||||
 | 
					    title          = u'Ads of the World'
 | 
				
			||||||
 | 
					    oldest_article = 7
 | 
				
			||||||
 | 
					    max_articles_per_feed = 100
 | 
				
			||||||
 | 
					    auto_cleanup = False
 | 
				
			||||||
 | 
					    description   = 'The best international advertising campaigns'
 | 
				
			||||||
 | 
					    language = 'en'
 | 
				
			||||||
 | 
					    __author__ = 'faber1971'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    no_stylesheets = True
 | 
				
			||||||
 | 
					    keep_only_tags = [
 | 
				
			||||||
 | 
					                       dict(name='div', attrs={'id':'primary'})
 | 
				
			||||||
 | 
					                     ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    remove_tags = [
 | 
				
			||||||
 | 
					                       dict(name='ul', attrs={'class':'links inline'})
 | 
				
			||||||
 | 
					                      ,dict(name='div', attrs={'class':'form-item'})
 | 
				
			||||||
 | 
					                      ,dict(name='div', attrs={'id':['options', 'comments']})
 | 
				
			||||||
 | 
					                      ,dict(name='ul', attrs={'id':'nodePager'})
 | 
				
			||||||
 | 
					                     ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    reverse_article_order = True
 | 
				
			||||||
 | 
					    masthead_url            = 'http://bigcatgroup.co.uk/files/2011/01/05-ads-of-the-world.png'
 | 
				
			||||||
 | 
					    feeds          = [(u'Ads of the world', u'http://feeds.feedburner.com/adsoftheworld-latest')]
 | 
				
			||||||
							
								
								
									
										22
									
								
								recipes/heavy_metal_it.recipe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								recipes/heavy_metal_it.recipe
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,22 @@
 | 
				
			|||||||
 | 
					from calibre.web.feeds.news import BasicNewsRecipe
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class AdvancedUserRecipe1336289226(BasicNewsRecipe):
 | 
				
			||||||
 | 
					    title          = u'Heavy Metal'
 | 
				
			||||||
 | 
					    oldest_article = 15
 | 
				
			||||||
 | 
					    max_articles_per_feed = 100
 | 
				
			||||||
 | 
					    auto_cleanup = False
 | 
				
			||||||
 | 
					    masthead_url            = 'http://net-static2.tccstatic.com/template/tmw/img/tj.gif'
 | 
				
			||||||
 | 
					    feeds          = [(u'Heavy Metal', u'http://www.heavy-metal.it/feed/')]
 | 
				
			||||||
 | 
					    keep_only_tags = [
 | 
				
			||||||
 | 
					                       dict(name='div', attrs={'class':'entry'})
 | 
				
			||||||
 | 
					                     ]
 | 
				
			||||||
 | 
					    remove_tags_after = [
 | 
				
			||||||
 | 
					                            dict(name='div', attrs={'class':'sociable'})
 | 
				
			||||||
 | 
					                            ]
 | 
				
			||||||
 | 
					    description = 'An Heavy metal Italian magazine'
 | 
				
			||||||
 | 
					    __author__      = 'faber1971'
 | 
				
			||||||
 | 
					    language = 'it'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					__version__     = 'v1.0'
 | 
				
			||||||
 | 
					__date__        = '6, May 2012'
 | 
				
			||||||
							
								
								
									
										24
									
								
								recipes/juve_la_stampa.recipe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								recipes/juve_la_stampa.recipe
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,24 @@
 | 
				
			|||||||
 | 
					from calibre.web.feeds.news import BasicNewsRecipe
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class AdvancedUserRecipe1336504510(BasicNewsRecipe):
 | 
				
			||||||
 | 
					    title          = u'Juve - La Stampa'
 | 
				
			||||||
 | 
					    oldest_article = 1
 | 
				
			||||||
 | 
					    language = 'it'
 | 
				
			||||||
 | 
					    max_articles_per_feed = 100
 | 
				
			||||||
 | 
					    auto_cleanup = True
 | 
				
			||||||
 | 
					    masthead_url            = 'http://www3.lastampa.it/fileadmin/media/sport/quijuve/top_quijuve.jpg'
 | 
				
			||||||
 | 
					    feeds          = [(u'Qui Juve - La Stampa', u'http://feed43.com/2352784107537677.xml')]
 | 
				
			||||||
 | 
					    remove_tags        = [dict(name='div',attrs={'class':['article-toolbar', 'sezione sezione-news', 'intestazione']})]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    extra_css = '''
 | 
				
			||||||
 | 
					                div.dettaglio div.immagine_girata p.news-single-imgcaption {color: #000000; font-family: "Georgia", "Times", serif; font-size: 7px; font-weight: 400;line-height: 1.2; padding-bottom: 12px; text-transform: none; }
 | 
				
			||||||
 | 
					                .sezione {color: #000000; font-family: "Georgia", "Times", serif; font-size: 7px; font-weight: 400;line-height: 1.2; padding-bottom: 12px; text-transform: none; }
 | 
				
			||||||
 | 
					                body {color: #000000; font-family: "Georgia", "Times", serif; font-size: 7px; font-weight: 400;line-height: 1.2; padding-bottom: 12px; text-transform: none; }
 | 
				
			||||||
 | 
					                h3 {color: #000000; font-family: "Georgia", "Times", serif; font-size: 22px; font-weight: 400;line-height: 1.2; padding-bottom: 12px; text-transform: none; }
 | 
				
			||||||
 | 
					                div.dettaglio h2.catenaccio {color: #000000; font-family: "Georgia", "Times", serif; font-size: 18px; font-weight: 400;line-height: 1.2; padding-bottom: 12px; text-transform: none; }
 | 
				
			||||||
 | 
					                '''
 | 
				
			||||||
 | 
					    description = 'News about Juventus from La Stampa'
 | 
				
			||||||
 | 
					    __author__      = 'faber1971'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					__version__     = 'v1.0'
 | 
				
			||||||
 | 
					__date__        = '8, May 2012'
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user