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

« back to all changes in this revision

Viewing changes to recipes/kdefamily_pl.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:
1
 
import re
2
 
from calibre.web.feeds.news import BasicNewsRecipe
3
 
 
4
 
class KDEFamilyPl(BasicNewsRecipe):
5
 
    title = u'KDEFamily.pl'
6
 
    __author__ = 'fenuks'
7
 
    description = u'KDE w Polsce'
8
 
    category = 'open source, KDE'
9
 
    language = 'pl'
10
 
    cover_url = 'http://www.mykde.home.pl/kdefamily/wp-content/uploads/2012/07/logotype-e1341585198616.jpg'
11
 
    oldest_article = 7
12
 
    max_articles_per_feed = 100
13
 
    preprocess_regexps = [(re.compile(r"Podobne wpisy.*", re.IGNORECASE|re.DOTALL), lambda m: '')]
14
 
    no_stylesheets = True
15
 
    remove_empty_feeds = True
16
 
    use_embedded_content = False
17
 
    keep_only_tags = [dict(attrs={'class':'blog-post'})]
18
 
    remove_tags = [dict(attrs={'class':['blog-bottom', 'ratings hreview-aggregate']})]
19
 
 
20
 
    feeds = [(u'Wszystko', u'http://kdefamily.pl/feed/')]
 
 
b'\\ No newline at end of file'