OK, now it's generally working,
Code:
from calibre.web.feeds.news import BasicNewsRecipe
class KommersantRecipe(BasicNewsRecipe):
title = u'Kommersant'
oldest_article = 7
max_articles_per_feed = 100
feeds = [(u'Kommersant', u'http://feeds.kommersant.ru/RSS_Export/RU/daily.xml')]
def print_version(self,url):
segments = url.split('=')
article_id = segments[1]
newurl = 'http://www.kommersant.ru/doc.aspx?DocsID=' + article_id + '&print=true'
return newurl
but when I read it on Kindle, pagination does not work. When I am on the first page and press "Next pages" the aricle is skipped to the last page. What can be the problem?
Thanks all!