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

« back to all changes in this revision

Viewing changes to recipes/attac_es.recipe

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2014-05-14 18:17:50 UTC
  • mfrom: (1.5.10)
  • Revision ID: package-import@ubuntu.com-20140514181750-xyrxqa47dbw0qfhu
Tags: 1.36.0+dfsg-1
* New upstream release:
  - Fixes editing of metadata (Closes: #741638)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# vim:fileencoding=utf-8
 
2
from __future__ import unicode_literals
1
3
from calibre.web.feeds.news import BasicNewsRecipe
 
4
import urllib
2
5
 
3
6
class AttacEspanaRecipe (BasicNewsRecipe):
4
 
   __author__ = u'Marc Busqué'
5
 
   __url__ = 'http://www.lamarciana.com'
6
 
   __version__ = '1.0'
7
 
   __license__   = 'GPL v3'
8
 
   __copyright__ = u'2012, Marc Busqué <marc@lamarciana.com>'
9
 
   title = u'attac.es'
10
 
   description = u'La Asociación por la Tasación de las Transacciones Financieras y por la Ayuda a los Ciudadanos (ATTAC) es un movimiento internacional altermundialista que promueve el control democrático de los mercados financieros y las instituciones encargadas de su control mediante la reflexión política y la movilización social.'
11
 
   url = 'http://www.attac.es'
12
 
   language = 'es'
13
 
   tags = 'contrainformación, información alternativa'
14
 
   oldest_article = 7
15
 
   remove_empty_feeds = True
16
 
   no_stylesheets = True
17
 
   cover_url = u'http://www.attac.es/wp-content/themes/attacweb/images/attaces.jpg'
 
7
    __author__ = 'Marc Busqué <marc@lamarciana.com>'
 
8
    __url__ = 'http://www.lamarciana.com'
 
9
    __version__ = '1.0.2'
 
10
    __license__   = 'GPL v3'
 
11
    __copyright__ = '2012, Marc Busqué <marc@lamarciana.com>'
 
12
    title = u'attac.es'
 
13
    description = u'La Asociación por la Tasación de las Transacciones Financieras y por la Ayuda a los Ciudadanos (ATTAC) es un movimiento internacional altermundialista que promueve el control democrático de los mercados financieros y las instituciones encargadas de su control mediante la reflexión política y la movilización social.'
 
14
    url = 'http://www.attac.es'
 
15
    language = 'es'
 
16
    tags = 'contrainformación, información alternativa'
 
17
    oldest_article = 7
 
18
    remove_empty_feeds = True
 
19
    no_stylesheets = True
 
20
    extra_css = urllib.urlopen('https://raw.githubusercontent.com/laMarciana/gutenweb/master/dist/gutenweb.css').read().replace('@charset "UTF-8";', '')
 
21
    cover_url = u'http://www.attac.es/wp-content/themes/attacweb/images/attaces.jpg'
18
22
 
19
 
   feeds = [
20
 
         (u'Attac', u'http://www.attac.es/feed'),
21
 
         ]
 
23
    feeds = [
 
24
          (u'Attac', u'http://www.attac.es/feed'),
 
25
          ]