View Single Post
Old 02-01-2012, 04:13 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,083
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by dbip View Post
Hi there,

I'm running Calibre in Debian (the one in the current stable release, 0.7.7 if i checked well)

There I've got some custom recipes.

The problem I face is that Calibre, instead of getting the RSS file and converting it to MOBI, downloads the whole page (the original one, not the RSS file, the one appearing at the RSS as <link>). This happens for several and different sources.

Since most of the sources are hosted by feedburner and i didn't get what was going on I downloaded one of the RSS files to my web server and set Calibre to download the information from there.

And it keeps on retrieving the web page of each article in the RSS.

Also, as I'm launching the converter from the command line I set the recipes not to download the stylesheets, but the problem is still there.

Did anyone suffer the same problem with Calibre?

Thanks a lot for your help.

Code of the recipe (the ones located at the localhost are either tests of home-generated RSS feeds) :

class AdvancedUserRecipe1327531831(BasicNewsRecipe):
title = u'Titulars6'
oldest_article = 1
max_articles_per_feed = 100
no_stylesheets = True

feeds = [
(u'Quim Monzo', u'http://192.168.0.3/~daniel/quimmonzo.html'),
(u'Error500', u'http://feeds.feedburner.com/error500?q=node/feed'),
(u'Martin Varsavsky', u'http://feeds.feedburner.com/martinvarsavsky/spanish'),
(u'El mundo today', u'http://feeds.feedburner.com/ElMundoToday'),
(u'Enrique Dans', u'http://feeds.feedburner.com/ElBlogDeEnriqueDans'),
(u'Fraude fiscal', u'http://192.168.0.3/~daniel/fraudefiscal.html'),
(u'Microsiervos', u'http://www.microsiervos.com/index.rdf'),
(u'Microsiervos', u'http://192.168.0.3/~daniel/microsiervos.html'),
(u'Arsenio Escolar', u'http://blogs.20minutos.es/arsenioescolar/feeds/rss2'),
(u'El Pais - Tecnologia', u'http://www.elpais.com/rss/feed.html?feedId=1005'),
(u'Red ferroviaria de Barcelona', u'http://redferroviariabcn.blogspot.com/feeds/posts/default?alt=rss'),
(u'Malaprensa', u'http://feeds.feedburner.com/Malaprensa'),
(u'La Contra', u'http://192.168.0.3/~daniel/lacontra.html'),
(u'Manel Fontdevila', u'http://blogs.publico.es/manel/feed/')
]
That is really old (and not any less stable than the current at the calibre download page)
I suggest reinstalling that version (your Library remains)
and using the commandline install on the Calibre Linux download page Rel. 8.37
theducks is offline   Reply With Quote