From 9cd8f008e24f089e06d7254dfbb25a7b1c172904 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 13 Aug 2011 10:43:29 -0600 Subject: [PATCH] ... --- recipes/juventudrebelde.recipe | 2 +- resources/default_tweaks.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/recipes/juventudrebelde.recipe b/recipes/juventudrebelde.recipe index 71e50d9a24..d2b6f3a4bd 100644 --- a/recipes/juventudrebelde.recipe +++ b/recipes/juventudrebelde.recipe @@ -18,7 +18,7 @@ class JuventudRebelde(BasicNewsRecipe): encoding = 'utf8' publisher = 'Juventud Rebelde' category = 'Noticias' - language = 'es_ES' + language = 'es' publication_type = 'Periodico' extra_css = ' body{ font-family: Verdana,Helvetica,Arial,sans-serif } .title{font-weight: bold} .read{display: block; padding: 0; border: 1px solid; width: 40%; font-size: small} .story-feature h2{text-align: center; text-transform: uppercase} ' preprocess_regexps = [(re.compile(r'', re.DOTALL), lambda m: '')] diff --git a/resources/default_tweaks.py b/resources/default_tweaks.py index ad56dbcb75..2c9b032fc5 100644 --- a/resources/default_tweaks.py +++ b/resources/default_tweaks.py @@ -179,6 +179,9 @@ save_template_title_series_sorting = 'library_order' # changed. Changes to this tweak won't have an effect until the book is modified # in some way. If you enter an invalid pattern, it is silently ignored. # To disable use the expression: '^$' +# This expression is designed for articles that are followed by spaces. If you +# also need to match articles that are followed by other characters, for example L' +# in French, use: r"^(A\s+|The\s+|An\s+|L')" instead. # Default: '^(A|The|An)\s+' title_sort_articles=r'^(A|The|An)\s+'