![]() |
#811 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
|
![]() |
![]() |
![]() |
#812 |
Member
![]() Posts: 23
Karma: 44
Join Date: Dec 2008
Device: Sony PRS - 700, Kindle 2
|
Thanks again for the SJ Mercury News, but the recipe doesn't have the Sports.
Is it hard to add that to the recipe? |
![]() |
Advert | |
|
![]() |
#813 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
|
![]() |
![]() |
#814 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
|
please can anyone make changes to the economist recipe so that subscribers can view the content
|
![]() |
![]() |
#815 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's already done, will be in next release.
|
![]() |
Advert | |
|
![]() |
#816 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2009
Device: Kindle 2
|
Can I put in a request for a recipe for ESPN - that doesn't require a login? I have made a custom one, but it seems to sit forever trying to download it, so something must be wrong.
class AdvancedUserRecipe1255551050(BasicNewsRecipe): title = u'ESPN' oldest_article = 7 max_articles_per_feed = 100 feeds = [(u'Top Stories', u'feed://sports.espn.go.com/espn/rss/news'), (u'NFL', u'feed://sports.espn.go.com/espn/rss/nfl/news'), (u'NBA', u'feed://sports.espn.go.com/espn/rss/nba/news'), (u'College Football', u'feed://sports.espn.go.com/espn/rss/ncf/news')] That is my recipe. I don't know why it tries for 10-15 minutes before it gets anything, but if there are errors or a whole new recipe would be better, that'd be great. Thanks. Last edited by wamblej; 10-14-2009 at 07:28 PM. |
![]() |
![]() |
#817 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
New recipe for ESPN in English:
|
![]() |
![]() |
#818 |
Member
![]() Posts: 10
Karma: 10
Join Date: Sep 2009
Device: Kindle 2
|
|
![]() |
![]() |
#819 |
Zealot
![]() ![]() Posts: 115
Karma: 150
Join Date: Jul 2008
Location: Netherlands Veenendaal
Device: Palm T5, Sony PRS-505, Nook Color
|
New recipe for Trouw.nl
Here is my contribution to Calibre and its news gathering system.
Its a recipe for the dutch newspaper Trouw. It contains ALL the RSS feeds so if you're not interested in certain topics just comment those feeds out. Further there is one problem with the coverpage. It gets the main picture but ebook-viewer makes it really wide and my PRS505 doesn't display it ![]() Regards, Joop |
![]() |
![]() |
#820 |
Member
![]() Posts: 13
Karma: 10
Join Date: Sep 2009
Device: amazonkindle
|
Thanks a ton for your helping me clean up my recipe.... this works well.... I have added a few more links to the recipe
How to I add a Gold Star to your ID.... Keep up the GOOD WORK.... we all do appreciate it. ....... #!/usr/bin/env python __license__ = 'GPL v3' __copyright__ = '2009, Darko Miletic <darko.miletic at gmail.com>' ''' www.torontosun.com ''' from calibre.web.feeds.news import BasicNewsRecipe class TorontoSun(BasicNewsRecipe): title = 'Toronto SUN' __author__ = 'Darko Miletic' description = 'News from Canada' publisher = 'Toronto Sun' category = 'news, politics, Canada' oldest_article = 2 max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = False encoding = 'cp1252' language = 'en_CA' conversion_options = { 'comment' : description , 'tags' : category , 'publisher' : publisher , 'language' : language } keep_only_tags =[ dict(name='div', attrs={'class':'articleHead'}) ,dict(name='div', attrs={'id':'channelContent'}) ] remove_tags = [ dict(name='div',attrs={'class':['leftBox','bottomBox clear','bottomBox','breadCrumb']}) ,dict(name=['link','iframe','object']) ,dict(name='a',attrs={'rel':'swap'}) ,dict(name='ul',attrs={'class':'tabs dl contentSwap'}) ] remove_tags_after = dict(name='div',attrs={'class':'bottomBox clear'}) feeds = [ (u'News' , u'http://www.torontosun.com/news/rss.xml' ) ,(u'Canada' , u'http://www.torontosun.com/news/canada/rss.xml' ) ,(u'Toronto & GTA' ,u'http://www.torontosun.com/news/torontoandgta/rss.xml') ,(u'Sports' ,u'http://www.torontosun.com/sports/rss.xml') ,(u'World' , u'http://www.torontosun.com/news/world/rss.xml' ) ,(u'Money' , u'http://www.torontosun.com/money/rss.xml' ) ,(u'Life' ,u'http://www.torontosun.com/life/rss.xml') ,(u'Columnists' , u'http://www.torontosun.com/news/columnists/rss.xml') ,(u'Travel' ,u'http://www.torontosun.com/travel/rss.xml' ) ] .............. |
![]() |
![]() |
#821 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
Two new recipes for two respected blogs about financial information and articles:
Naked Capitalism and The Daily Reckoning - US edition |
![]() |
![]() |
#822 |
Groupie
![]() ![]() ![]() ![]() Posts: 153
Karma: 364
Join Date: Oct 2009
Location: Sweden
Device: Amazon Kindle 2 Intl
|
Recipe for swedish newspaper Corren and plea for help with others
Hi,
I am new here and could not find any recipe for swedish newspapers. So I created a basic one for a local paper called Östgöta Correspondenten a.k.a. Corren, see attached file. It's my first try so I am sure it can be improved. I have also tried to do recipes for major swedish papers like dn.se and svd.se but have failed so far. dn.se uses some fancy scripting to protect the printed version (link to printing is called "Skriv ut"). svd.se uses the same html-source for both screen and printing but applies a different CSS for printing. If anyone would care to help, the rss-feeds are at bottom left at www.dn.se and at in left column a little down from the top at http://www.svd.se/special/svdseinfo/artikel_128220.svd for svd (top news is "SvD senaste nytt"). Anyway, Calibre is a very nice program so a big thank you to Kovid Goyal! |
![]() |
![]() |
#823 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,410
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
For svd.se you can just use the htmland provide your own CSS via extra_css
For the other I'd suggest looking at the javascript, the print link is probably in there. You can use a regualr expression to extract it. |
![]() |
![]() |
#824 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
|
please anyone can help me with the recipe for http://www.entrepreneur.com
|
![]() |
![]() |
#825 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
New recipes for svd.se and dn.se:
|
![]() |
![]() |
|
![]() |
||||
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 |