~ubuntu-branches/ubuntu/oneiric/calibre/oneiric

« back to all changes in this revision

Viewing changes to resources/recipes/gizmodo.recipe

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2010-06-21 10:18:08 UTC
  • mfrom: (1.3.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100621101808-aue828f532tmo4zt
Tags: 0.7.2+dfsg-1
* New major upstream version. See http://calibre-ebook.com/new-in/seven for
  details.
* Refresh patches to apply cleanly.
* debian/control: Bump python-cssutils to >= 0.9.7~ to ensure the existence
  of the CSSRuleList.rulesOfType attribute. This makes epub conversion work
  again. (Closes: #584756)
* Add debian/local/calibre-mount-helper: Simple and safe replacement for
  upstream's calibre-mount-helper, using udisks --mount and eject.
  (Closes: #584915, LP: #561958)

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
    max_articles_per_feed = 100
18
18
    no_stylesheets        = True
19
19
    encoding              = 'utf-8'
20
 
    use_embedded_content  = True
 
20
    use_embedded_content  = False
21
21
    language              = 'en'
22
22
    masthead_url          = 'http://cache.gawkerassets.com/assets/gizmodo.com/img/logo.png'
23
23
    extra_css             = ' body{font-family: "Lucida Grande",Helvetica,Arial,sans-serif} img{margin-bottom: 1em} '
29
29
                        , 'language'  : language
30
30
                        }
31
31
 
32
 
    remove_attributes = ['width','height']
33
 
    remove_tags       = [dict(name='div',attrs={'class':'feedflare'})]
34
 
    remove_tags_after = dict(name='div',attrs={'class':'feedflare'})
 
32
    remove_attributes  = ['width','height']
 
33
    keep_only_tags     = [dict(attrs={'class':'content permalink'})]
 
34
    remove_tags_before = dict(name='h1')
 
35
    remove_tags        = [dict(attrs={'class':'contactinfo'})]
 
36
    remove_tags_after  = dict(attrs={'class':'contactinfo'})
35
37
 
36
38
    feeds = [(u'Articles', u'http://feeds.gawker.com/gizmodo/full')]
37
39