| 1 |
# created by sexymax15 [email protected] |
| 2 |
# christian post recipe |
| 3 |
from calibre.web.feeds.news import BasicNewsRecipe |
| 4 |
|
| 5 |
|
| 6 |
class ChristianPost(BasicNewsRecipe): |
| 7 |
title = 'The Christian Post' |
| 8 |
__author__ = 'sexymax15' |
| 9 |
description = 'Homepage' |
| 10 |
language = 'en' |
| 11 |
use_embedded_content = False |
| 12 |
oldest_article = 30 |
| 13 |
max_articles_per_feed = 15 |
| 14 |
|
| 15 |
remove_empty_feeds = True |
| 16 |
no_stylesheets = True |
| 17 |
remove_javascript = True |
| 18 |
|
| 19 |
feeds = [ |
| 20 |
('Homepage', 'http://www.christianpost.com/services/rss/feed/'), |
| 21 |
('Most Popular', 'http://www.christianpost.com/services/rss/feed/most-popular'), |
| 22 |
('Entertainment', 'http://www.christianpost.com/services/rss/feed/entertainment/'), |
| 23 |
('Politics', 'http://www.christianpost.com/services/rss/feed/politics/'), |
| 24 |
('Living', 'http://www.christianpost.com/services/rss/feed/living/'), |
| 25 |
('Business', 'http://www.christianpost.com/services/rss/feed/business/'), |
| 26 |
('Opinion', 'http://www.christianpost.com/services/rss/feed/opinion/'), |
| 27 |
] |
| 28 |
|
| 29 |
def print_version(self, url): |
| 30 |
return url + 'print.html' |