Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 02-09-2010, 09:18 PM   #1411
Magic
Junior Member
Magic began at the beginning.
 
Magic's Avatar
 
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.
Magic is offline  
Old 02-10-2010, 12:27 PM   #1412
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
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
Starson17 is offline  
Advert
Old 02-10-2010, 12:35 PM   #1413
jackietreehorn
Junior Member
jackietreehorn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Feb 2010
Device: Android/ G1
Quote:
Originally Posted by dwanthny View Post
I can't help with 1 or 3 and I am not versed in all of the ways of getting the print page but I am relatively sure the below code will work.
dwanthny: Unfortunately, this does not work. Some URL Strings are still not replaced

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.
jackietreehorn is offline  
Old 02-11-2010, 12:00 AM   #1414
mishicka
Junior Member
mishicka began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2010
Device: none
Red face How to create RSS feed for a blog?

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
mishicka is offline  
Old 02-11-2010, 12:10 AM   #1415
mishicka
Junior Member
mishicka began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2010
Device: none
My bad - I wrote a wrong URL, with this one, it works fine. Thanks.
mishicka is offline  
Advert
Old 02-11-2010, 08:43 AM   #1416
cypherslock
Groupie
cypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of lightcypherslock is a glorious beacon of light
 
cypherslock's Avatar
 
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
cypherslock is offline  
Old 02-11-2010, 08:46 AM   #1417
cscannella
Member
cscannella began at the beginning.
 
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...
cscannella is offline  
Old 02-11-2010, 09:43 AM   #1418
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by cscannella View Post
couldn't find the source code for the recipe.
Recipe code is in the \resources\recipes directory of wherever calibre is installed.
Starson17 is offline  
Old 02-11-2010, 10:09 AM   #1419
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by cypherslock View Post
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
All the feeds in the recipe are still working. What is the problem that you experience?
kiklop74 is offline  
Old 02-11-2010, 10:12 AM   #1420
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
Quote:
Originally Posted by cscannella View Post
does the instapaper recipe use HTTPS to send my password?
No.

Quote:
Originally Posted by cscannella View Post
Is the code available to view?
Yes of course. Look at {Calibre install folder}\resources\recipes
kiklop74 is offline  
Old 02-11-2010, 02:46 PM   #1421
gwolosh
Junior Member
gwolosh began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2010
Device: kindle 2
Quote:
Originally Posted by kiklop74 View Post
I'll take a look this weekend but have in mind that right-to-left language support is not quite so good on most of the available devices.
Thanks for taking the time. I have Hebrew fonts working on the Kindle. Justification is off sometimes but it is usable.
gwolosh is offline  
Old 02-11-2010, 02:52 PM   #1422
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
New recipe for Sueddeutche Zeitung:
Attached Files
File Type: zip sued.zip (2.2 KB, 162 views)
kiklop74 is offline  
Old 02-11-2010, 03:04 PM   #1423
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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?
kovidgoyal is offline  
Old 02-11-2010, 03:12 PM   #1424
kiklop74
Guru
kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.kiklop74 can program the VCR without an owner's manual.
 
kiklop74's Avatar
 
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
No, this recipe is for payed access content on that website.
kiklop74 is offline  
Old 02-11-2010, 04:24 PM   #1425
shawn18
Junior Member
shawn18 began at the beginning.
 
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!
shawn18 is offline  
Closed Thread


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 05:34 PM.


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