Debian Codegraph @

recipes/michellemalkin.recipe

raw
1 __license__ = 'GPL v3'
2 __copyright__ = '2010, Walt Anthony <workshop.northpole at gmail.com>'
3 '''
4 www.michellemalkin.com
5 '''
6 from calibre.web.feeds.news import BasicNewsRecipe
7
8
9 class MichelleMalkin(BasicNewsRecipe):
10 title = 'Michelle Malkin'
11 description = "Michelle Malkin's take on events, a mother, wife, blogger, conservative syndicated columnist, author, and Fox News Channel contributor."
12 __author__ = 'Walt Anthony'
13 publisher = 'Michelle Malkin LLC'
14 category = 'news, politics, USA'
15 oldest_article = 7 # days
16 max_articles_per_feed = 50
17 summary_length = 150
18 language = 'en'
19
20 remove_javascript = True
21 no_stylesheets = True
22 auto_cleanup = True
23 use_embedded_content = False
24
25 conversion_options = {'comment': description, 'tags': category, 'publisher': publisher, 'language': language, 'linearize_tables': True}
26
27 feeds = [('http://feeds.feedburner.com/michellemalkin/posts')]
28
29 def print_version(self, url):
30 return url + '?print=1'