mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Deccan Herald by Muruli Shamanna
This commit is contained in:
parent
b4d616da24
commit
8da936e470
35
recipes/deccan_herald.recipe
Normal file
35
recipes/deccan_herald.recipe
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1362501327(BasicNewsRecipe):
|
||||||
|
title = u'Deccan Herald'
|
||||||
|
__author__ = 'Muruli Shamanna'
|
||||||
|
description = 'Daily news from the Deccan Herald'
|
||||||
|
|
||||||
|
oldest_article = 1
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
auto_cleanup = True
|
||||||
|
category = 'News'
|
||||||
|
language = 'en_IN'
|
||||||
|
encoding = 'utf-8'
|
||||||
|
publisher = 'The Printers (Mysore) Private Ltd'
|
||||||
|
##use_embedded_content = True
|
||||||
|
|
||||||
|
cover_url = 'http://www.quizzing.in/wp-content/uploads/2010/07/DH.gif'
|
||||||
|
|
||||||
|
conversion_options = {
|
||||||
|
'comments' : description
|
||||||
|
,'tags' : category
|
||||||
|
,'language' : language
|
||||||
|
,'publisher' : publisher
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
feeds = [(u'News', u'http://www.deccanherald.com/rss/news.rss'), (u'Business', u'http://www.deccanherald.com/rss/business.rss'), (u'Entertainment', u'http://www.deccanherald.com/rss/entertainment.rss'), (u'Sports', u'http://www.deccanherald.com/rss/sports.rss'), (u'Environment', u'http://www.deccanherald.com/rss/environment.rss')]
|
||||||
|
|
||||||
|
extra_css = '''
|
||||||
|
h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:150%;}
|
||||||
|
h2{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:155%;}
|
||||||
|
img {max-width:100%; min-width:100%;}
|
||||||
|
p{font-family:Arial,Helvetica,sans-serif;font-size:large;}
|
||||||
|
body{font-family:Helvetica,Arial,sans-serif;font-size:medium;}
|
||||||
|
'''
|
Loading…
x
Reference in New Issue
Block a user