diff --git a/resources/recipes/philly.recipe b/resources/recipes/philly.recipe index f8dc24d22f..80de2f3277 100644 --- a/resources/recipes/philly.recipe +++ b/resources/recipes/philly.recipe @@ -3,50 +3,55 @@ __license__ = 'GPL v3' ''' philly.com/inquirer/ ''' -import re from calibre.web.feeds.recipes import BasicNewsRecipe class Philly(BasicNewsRecipe): title = 'Philadelphia Inquirer' - __author__ = 'RadikalDissent' + __author__ = 'RadikalDissent and Sujata Raman' language = 'en' description = 'Daily news from the Philadelphia Inquirer' no_stylesheets = True use_embedded_content = False oldest_article = 1 max_articles_per_feed = 25 + extra_css = ''' - .byline {font-size: small; color: grey; font-style:italic; } - .lastline {font-size: small; color: grey; font-style:italic;} - .contact {font-size: small; color: grey;} - .contact p {font-size: small; color: grey;} + h1{font-family:verdana,arial,helvetica,sans-serif; font-size: large;} + h2{font-family:verdana,arial,helvetica,sans-serif; font-size: small;} + .body-content{font-family:verdana,arial,helvetica,sans-serif; font-size: small;} + .byline {font-size: small; color: #666666; font-style:italic; } + .lastline {font-size: small; color: #666666; font-style:italic;} + .contact {font-size: small; color: #666666;} + .contact p {font-size: small; color: #666666;} + #photoCaption { font-family:verdana,arial,helvetica,sans-serif; font-size:x-small;} + .photoCaption { font-family:verdana,arial,helvetica,sans-serif; font-size:x-small;} + #photoCredit{ font-family:verdana,arial,helvetica,sans-serif; font-size:x-small; color:#666666;} + .photoCredit{ font-family:verdana,arial,helvetica,sans-serif; font-size:x-small; color:#666666;} + .article_timestamp{font-size:x-small; color:#666666;} + a {font-family:verdana,arial,helvetica,sans-serif; font-size: x-small;} ''' - preprocess_regexps = [(re.compile(i[0], re.IGNORECASE | re.DOTALL), i[1]) for i in - [ - (r'