~stub/ubuntu/precise/calibre/devel

« back to all changes in this revision

Viewing changes to resources/recipes/dotpod.recipe

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-04-12 11:29:25 UTC
  • mfrom: (42.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110412112925-c7171kt2bb5rmft4
Tags: 0.7.50+dfsg-2
* debian/control: Build with libpodofo-dev to enable PDF metadata.
  (Closes: #619632)
* debian/control: Add libboost1.42-dev build dependency. Apparently it is
  needed in some setups. (Closes: #619807)
* debian/rules: Call dh_sip to generate a proper sip API dependency, to
  prevent crashes like #616372 for partial upgrades.
* debian/control: Bump python-qt4 dependency to >= 4.8.3-2, which reportedly
  fixes crashes on startup. (Closes: #619701, #620125)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
__license__   = 'GPL v3'
 
2
__copyright__ = '2011-2011, Federico Escalada <fedeescalada at gmail.com>'
 
3
 
 
4
from calibre.web.feeds.news import BasicNewsRecipe
 
5
 
 
6
class Dotpod(BasicNewsRecipe):
 
7
    __author__ = 'Federico Escalada'
 
8
    description = 'Tecnologia y Comunicacion Audiovisual'
 
9
    encoding = 'utf-8'
 
10
    language = 'es'
 
11
    max_articles_per_feed = 100
 
12
    no_stylesheets = True
 
13
    oldest_article = 7
 
14
    publication_type = 'blog'
 
15
    title = 'Dotpod'
 
16
    authors = 'Federico Picone'
 
17
 
 
18
    conversion_options = {
 
19
                             'authors'         : authors
 
20
                            ,'comments'        : description
 
21
                            ,'language'        : language
 
22
                         }
 
23
 
 
24
    feeds = [('Dotpod', 'http://www.dotpod.com.ar/feed/')]
 
25
 
 
26
    remove_tags = [dict(name='div', attrs={'class':'feedflare'})]
 
27