calibre/recipes/joelonsoftware.recipe
Kovid Goyal 567040ee1e Perform PEP8 compliance checks on the entire codebase
Some bits of PEP 8 are turned off via setup.cfg
2016-07-29 21:25:17 +05:30

36 lines
1.0 KiB
Python

#!/usr/bin/env python2
__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')]