mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
# created by sexymax15 ....sexymax15@gmail.com
|
|
# christian post recipe
|
|
from calibre.web.feeds.news import BasicNewsRecipe
|
|
|
|
|
|
class ChristianPost(BasicNewsRecipe):
|
|
|
|
title = 'The Christian Post'
|
|
__author__ = 'sexymax15'
|
|
description = 'Homepage'
|
|
language = 'en'
|
|
no_stylesheets = True
|
|
use_embedded_content = False
|
|
oldest_article = 30
|
|
max_articles_per_feed = 15
|
|
|
|
remove_empty_feeds = True
|
|
no_stylesheets = True
|
|
remove_javascript = True
|
|
|
|
feeds = [
|
|
('Homepage', 'http://www.christianpost.com/services/rss/feed/'),
|
|
('Most Popular', 'http://www.christianpost.com/services/rss/feed/most-popular'),
|
|
('Entertainment', 'http://www.christianpost.com/services/rss/feed/entertainment/'),
|
|
('Politics', 'http://www.christianpost.com/services/rss/feed/politics/'),
|
|
('Living', 'http://www.christianpost.com/services/rss/feed/living/'),
|
|
('Business', 'http://www.christianpost.com/services/rss/feed/business/'),
|
|
('Opinion', 'http://www.christianpost.com/services/rss/feed/opinion/')
|
|
]
|
|
|
|
def print_version(self, url):
|
|
return url + 'print.html'
|