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 09-27-2009, 11:55 AM   #781
olaf
Enthusiast
olaf is on a distinguished road
 
Posts: 43
Karma: 50
Join Date: May 2009
Device: Kindle3
Kiplop74 - Thank you for all your work with this. Any yes, that does get rid of the annoying ads at the top. Your solution works to cut out the ads, but also all the news pictures that go at the top of the article.

This feed does have a picture with the story - http://www.telegram.com/article/2009...S04&source=rss - and I still haven't been able to get this or other pictures in, without having the other ads show up as well.

Last edited by olaf; 09-27-2009 at 12:40 PM.
olaf is offline  
Old 09-27-2009, 04:42 PM   #782
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 olaf View Post
Your solution works to cut out the ads, but also all the news pictures that go at the top of the article.
kiklop74 is offline  
Advert
Old 09-27-2009, 05:46 PM   #783
Andreiko
Junior Member
Andreiko began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2009
Device: Kindle DX, Sony-505
Quote:
Originally Posted by kiklop74 View Post
Here you go but this assumes you already patched your reader to use russian fonts:
thx a lot works like a dream. Yeah i have pathced my Kindle for russian fonts before. Thank you again
Andreiko is offline  
Old 09-28-2009, 01:39 PM   #784
rainbowworrier
Frazzled
rainbowworrier began at the beginning.
 
rainbowworrier's Avatar
 
Posts: 32
Karma: 10
Join Date: Apr 2009
Location: UK
Device: PocketBook Pro 603
Quote:
Originally Posted by kiklop74 View Post
Here you go but this assumes you already patched your reader to use russian fonts:
Thank you for the recipe kiklop74! Nice to have some Russian news to read! I'm still a newbie and am struggling to understand news recipes.

Fortunately my Hanlin V3 displays Russian fonts without me having to do any patches!
rainbowworrier is offline  
Old 09-29-2009, 03:03 AM   #785
rutherdbrown
Junior Member
rutherdbrown began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2009
Device: none
Thanks kiklop74 for your recipes. Some of them are really what i wanted. Thanks again. I dont have any specific request but ur custom recipes are really helpful.
rutherdbrown is offline  
Advert
Old 09-29-2009, 10:21 AM   #786
rogue_ronin
Banned
rogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-booksrogue_ronin has learned how to read e-books
 
Posts: 475
Karma: 796
Join Date: Sep 2008
Location: Honolulu
Device: Nokia 770 (fbreader)
Calibre 6.13

Recipe for Honolulu Advertiser seems to have broken. Getting the summaries, but the articles are missing. The Honolulu Star-Bulletin seems to work fine, so it isn't Calibre (or me!) I guess.

I've just started with Calibre, so not yet in a position to consider trying to fix the recipe.

Thanks,

m a r
rogue_ronin is offline  
Old 09-29-2009, 03:52 PM   #787
cix3
Member
cix3 began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Aug 2009
Device: Kindle 2
Minor updates to the Salon.com recipe

Minor updates to the Salon.com recipe:

Code:
class Salon_com(BasicNewsRecipe):
    title = 'Salon.com'
    __author__ = 'cix3'
    description = 'Salon.com - Breaking news, opinion, politics, entertainment, sports and culture.'
    timefmt = ' [%b %d, %Y]'

    oldest_article = 7
    max_articles_per_feed = 100

    remove_tags = [dict(name='div', attrs={'class':['ad_content', 'clearfix']}), dict(name='hr'), dict(name='img')]

    remove_tags_before = dict(name='h2')

    feeds = [
        ('News & Politics', 'http://feeds.salon.com/salon/news'),
        ('War Room', 'http://feeds.salon.com/salon/war_room'),
        ('Arts & Entertainment', 'http://feeds.salon.com/salon/ent'),
        ('I Like to Watch', 'http://feeds.salon.com/salon/iltw'),
        ('Beyond Multiplex', 'http://feeds.salon.com/salon/btm'),
        ('Book Reviews', 'http://feeds.salon.com/salon/books'),
        ('All Life', 'http://feeds.salon.com/salon/mwt'),
        ('All Opinion', 'http://feeds.salon.com/salon/opinion'),
        ('Glenn Greenwald', 'http://feeds.salon.com/salon/greenwald'),
        ('Garrison Keillor', 'http://dir.salon.com/topics/garrison_keillor/index.rss'),
        ('Joan Walsh', 'http://www.salon.com/rss/walsh.rss'),
        ('All Sports', 'http://feeds.salon.com/salon/sports'),
        ('Tech & Business', 'http://feeds.salon.com/salon/tech'),
        ('How World Works', 'http://feeds.salon.com/salon/htww')
            ]

    def print_version(self, url):
        return url.replace('/index.html', '/print.html')
cix3 is offline  
Old 09-30-2009, 11:43 AM   #788
CABITSS
Member
CABITSS began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Sep 2009
Device: amazonkindle
Toronto Sun - Custom Recipe

Can someone help me to clean this up.... I tried.
.............
class AdvancedUserRecipe1253191332(BasicNewsRecipe):
title = u'The Toronto Sun'
oldest_article = 2
max_articles_per_feed = 10
no_stylesheets = True
encoding = 'ISO-8859-1'
use_embedded_content = False
charset = 'utf-8'


feeds = [(u'News', u'http://www.torontosun.com/news/rss.xml'),
(u'Canada', u'http://www.torontosun.com/news/canada/rss.xml'),
(u'Columnists', u'http://www.torontosun.com/news/columnists/rss.xml'),
(u'World', u'http://www.torontosun.com/news/world/rss.xml'),
(u'Money',u'http://www.torontosun.com/money/rss.xml')
]

Last edited by CABITSS; 09-30-2009 at 12:13 PM.
CABITSS is offline  
Old 09-30-2009, 10:34 PM   #789
windylim
Member
windylim began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2009
Device: PRS-600 prospective
Hi, could someone help me in fixing "The Straits Times"? This is inside Calibre. When I click on the news header, it just goes to a blank page. Thanks!

http://www.straitstimes.com/Home.html
windylim is offline  
Old 10-01-2009, 12:56 PM   #790
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 rogue_ronin View Post
Calibre 6.13

Recipe for Honolulu Advertiser seems to have broken. Getting the summaries, but the articles are missing. The Honolulu Star-Bulletin seems to work fine, so it isn't Calibre (or me!) I guess.

I've just started with Calibre, so not yet in a position to consider trying to fix the recipe.
Will be fixed in the next release.
kiklop74 is offline  
Old 10-01-2009, 12:56 PM   #791
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 windylim View Post
Hi, could someone help me in fixing "The Straits Times"? This is inside Calibre. When I click on the news header, it just goes to a blank page. Thanks!

http://www.straitstimes.com/Home.html
When I have a bit more time I'll look at this.
kiklop74 is offline  
Old 10-05-2009, 11:28 AM   #792
CABITSS
Member
CABITSS began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Sep 2009
Device: amazonkindle
Toronto Sun - Custom Recipe - Thread 788

Toronto Sun - Custom Recipe
Can some one help me with this.
CABITSS is offline  
Old 10-05-2009, 07:54 PM   #793
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 Toronto Sun:
Attached Files
File Type: zip toronto_sun.zip (1.4 KB, 212 views)
kiklop74 is offline  
Old 10-06-2009, 07:40 AM   #794
windylim
Member
windylim began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2009
Device: PRS-600 prospective
Quote:
Originally Posted by kiklop74 View Post
When I have a bit more time I'll look at this.
Hi, any luck with The Straits Times pls? Thanks!
windylim is offline  
Old 10-06-2009, 05:02 PM   #795
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
Will be fixed in the new release. In the meantime see this issue in calibre trac:

http://calibre.kovidgoyal.net/ticket/3717
kiklop74 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 04:58 PM.


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