mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
New recipe for The Indianapolis Star by Owen Kelly
This commit is contained in:
parent
9220c79d73
commit
167fb7a7bc
@ -27,7 +27,7 @@ recipe_modules = ['recipe_' + r for r in (
|
|||||||
'shacknews', 'teleread', 'granma', 'juventudrebelde', 'juventudrebelde_english',
|
'shacknews', 'teleread', 'granma', 'juventudrebelde', 'juventudrebelde_english',
|
||||||
'la_tercera', 'el_mercurio_chile', 'la_cuarta', 'lanacion_chile', 'la_segunda',
|
'la_tercera', 'el_mercurio_chile', 'la_cuarta', 'lanacion_chile', 'la_segunda',
|
||||||
'jb_online', 'estadao', 'o_globo', 'vijesti', 'elmundo', 'the_oz',
|
'jb_online', 'estadao', 'o_globo', 'vijesti', 'elmundo', 'the_oz',
|
||||||
'honoluluadvertiser', 'starbulletin', 'exiled',
|
'honoluluadvertiser', 'starbulletin', 'exiled', 'indy_star',
|
||||||
)]
|
)]
|
||||||
|
|
||||||
import re, imp, inspect, time, os
|
import re, imp, inspect, time, os
|
||||||
|
15
src/calibre/web/feeds/recipes/recipe_indy_star.py
Normal file
15
src/calibre/web/feeds/recipes/recipe_indy_star.py
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class AdvancedUserRecipe1234144423(BasicNewsRecipe):
|
||||||
|
title = u'Indianapolis Star'
|
||||||
|
oldest_article = 5
|
||||||
|
language = _('English')
|
||||||
|
__author__ = 'Owen Kelly'
|
||||||
|
max_articles_per_feed = 100
|
||||||
|
|
||||||
|
cover_url = u'http://www2.indystar.com/frontpage/images/today.jpg'
|
||||||
|
|
||||||
|
feeds = [(u'Community Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=LOCAL&template=rss&mime=XML'), (u'News Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=NEWS&template=rss&mime=XML'), (u'Business Headlines', u'http://www..indystar.com/apps/pbcs.dll/section?Category=BUSINESS&template=rss&mime=XML'), (u'Sports Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=SPORTS&template=rss&mime=XML'), (u'Lifestyle Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=LIVING&template=rss&mime=XML'), (u'Opinion Headlines', u'http://www.indystar.com/apps/pbcs.dll/section?Category=OPINION&template=rss&mime=XML')]
|
||||||
|
|
||||||
|
def print_version(self, url):
|
||||||
|
return url + '&template=printart'
|
Loading…
x
Reference in New Issue
Block a user