mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
New recipe for Hungarian TechNet by Devilinside
This commit is contained in:
parent
22003b492c
commit
966b915787
@ -48,7 +48,7 @@ recipe_modules = ['recipe_' + r for r in (
|
|||||||
'the_budget_fashionista', 'elperiodico_catalan',
|
'the_budget_fashionista', 'elperiodico_catalan',
|
||||||
'elperiodico_spanish', 'expansion_spanish', 'lavanguardia',
|
'elperiodico_spanish', 'expansion_spanish', 'lavanguardia',
|
||||||
'marca', 'kellog_faculty', 'kellog_insight', 'noaa',
|
'marca', 'kellog_faculty', 'kellog_insight', 'noaa',
|
||||||
'7dias', 'buenosaireseconomico',
|
'7dias', 'buenosaireseconomico', 'huntechnet',
|
||||||
'diagonales', 'miradasalsur', 'newsweek_argentina', 'veintitres',
|
'diagonales', 'miradasalsur', 'newsweek_argentina', 'veintitres',
|
||||||
'gva_be', 'hln', 'tijd', 'degentenaar', 'inquirer_net', 'uncrate',
|
'gva_be', 'hln', 'tijd', 'degentenaar', 'inquirer_net', 'uncrate',
|
||||||
'fastcompany', 'accountancyage', 'laprensa_hn', 'latribuna',
|
'fastcompany', 'accountancyage', 'laprensa_hn', 'latribuna',
|
||||||
|
37
src/calibre/web/feeds/recipes/recipe_huntechnet.py
Normal file
37
src/calibre/web/feeds/recipes/recipe_huntechnet.py
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
# vim:fileencoding=UTF-8:ts=4:sw=4:sta:et:sts=4:ai
|
||||||
|
from __future__ import with_statement
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__copyright__ = '2009, Kovid Goyal <kovid@kovidgoyal.net>'
|
||||||
|
__docformat__ = 'restructuredtext en'
|
||||||
|
|
||||||
|
from calibre.web.feeds.news import BasicNewsRecipe
|
||||||
|
|
||||||
|
class HunTechNet(BasicNewsRecipe):
|
||||||
|
title = u'TechNet'
|
||||||
|
oldest_article = 3
|
||||||
|
description = u'Az ut\xf3bbi 3 nap TechNet h\xedrei'
|
||||||
|
language = _('Hungarian')
|
||||||
|
lang = 'hu'
|
||||||
|
encoding = 'utf-8'
|
||||||
|
__author__ = 'Devilinside'
|
||||||
|
max_articles_per_feed = 30
|
||||||
|
timefmt = ' [%Y, %b %d, %a]'
|
||||||
|
extra_css = '''
|
||||||
|
body{font-family:Arial,Helvetica,sans-serif; font-size:small;}
|
||||||
|
h1{font-size:large;}
|
||||||
|
'''
|
||||||
|
remove_tags_after = dict(name='ul', attrs={'class':'cikk_bottom box'})
|
||||||
|
remove_tags_before = dict(name='div', attrs={'id':'c-main'})
|
||||||
|
remove_tags = [dict(name='div', attrs={'class':'wrp clr'})]
|
||||||
|
|
||||||
|
|
||||||
|
feeds = [(u'C\xedmlap',
|
||||||
|
u'http://www.technet.hu/rss/cimoldal/'), (u'TechTud',
|
||||||
|
u'http://www.technet.hu/rss/techtud/'), (u'PDA M\xe1nia',
|
||||||
|
u'http://www.technet.hu/rss/pdamania/'), (u'Telefon',
|
||||||
|
u'http://www.technet.hu/rss/telefon/'), (u'Sz\xe1m\xedt\xf3g\xe9p',
|
||||||
|
u'http://www.technet.hu/rss/notebook/'), (u'GPS',
|
||||||
|
u'http://www.technet.hu/rss/gps/')]
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user