Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-01-2012, 03:38 PM   #1
dbip
Junior Member
dbip began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2012
Device: Kindle Touch
Calibre fetching the web page

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/')
]
dbip is offline   Reply With Quote
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: 29,936
Karma: 55705602
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 online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre to Web Page christinerutter Related Tools 3 10-19-2011 07:31 AM
Fetching newspapers with Calibre Cervine Introduce Yourself 6 04-25-2011 09:01 AM
Calibre trying to fetching news when I'm not online PaulSmi Calibre 20 04-07-2010 07:54 AM
Fetching News In Calibre Rootman Calibre 2 11-11-2009 07:06 PM
Fetching BBC with calibre too long??? lev Calibre 3 10-17-2009 12:29 PM


All times are GMT -4. The time now is 10:48 AM.


MobileRead.com is a privately owned, operated and funded community.