Hi,
I'm making my own recipes but the font size seems to me too large. Is there any way how to make it smaller?
I tried adding following html2lrf_options but it doesnt seem to have any effect.
Code:
html2lrf_options = ['--base-font-size=6']
Code:
import re
class AdvancedUserRecipe1212265657(BasicNewsRecipe):
title = u'MobilMania.cz'
oldest_article = 7
max_articles_per_feed = 5
no_stylesheets = True
feeds = [(u'MobilMania.cz', u'http://www.mobilmania.cz/textrss')]
filter_regexps = [r'default.aspx?textlist=1']
preprocess_regexps = [
(re.compile(r'<div id="ctl01_mnmosttop">.*<div id="ctl01_maindata">', re.DOTALL|re.IGNORECASE),
lambda match: '</div>')]
def print_version(self, url):
return url.replace('http://www.mobilmania.cz/TextArtSelect.aspx?article=', 'http://www.mobilmania.cz/TextArtSelect.aspx?img=1&article=')
Edit: Submited as ticket (#740)
Edit2: ['--base-font-size', '6'] fixed this. Thank you, kovidgoyal.