From d2d07d603ca6fd96d6359bf48ff40a72e6cb58b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Tue, 17 Oct 2017 21:57:49 +0200 Subject: [PATCH 1/3] fix First Things' icon --- recipes/{ => icons}/first_things.png | Bin 1 file changed, 0 insertions(+), 0 deletions(-) rename recipes/{ => icons}/first_things.png (100%) diff --git a/recipes/first_things.png b/recipes/icons/first_things.png similarity index 100% rename from recipes/first_things.png rename to recipes/icons/first_things.png From a5648b20d1ed808547c52ef3d9c9eaed7d7c9822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Tue, 17 Oct 2017 22:41:24 +0200 Subject: [PATCH 2/3] fix android.com.pl recipe --- recipes/android_com_pl.recipe | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/android_com_pl.recipe b/recipes/android_com_pl.recipe index b7ad096f79..beefd9f28d 100644 --- a/recipes/android_com_pl.recipe +++ b/recipes/android_com_pl.recipe @@ -8,10 +8,12 @@ class Android_com_pl(BasicNewsRecipe): description = u'Android.com.pl - to największe w Polsce centrum Android OS. Znajdziesz tu: nowości, forum, pomoc, recenzje, gry, aplikacje.' category = 'Android, mobile' language = 'pl' - use_embedded_content = True cover_url = 'http://android.com.pl/wp-content/themes/android/images/logo.png' oldest_article = 8 max_articles_per_feed = 100 + keep_only_tags = [dict(name='div', attrs={'class': ['title', 'post-content']})] + remove_tags_after = [{'class': 'post-content'}] + remove_tags = [dict(name='ul', attrs={'class': 'tags small-tags'}), dict(name='a', attrs={'onclick': 'return ss_plugin_loadpopup_js(this);'})] preprocess_regexps = [ (re.compile(ur'

.{,1}

', re.DOTALL), lambda match: '')] feeds = [(u'Android', u'http://android.com.pl/feed/')] From 3fca5f83faf72fdbb224463e073fd3495bfb148f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20D=C5=82ugosz?= Date: Mon, 16 Oct 2017 23:44:09 +0200 Subject: [PATCH 3/3] update drytooling recipe --- recipes/drytooling_pl.recipe | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/recipes/drytooling_pl.recipe b/recipes/drytooling_pl.recipe index d8aa57963b..be1245cedc 100644 --- a/recipes/drytooling_pl.recipe +++ b/recipes/drytooling_pl.recipe @@ -15,13 +15,4 @@ class BasicUserRecipe1337668045(BasicNewsRecipe): auto_cleanup = True feeds = [ - (u'Newsy', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=4&format=raw'), - (u'Artyku\u0142y', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=3&format=raw'), - (u'Imprezy i zawody', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=5&format=raw'), - (u'Baza G\xf3rska', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=6&format=raw'), - (u'Wyprawy', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=7&format=raw'), - - (u'Newsy / alpinizm', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=12&format=raw'), - (u'Newsy / klasyka zimowa', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=11&format=raw'), - (u'Newsy / himalaizm', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=10&format=raw'), - (u'Outdoor', u'http://drytooling.com.pl/index.php?option=com_ninjarsssyndicator&feed_id=8&format=raw')] + (u'Newsy', u'http://drytooling.com.pl/rss?format=feed&type=rss')]