From 0dc16efa89841c89d5d40b0c7d60db1231764585 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 10 Mar 2014 16:48:19 +0530 Subject: [PATCH] Update Fleshbot --- recipes/fleshbot.recipe | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/recipes/fleshbot.recipe b/recipes/fleshbot.recipe index 0059d8855d..3754c80ceb 100644 --- a/recipes/fleshbot.recipe +++ b/recipes/fleshbot.recipe @@ -20,10 +20,10 @@ class Fleshbot(BasicNewsRecipe): language = 'en' masthead_url = 'http://fbassets.s3.amazonaws.com/images/uploads/2012/01/fleshbot-logo.png' extra_css = ''' - body{font-family: "Lucida Grande",Helvetica,Arial,sans-serif} - img{margin-bottom: 1em} - h1{font-family :Arial,Helvetica,sans-serif; font-size:large} - ''' + body{font-family: "Lucida Grande",Helvetica,Arial,sans-serif} + img{margin-bottom: 1em} + h1{font-family :Arial,Helvetica,sans-serif; font-size:large} + ''' conversion_options = { 'comment' : description , 'tags' : category @@ -31,13 +31,12 @@ class Fleshbot(BasicNewsRecipe): , 'language' : language } - feeds = [(u'Articles', u'http://www.fleshbot.com/feed')] + feeds = [(u'Articles', u'http://fleshbot.com/?feed=rss2')] remove_tags = [ {'class': 'feedflare'}, ] - def preprocess_html(self, soup): return self.adeify_images(soup)