mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-04 03:27:00 -05:00 
			
		
		
		
	Cachys Blog by Volker Heggemann
This commit is contained in:
		
							parent
							
								
									2a90da87ec
								
							
						
					
					
						commit
						0686f41dd7
					
				
							
								
								
									
										32
									
								
								recipes/cachys_blog.recipe
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										32
									
								
								recipes/cachys_blog.recipe
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,32 @@
 | 
				
			|||||||
 | 
					#!/usr/bin/env python
 | 
				
			||||||
 | 
					# vim:fileencoding=utf-8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					from calibre.web.feeds.news import BasicNewsRecipe
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class cachys_blog(BasicNewsRecipe):
 | 
				
			||||||
 | 
					    # with the knowledge and consent of the owner
 | 
				
			||||||
 | 
					    title = 'Cachys Blog'
 | 
				
			||||||
 | 
					    cover_url = 'https://upload.wikimedia.org/wikipedia/commons/f/f1/Caschys_Blog_Logo.png'
 | 
				
			||||||
 | 
					    # Author of the recipe
 | 
				
			||||||
 | 
					    __author__ = 'Volker Heggemann, VoHe'
 | 
				
			||||||
 | 
					    # description, some Reader show this in titlepage
 | 
				
			||||||
 | 
					    description = u'Smart Home, Software, Hardware, Mobile Computing & Co.'
 | 
				
			||||||
 | 
					    # Who published the content?
 | 
				
			||||||
 | 
					    publisher = u'https://stadt-bremerhaven.de/'
 | 
				
			||||||
 | 
					    # What is the content of?
 | 
				
			||||||
 | 
					    category = u'Technik - News'
 | 
				
			||||||
 | 
					    use_embedded_content = False
 | 
				
			||||||
 | 
					    language = 'de'
 | 
				
			||||||
 | 
					    # Removes empty feeds - why keep them!?
 | 
				
			||||||
 | 
					    remove_empty_feeds = True
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    # remove the rubbish (in ebook)
 | 
				
			||||||
 | 
					    auto_cleanup = True
 | 
				
			||||||
 | 
					    # now the content description and URL follows
 | 
				
			||||||
 | 
					    oldest_article = 2
 | 
				
			||||||
 | 
					    max_articles_per_feed = 100
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    feeds = [
 | 
				
			||||||
 | 
					        ('Cachys', 'https://stadt-bremerhaven.de/feed/'),
 | 
				
			||||||
 | 
					    ]
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user