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

« back to all changes in this revision

Viewing changes to recipes/abc_es.recipe

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-02-27 07:48:06 UTC
  • mto: This revision was merged to the branch mainline in revision 74.
  • Revision ID: package-import@ubuntu.com-20140227074806-64wdebb3ptosxhhx
Tags: upstream-1.25.0+dfsg
ImportĀ upstreamĀ versionĀ 1.25.0+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    no_stylesheets = True
27
27
    use_embedded_content = False
28
28
    encoding = 'ISO-8859-1'
 
29
    auto_cleanup = True
29
30
    remove_javascript = True
30
31
    language = 'es'
31
32
 
37
38
                               h1{font-family: sans-serif; font-size:150%; font-weight:bold; text-align: justify; }
38
39
                                 """
39
40
 
40
 
    keep_only_tags = [
41
 
#                 dict(name='h2', attrs={'class':['logos']}),
42
 
                 dict(name='h3', attrs={'class':['overhead']}),
43
 
                 dict(name='h1', attrs={'class':'headline'}),
44
 
                 dict(name='h3', attrs={'class':['subhead']}),
45
 
                 dict(name='div', attrs={'class':'datosi'}),
46
 
                 dict(name='div', attrs={'class':'photo-alt1'}),
47
 
                 dict(name='div', attrs={'class':'text'})
48
 
                 ]
49
 
 
50
 
#    remove_tags_before = dict(name='div' , attrs={'id':['cabecera2']})
51
 
 
52
41
    feeds          = [
53
42
                     (u'PORTADA', u'http://www.abc.es/rss/feeds/abcPortada.xml')
54
43
                    ,(u'ULTIMAS', u'http://www.abc.es/rss/feeds/abc_ultima.xml')