![]() |
#1036 |
Member
![]() Posts: 15
Karma: 10
Join Date: Dec 2009
Location: Cupertino, CA
Device: Kindle 2, iPad
|
cypher, you can use the recipe. You don't put the recipe on your kindle, you use it in calibre as a custom news source. I'll take a look at PS3center and see if I can make a recipe for that.
|
![]() |
![]() |
#1037 |
Member
![]() Posts: 10
Karma: 10
Join Date: Dec 2009
Location: Halifax, Nova Scotia
Device: Sony PRS-300
|
kiklop74
I just got my first ereader and so I am new to Calibre and this forum...but I just want to say how amazing it is to see all the recipes you have created for folks and to say thanks. I posted a request for a couple of recipes and one of these days I would like to learn how to make my own. Thanks again Brian |
![]() |
![]() |
#1038 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2009
Device: Kindle 2 Global Wireless
|
Many thanks for all recipes, I am new in kindle 2 and this forum and this is incredible... If you have time, please tell me a recipe for:
http://rss.elmundo.es/rss/ Thanks!! Have a nice end of year! |
![]() |
![]() |
#1039 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 12392
Join Date: Nov 2009
Location: Canada
Device: Kobo Vox
|
Thanks a lot my friend. If/when you do also if you could show me how you did it it would be most educational.
|
![]() |
![]() |
#1040 |
Member
![]() Posts: 15
Karma: 10
Join Date: Dec 2009
Location: Cupertino, CA
Device: Kindle 2, iPad
|
I don't see any RSS feeds on your PS3 site. Was there an RSS feed you were looking at?
|
![]() |
![]() |
#1041 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2009
Device: Nook
|
Providence Journal Recipe Help
I am trying to get the Providence Journal at www.projo.com but am not getting any articles. If I add the following:
"def print_version(self, url): return url.replace('http://', 'http://newsvote.bbc.co.uk/mpapps/pagetools/print/') " I get web pages with adds and a lot of extra stuff. Any advice would be greatly appreciated. Here is my Recipe: import re from calibre.web.feeds.news import BasicNewsRecipe class ProvidenceJournal(BasicNewsRecipe): title = 'Providence Journal' description = 'RI news' __author__ = 'Kovid Goyal and Sujata Raman' use_embedded_content = False max_articles_per_feed = 20 language = 'en' remove_javascript = True no_stylesheets = True extra_css = ''' #articleCopyright { font-family:Arial,helvetica,sans-serif ; font-weight:bold ; font-size:x-small ;} p { font-family:"Times New Roman",times,serif ; font-weight:normal ; font-size:small ;} body{font-family:arial,helvetica,sans-serif} ''' feeds = [ ('Today\'s Highlights', 'http://www.projo.com/newskiosk/rss/projolocalnews.xml'), ('Politics', 'http://politicsblog.projo.com/index.xml'), ('7 to 7: Rhode Island\'s breaking news blog', 'http://newsblog.projo.com/index.xml'), ('Music', 'http://www.projo.com/newskiosk/rss/projomusic.xml') ] remove_tags = [{'id':['pfmnav', 'ArticleCommentsWrapper']}] def get_article_url(self, article): return article.get('guid', article.get('link', None)) def print_version(self, url): return url.rpartition('.')[0] + '_pf.html' def postprocess_html(self, soup, first): for div in soup.findAll(name='div', style=re.compile('margin')): div['style'] = '' return soup |
![]() |
![]() |
#1042 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 12392
Join Date: Nov 2009
Location: Canada
Device: Kobo Vox
|
Quote:
It IS out of the way. I've mentioned to the owner about it before....guess I'll have to remind him to get it more prominent. LOL |
|
![]() |
![]() |
#1043 |
Connoisseur
![]() ![]() Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
|
You can not expect the recipe for The Washington Post to work on this website (or any other website for that matter). You have to examine the HTML and adjust accordingly.
For a start: remove the extra_css and remove_tags properties. Then remove the get_article_url(), print_version() and postprocess_html() methods. Then add the following line Code:
keep_only_tags = [dict(name = 'div', attrs = {'id': 'storycontentleft'})] |
![]() |
![]() |
#1044 |
Connoisseur
![]() ![]() Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
|
New recipe for the Journal of Accountancy
|
![]() |
![]() |
#1045 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
|
Quote:
eluniversalimpresa.zip |
|
![]() |
![]() |
#1046 |
FT Parent PT Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 322
Karma: 187838
Join Date: Mar 2009
Location: South Alabama
Device: Shocked by how much I've read on an iPod Touch received as a gift!
|
Hate to ask a question that is probably posted somewhere I should have already seen, but after you create these custom recipes, are they automatically included in the next update to Calibre?
|
![]() |
![]() |
#1047 | |
Connoisseur
![]() ![]() Posts: 78
Karma: 192
Join Date: Nov 2009
Device: Sony PRS-600
|
New recipes for Big Government and Pro Publica
Quote:
politalpackage-2.zip |
|
![]() |
![]() |
#1048 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,373
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
#1049 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 178
Karma: 12392
Join Date: Nov 2009
Location: Canada
Device: Kobo Vox
|
I would love to see a recipe for Psychology Today, or Scientific American Mind.
|
![]() |
![]() |
#1050 | |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Dec 2009
Device: Nook
|
Quote:
|
|
![]() |
![]() |
|
![]() |
||||
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 |