![]() |
#1411 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2009
Device: sony prs 505 & paperwhite
|
Request for recipes
Hi everyone,
Is there any chance for getting any of these ?? polityka.pl wyborcza.pl przekroj.pl dziennik.pl It looks like there's not much Polish content available in calibre right now, so I believe quite a few people would be very grateful for that- including me - ![]() thank you anyway Last edited by Magic; 02-09-2010 at 09:26 PM. |
![]() |
![]() |
#1412 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Dilbert - Larger images.
I read ebooks from a 10 foot interface. The Dilbert comic strip is a bit too small for me. Here's a modified version of the Dilbert recipe that grabs larger images.
Code:
__license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>' ''' http://www.dilbert.com ''' from calibre.web.feeds.recipes import BasicNewsRecipe import re class DilbertBig(BasicNewsRecipe): title = 'DilbertBig' __author__ = 'Darko Miletic - big images added by Starson17' description = 'DilbertBig' oldest_article = 5 max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = True encoding = 'utf-8' publisher = 'UNITED FEATURE SYNDICATE, INC.' category = 'comic' language = 'en' conversion_options = { 'comments' : description ,'tags' : category ,'language' : language ,'publisher' : publisher } feeds = [(u'Dilbert', u'http://feeds.dilbert.com/DilbertDailyStrip' )] def get_article_url(self, article): return article.get('feedburner_origlink', None) preprocess_regexps = [ (re.compile('strip\..*\.gif', re.DOTALL|re.IGNORECASE), lambda match: 'strip.zoom.gif') ] def preprocess_html(self, soup): for tag in soup.findAll(name='a'): if tag['href'].find('http://feedads') >= 0: tag.extract() return soup |
![]() |
Advert | |
|
![]() |
#1413 | |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Feb 2010
Device: Android/ G1
|
Quote:
kiklop74: your recipe works, thanks! Was one of the HTML elements in the page causing the error? I see that you removed some tags. Last edited by jackietreehorn; 02-10-2010 at 12:43 PM. |
|
![]() |
![]() |
#1414 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2010
Device: none
|
![]()
I tried to create RSS feed for one blog, but it does not work properly. Unfortunately, I do not know programming, so I do not know how to use the advanced feature and change the code.
Can anyone help me? URL: http://feeds.feedburner.com/theelearningcoach |
![]() |
![]() |
#1415 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2010
Device: none
|
My bad - I wrote a wrong URL, with this one, it works fine. Thanks.
|
![]() |
Advert | |
|
![]() |
#1416 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 12392
Join Date: Nov 2009
Location: Canada
Device: Kobo Vox
|
ars technica
It looks like Ars has changed their feed address, could someone update it by chance? the new address is http://arstechnica.com/index.rssx
thanks |
![]() |
![]() |
#1417 |
Member
![]() Posts: 11
Karma: 10
Join Date: Feb 2010
Device: Kindle
|
Instapaper question
Hi,
Really enjoy the software. Quick question...does the instapaper recipe use HTTPS to send my password? Is the code available to view? I searched around about a bit, maybe I missed it, but couldn't find the source code for the recipe. Thx... |
![]() |
![]() |
#1418 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
|
![]() |
![]() |
#1419 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Quote:
|
|
![]() |
![]() |
#1420 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
|
![]() |
![]() |
#1421 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Feb 2010
Device: kindle 2
|
|
![]() |
![]() |
#1422 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
New recipe for Sueddeutche Zeitung:
|
![]() |
![]() |
#1423 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,417
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@Darko: Is this a replacement for the existing Sueddeutsche recipe in calibre?
|
![]() |
![]() |
#1424 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
No, this recipe is for payed access content on that website.
|
![]() |
![]() |
#1425 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Feb 2010
Device: Sony Prs-600
|
Could some one help me create a custom recipe for Knowledge@Whatron? I used their RSS feeds (http://knowledge.wharton.upenn.edu/rss/) with Calibre, but I only got the summaries. Thanks!
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 02:52 AM |
Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 12:33 PM |
How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 05:08 AM |
Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 04:54 PM |
Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 02:37 PM |