4
from __future__ import with_statement
6
__copyright__ = 'zotzo'
7
__docformat__ = 'restructuredtext en'
9
http://fifthdown.blogs.nytimes.com/
10
http://offthedribble.blogs.nytimes.com/
11
http://thequad.blogs.nytimes.com/
12
http://slapshot.blogs.nytimes.com/
13
http://goal.blogs.nytimes.com/
14
http://bats.blogs.nytimes.com/
15
http://straightsets.blogs.nytimes.com/
16
http://formulaone.blogs.nytimes.com/
17
http://onpar.blogs.nytimes.com/
20
from calibre.web.feeds.news import BasicNewsRecipe
23
class NYTimesSports(BasicNewsRecipe):
24
title = 'New York Times Sports Beat'
26
__author__ = 'rylsfan'
27
description = 'Indepth sports from the New York Times'
28
publisher = 'The New York Times'
31
max_articles_per_feed = 25
34
#cover_url ='http://bit.ly/h8F4DO'
36
(u'The Fifth Down', u'http://fifthdown.blogs.nytimes.com/feed/'),
37
(u'Off The Dribble', u'http://offthedribble.blogs.nytimes.com/feed/'),
38
(u'The Quad', u'http://thequad.blogs.nytimes.com/feed/'),
39
(u'Slap Shot', u'http://slapshot.blogs.nytimes.com/feed/'),
40
(u'Goal', u'http://goal.blogs.nytimes.com/feed/'),
41
(u'Bats', u'http://bats.blogs.nytimes.com/feed/'),
42
(u'Straight Sets', u'http://straightsets.blogs.nytimes.com/feed/'),
43
(u'Formula One', u'http://formulaone.blogs.nytimes.com/feed/'),
44
(u'On Par', u'http://onpar.blogs.nytimes.com/feed/'),
46
keep_only_tags = [dict(name='div', attrs={'id':'header'}),
49
dict(name='div', attrs={'class':'entry-content'})]
51
h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
52
h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}
53
p{font-family:Arial,Helvetica,sans-serif;font-size:small;}
54
body{font-family:Helvetica,Arial,sans-serif;font-size:small;}