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 07-13-2010, 08:28 PM   #2311
pm1234
Junior Member
pm1234 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2010
Device: Kindle
Hello, I was wondering if someone could help me write a recipe for downloading from www.stratfor.com.

I appreciate any help. Thank you
pm1234 is offline  
Old 07-13-2010, 11:39 PM   #2312
tbrenske
Junior Member
tbrenske began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jul 2010
Device: nook
i was wondering if someone could help me with a custom recipe for relevant magazine. http://www.relevantmagazine.com/

help?!
tbrenske is offline  
Old 07-14-2010, 03:36 AM   #2313
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
Alternet.org

I was wondering if someone would kindly take the time and create a custom recipe for the content on alternet.org It has a lot of rss feeds that would be wonderful if it is collected into a nice recipe that can be downloaded as a book to say the kindle or whatever.
http://www.alternet.org/webfeeds/

TonytheBookworm is offline  
Old 07-14-2010, 08:43 AM   #2314
jasonfedelem
Zealot
jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.
 
jasonfedelem's Avatar
 
Posts: 118
Karma: 202232
Join Date: Jun 2010
Location: Texas
Device: Kindle Paperwhite Gen2
Quote:
Originally Posted by rty View Post
Nah, if you go to the website, you can tell that publisher doesn't seem to agree.

But here's another recipe you asked for: Waco Tribune.
I appreciate it. I don't know if I'm doing something wrong though, because when I try to load it, I get the following error message:
Quote:
ERROR: Invalid input: <p>Could not create recipe. Error:<br>'NoneType' object has no attribute 'title'
Am I doing something wrong? I'm loading it thru Fetch news/add a custom news source/load recipe from file.

Thanks for the help...
jasonfedelem is offline  
Old 07-14-2010, 10:57 AM   #2315
rty
Zealot
rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.
 
Posts: 108
Karma: 6066
Join Date: Apr 2010
Location: Singapore
Device: iPad Air, Kindle DXG, Kindle Paperwhite
Quote:
Originally Posted by jasonfedelem View Post
Am I doing something wrong? I'm loading it thru Fetch news/add a custom news source/load recipe from file.

Thanks for the help...
I think the zip file was corrupted. Sorry about that. I have uploaded it and you can try downloading it again.
rty is offline  
Old 07-14-2010, 01:14 PM   #2316
jasonfedelem
Zealot
jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.
 
jasonfedelem's Avatar
 
Posts: 118
Karma: 202232
Join Date: Jun 2010
Location: Texas
Device: Kindle Paperwhite Gen2
thanks rty. I'll try tomorrow morning...
jasonfedelem is offline  
Old 07-15-2010, 01:43 AM   #2317
enzoshadow
Junior Member
enzoshadow began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2010
Device: Amazon Kindle
Quote:
Originally Posted by einstuerzende View Post
Two more Taiwan papers, in case anyone's interested (drafts; questions, comments, corrections encouraged):

China Times:

Spoiler:
class AdvancedUserRecipe1277443634(BasicNewsRecipe):
title = u'中時電子報'
oldest_article = 7
max_articles_per_feed = 100

feeds = [
(u'焦點', u'http://rss.chinatimes.com/rss/focus-u.rss'),
(u'政治', u'http://rss.chinatimes.com/rss/Politic-u.rss'),
#(u'社會', u'http://rss.chinatimes.com/rss/social-u.rss'),
(u'國際', u'http://rss.chinatimes.com/rss/international-u.rss'),
(u'兩岸', u'http://rss.chinatimes.com/rss/mainland-u.rss'),
#(u'地方', u'http://rss.chinatimes.com/rss/local-u.rss'),
#(u'言論', u'http://rss.chinatimes.com/rss/comment-u.rss'),
#(u'科技', u'http://rss.chinatimes.com/rss/technology-u.rss'),
#(u'運動', u'http://rss.chinatimes.com/rss/sport-u.rss'),
(u'藝文', u'http://rss.chinatimes.com/rss/philology-u.rss'),
#(u'旺報', u'http://rss.chinatimes.com/rss/want-u.rss'),
(u'財經', u'http://rss.chinatimes.com/rss/finance-u.rss'),
(u'股市', u'http://rss.chinatimes.com/rss/stock-u.rss')

]
extra_css = '''
@font-face {font-family: "DroidFont", serif, sans-serif; src: url(res:///system/fonts/DroidSansFallback.ttf); }\n
body {margin-right: 8pt; font-family: 'DroidFont', serif;}\n
h1 {font-family: 'DroidFont', serif;}\n
.articledescription {font-family: 'DroidFont', serif;}
'''
__author__ = 'einstuerzende'
__version__ = '1.0'
language = 'zh-TW'
pubisher = 'China Times Group'
description = 'China Times (Taiwan)'
category = 'News, Chinese'
remove_javascript = True
use_embedded_content = False
no_stylesheets = True
encoding = 'big5'
conversion_options = {'linearize_tables':True}
masthead_url = 'http://www.fcuaa.org/gif/chinatimeslogo.gif'
keep_only_tags = [dict(name='div', attrs={'class':['articlebox','articlebox clearfix']})]
remove_tags = [dict(name='div', attrs={'class':['focus-news']})]


Liberty Times:

Spoiler:
class AdvancedUserRecipe1277443634(BasicNewsRecipe):
title = u'自由電子報'
oldest_article = 7
max_articles_per_feed = 100

feeds = [
(u'焦點新聞', u'http://www.libertytimes.com.tw/rss/fo.xml'),
(u'政治新聞', u'http://www.libertytimes.com.tw/rss/p.xml'),
(u'生活新聞', u'http://www.libertytimes.com.tw/rss/life.xml'),
(u'國際新聞', u'http://www.libertytimes.com.tw/rss/int.xml'),
(u'自由廣場', u'http://www.libertytimes.com.tw/rss/o.xml'),
#(u'社會新聞', u'http://www.libertytimes.com.tw/rss/so.xml'),
#(u'體育新聞', u'http://www.libertytimes.com.tw/rss/sp.xml'),
(u'財經焦點', u'http://www.libertytimes.com.tw/rss/e.xml'),
(u'證券理財', u'http://www.libertytimes.com.tw/rss/stock.xml'),
#(u'影視焦點', u'http://www.libertytimes.com.tw/rss/show.xml'),
#(u'北部新聞', u'http://www.libertytimes.com.tw/rss/north.xml'),
#(u'中部新聞', u'http://www.libertytimes.com.tw/rss/center.xml'),
#(u'南部新聞', u'http://www.libertytimes.com.tw/rss/south.xml'),
#(u'大台北新聞', u'http://www.libertytimes.com.tw/rss/taipei.xml'),
(u'藝術文化', u'http://www.libertytimes.com.tw/rss/art.xml'),
]
extra_css = '''
@font-face {font-family: "DroidFont", serif, sans-serif; src: url(res:///system/fonts/DroidSansFallback.ttf); }\n
body {margin-right: 8pt; font-family: 'DroidFont', serif;}\n
h1 {font-family: 'DroidFont', serif;}\n
.articledescription {font-family: 'DroidFont', serif;}
'''
__author__ = 'einstuerzende'
__version__ = '1.0'
language = 'zh-HANT'
pubisher = 'Liberty Times Group'
description = 'Liberty Times (Taiwan)'
category = 'News, Chinese'
remove_javascript = True
use_embedded_content = False
no_stylesheets = True
encoding = 'big5'
conversion_options = {'linearize_tables':True}
masthead_url = 'http://www.libertytimes.com.tw/2008/images/img_auto/005/logo_new.gif'
keep_only_tags = [dict(name='td', attrs={'id':['newsContent']})]


I'm commenting out feeds I think might be of less interest, but including all that seem reasonable. I'll see if I can't get a United Daily News recipe soon (about 8 hojillion RSS feeds on that site).
Thank you so much for your contribution.
I bought the Kindle just so I can provide my grandmom with Taiwanese news, but I am pretty bad at coding.
This really helps me a lot!
enzoshadow is offline  
Old 07-15-2010, 01:19 PM   #2318
jasonfedelem
Zealot
jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.jasonfedelem ought to be getting tired of karma fortunes by now.
 
jasonfedelem's Avatar
 
Posts: 118
Karma: 202232
Join Date: Jun 2010
Location: Texas
Device: Kindle Paperwhite Gen2
Quote:
Originally Posted by rty View Post
I think the zip file was corrupted. Sorry about that. I have uploaded it and you can try downloading it again.
Works perfect. Thanks so much!
jasonfedelem is offline  
Old 07-15-2010, 09:25 PM   #2319
fcoulter
Enthusiast
fcoulter began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Nov 2009
Device: Kindle
Has anyone created a recipe for the Orlando Sentinel? I suppose in the the best of all possible worlds, I'd love the front page (http://www.orlandosentinel.com/) as well as the Seminole County page (http://www.orlandosentinel.com/news/local/seminole/).

I suppose that, as important as the recipes could be, a step by step description of how you created the recipe would be great so that I could create additional recipes in the future.
fcoulter is offline  
Old 07-16-2010, 12:54 AM   #2320
einstuerzende
Junior Member
einstuerzende began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Jul 2010
Device: Kindle
Quote:
Originally Posted by enzoshadow View Post
Thank you so much for your contribution.
I bought the Kindle just so I can provide my grandmom with Taiwanese news, but I am pretty bad at coding.
This really helps me a lot!
Glad I could help! Let me know if you have any Taiwan news requests, I'll do what I can. 經濟日報 (I think that's right) is a real pain, but the others seem totally reasonable.
einstuerzende is offline  
Old 07-16-2010, 01:32 AM   #2321
Daanish87
Member
Daanish87 began at the beginning.
 
Posts: 18
Karma: 10
Join Date: Jun 2010
Device: none
Hi everyone,

Could someone possibly create a recipe for investment executive please? I tried the print version but it doesn't work because there is still alot of clutter and the full article doesn't come. I'm hopeless at coding as well.

Thanks in advance it is much appreciated:

http://www.investmentexecutive.com/c...en/accueil.asp

Daanish
Daanish87 is offline  
Old 07-16-2010, 02:52 AM   #2322
rty
Zealot
rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.
 
Posts: 108
Karma: 6066
Join Date: Apr 2010
Location: Singapore
Device: iPad Air, Kindle DXG, Kindle Paperwhite
Quote:
Originally Posted by fcoulter View Post
Has anyone created a recipe for the Orlando Sentinel? I suppose in the the best of all possible worlds, I'd love the front page (http://www.orlandosentinel.com/) as well as the Seminole County page (http://www.orlandosentinel.com/news/local/seminole/).
Here it is: Recipe for Orlando Sentinel
Attached Files
File Type: zip Orlando Sentinel.zip (757 Bytes, 216 views)
rty is offline  
Old 07-16-2010, 11:45 AM   #2323
koray
Junior Member
koray began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jul 2010
Location: Ankara, Turkey
Device: PRS-300
Hi, I am new here, and I should first thank you guys for coming up with such a great software solution that adds so much value to our e-readers. Calibre is awesome.

I already have most of the web recipes I need built-in in the software, but I want to learn writing my own, too.

Can somebody help me with writing a recipe for MIT Technology Review?

I started following the BBC News example at Calibre user manual and came up with the following:

Quote:
class AdvancedUserRecipe1279292964(BasicNewsRecipe):
title = u'MIT Technology Review'
oldest_article = 7
max_articles_per_feed = 100
no_stylesheets = True

feeds = [(u'Top Stories', u'http://feeds.technologyreview.com/technology_review_top_stories'),
(u'Computing', u'http://feeds.technologyreview.com/technology_review_Computing'),
(u'Web', u'http://feeds.technologyreview.com/technology_review_Web'),
(u'Communications', u'http://feeds.technologyreview.com/technology_review_Communications'),
(u'Energy', u'http://feeds.technologyreview.com/technology_review_Energy'),
(u'Materials', u'http://feeds.technologyreview.com/technology_review_Materials'),
(u'Biomedicine', u'http://feeds.technologyreview.com/technology_review_Biotech'),
(u'Business', u'http://feeds.technologyreview.com/technology_review_Biztech')]
However, when I tried implementing printer friendly version, I got stuck. This is because of TR's implementation. Here are example links for the RSS, standard, and printer friendly versions of the same article:

http://feeds.technologyreview.com/cl...07b19bcd84d2ac
http://www.technologyreview.com/energy/25817/?ref=rss
http://www.technologyreview.com/prin...&section=solar

Now the custom recipe for downloading a series of printer friendly versions of the article gets really complex, isn't it? What can I do and what am I missing? I wouldn't mind if someone just wrote and posted the solution recipe for me :-)...

Cheers,

Koray

Last edited by koray; 07-16-2010 at 11:48 AM. Reason: Typo
koray is offline  
Old 07-16-2010, 04:45 PM   #2324
TonytheBookworm
Addict
TonytheBookworm is on a distinguished road
 
TonytheBookworm's Avatar
 
Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
Has anyone had a chance to look at alternet.org yet and make a recipe for it ? thanks
TonytheBookworm is offline  
Old 07-17-2010, 01:34 AM   #2325
rty
Zealot
rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.rty got an A in P-Chem.
 
Posts: 108
Karma: 6066
Join Date: Apr 2010
Location: Singapore
Device: iPad Air, Kindle DXG, Kindle Paperwhite
Quote:
Originally Posted by TonytheBookworm View Post
Has anyone had a chance to look at alternet.org yet and make a recipe for it ? thanks
Here it is:

Recipe for ALTERNET.ORG


ps. The original print pages at alternet.org got broken logo

UPDATED to remove the predefined width display
Attached Files
File Type: zip Alternet.zip (754 Bytes, 249 views)

Last edited by rty; 07-17-2010 at 09:07 AM.
rty 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 12:53 PM.


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