| 1 |
# recipe created by [email protected] |
| 2 |
# Words without Borders recipe |
| 3 |
|
| 4 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 5 |
|
| 6 |
|
| 7 |
class AdvancedUserRecipe1308302002(BasicNewsRecipe): |
| 8 |
title = 'Words Without Borders' |
| 9 |
language = 'en' |
| 10 |
__author__ = 'sexymax15' |
| 11 |
oldest_article = 90 |
| 12 |
max_articles_per_feed = 30 |
| 13 |
use_embedded_content = False |
| 14 |
|
| 15 |
remove_empty_feeds = True |
| 16 |
no_stylesheets = True |
| 17 |
remove_javascript = True |
| 18 |
keep_only_tags = {'class': 'span-14 article'} |
| 19 |
remove_tags_after = [{'class': 'addthis_toolbox addthis_default_style no_print'}] |
| 20 |
remove_tags = [{'class': ['posterous_quote_citation', 'button']}] |
| 21 |
extra_css = ''' |
| 22 |
h1{font-family: Georgia,serif; font-size: large}h2{font-family: Georgia,serif; font-size: large} ''' |
| 23 |
|
| 24 |
feeds = [('wwb', 'http://feeds.feedburner.com/wwborders?format=xml')] |