| 1 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 2 |
|
| 3 |
|
| 4 |
class BigGovernmentRecipe(BasicNewsRecipe): |
| 5 |
__license__ = 'GPL v3' |
| 6 |
__author__ = 'kwetal' |
| 7 |
language = 'en' |
| 8 |
version = 1 |
| 9 |
|
| 10 |
title = 'Big Government' |
| 11 |
publisher = 'Andrew Breitbart' |
| 12 |
category = 'Political blog' |
| 13 |
description = 'Political news from the USA' |
| 14 |
|
| 15 |
oldest_article = 30 |
| 16 |
max_articles_per_feed = 100 |
| 17 |
use_embedded_content = True |
| 18 |
|
| 19 |
feeds = [('Big Government', 'http://feeds.feedburner.com/breitbart')] |
| 20 |
|
| 21 |
conversion_options = {'comments': description, 'tags': category, 'language': 'en', 'publisher': publisher} |
| 22 |
|
| 23 |
extra_css = ''' |
| 24 |
body{font-family:verdana,arial,helvetica,geneva,sans-serif;} |
| 25 |
img {float: left; margin-right: 0.5em;} |
| 26 |
''' |