calibre/recipes/sg_hu.recipe

17 lines
492 B
Plaintext

from calibre.web.feeds.news import BasicNewsRecipe
class SGhu(BasicNewsRecipe):
title = u'SG.hu'
__author__ = 'davotibarna'
description = u'Informatika \xe9s Tudom\xe1ny'
language = 'hu'
oldest_article = 5
max_articles_per_feed = 100
no_stylesheets = True
encoding = 'ISO-8859-2'
feeds = [(u'SG.hu', u'http://www.sg.hu/plain/rss.xml')]
def print_version(self, url):
return url.replace('cikkek/', 'printer.php?cid=')