calibre/recipes/joelonsoftware.recipe
Kovid Goyal 29cd8d64ea
Change shebangs to python from python2
Also remove a few other miscellaneous references to python2
2020-08-22 18:47:51 +05:30

36 lines
1.0 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')]