~ubuntu-branches/debian/sid/calibre/sid

« back to all changes in this revision

Viewing changes to recipes/nytimes_sports.recipe

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-08-01 18:17:22 UTC
  • mfrom: (1.5.2)
  • Revision ID: package-import@ubuntu.com-20130801181722-rzupi33y7ut6qzat
Tags: 0.9.41+dfsg-1
* New upstream release.
* debian/local/calibre.desktop: Rename to calibre-gui.desktop to match its
  window class. (LP: #1206687)
* Add debian/local/ebook-viewer.desktop, so that one can directly open
  *.epub or *.mobi files in file browsers. Thanks Korey Lu!
  (Closes: #664182)
* Make it possible to auto-start calibre when connecting an e-book reader
  device:
  - Add debian/local/mime/calibre.xml MIME association, install in
    debian/calibre.install.
  - debian/local/calibre-gui.desktop: Add MIME type and file argument.
  - Thanks to Thanks Korey Lu! (Closes: #715246)

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    category = 'Sports'
30
30
    oldest_article = 3
31
31
    max_articles_per_feed = 25
 
32
    use_embedded_content = False
32
33
    no_stylesheets = True
33
34
    language = 'en'
34
 
    #cover_url ='http://bit.ly/h8F4DO'
 
35
    auto_cleanup = True
 
36
    auto_cleanup_keep = '//div[@class="articleSpanImage"]'
35
37
    feeds = [
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/'),
45
 
           ]
46
 
    keep_only_tags = [dict(name='div', attrs={'id':'header'}),
47
 
            dict(name='h1'),
48
 
            dict(name='h2'),
49
 
            dict(name='div', attrs={'class':'entry-content'})]
 
38
        (u'The Fifth Down', u'http://fifthdown.blogs.nytimes.com/feed/'),
 
39
        (u'Off The Dribble', u'http://offthedribble.blogs.nytimes.com/feed/'),
 
40
        (u'The Quad', u'http://thequad.blogs.nytimes.com/feed/'),
 
41
        (u'Slap Shot', u'http://slapshot.blogs.nytimes.com/feed/'),
 
42
        (u'Goal', u'http://goal.blogs.nytimes.com/feed/'),
 
43
        (u'Bats', u'http://bats.blogs.nytimes.com/feed/'),
 
44
        (u'Straight Sets', u'http://straightsets.blogs.nytimes.com/feed/'),
 
45
        (u'Formula One', u'http://formulaone.blogs.nytimes.com/feed/'),
 
46
        (u'On Par', u'http://onpar.blogs.nytimes.com/feed/'),
 
47
    ]
50
48
    extra_css =    '''
51
49
           h1{font-family:Arial,Helvetica,sans-serif; font-weight:bold;font-size:large;}
52
50
           h2{font-family:Arial,Helvetica,sans-serif; font-weight:normal;font-size:small;}