mirror of
				https://github.com/kovidgoyal/calibre.git
				synced 2025-11-03 19:17:02 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Python
		
	
	
	
	
	
#!/usr/bin/env  python
 | 
						|
 | 
						|
__license__   = 'GPL v3'
 | 
						|
__copyright__ = '2008, Darko Miletic <darko.miletic at gmail.com>'
 | 
						|
'''
 | 
						|
joelonsoftware.com
 | 
						|
'''
 | 
						|
from calibre.web.feeds.news import BasicNewsRecipe
 | 
						|
 | 
						|
class Joelonsoftware(BasicNewsRecipe):
 | 
						|
 | 
						|
    title       = 'Joel on Software'
 | 
						|
    __author__  = 'Darko Miletic'
 | 
						|
    description = 'Painless Software Management'
 | 
						|
    language = 'en'
 | 
						|
 | 
						|
    no_stylesheets = True
 | 
						|
    use_embedded_content  = True   
 | 
						|
    oldest_article = 60
 | 
						|
    
 | 
						|
    
 | 
						|
    cover_url = 'http://www.joelonsoftware.com/RssJoelOnSoftware.jpg'
 | 
						|
       
 | 
						|
    extra_css = '''
 | 
						|
                h1{font-size: x-small; color:#BF3306;}
 | 
						|
                h2{ color:#046380; font-size: large;}
 | 
						|
                .date{ color:#046380; font-size: x-small;}
 | 
						|
                .author{ color:#046380; font-size: small;}
 | 
						|
                body{font-family:Georgia,serif;font-size: small;}
 | 
						|
                '''
 | 
						|
 | 
						|
    html2lrf_options = [  '--comment'       , description
 | 
						|
                        , '--category'      , 'blog,software,news'
 | 
						|
                        , '--author'        , 'Joel Spolsky'
 | 
						|
                       ]
 | 
						|
 | 
						|
    feeds = [(u'Articles', u'http://www.joelonsoftware.com/rss.xml')]
 | 
						|
 | 
						|
    
 |