05-19-2010, 03:39 PM | #1951 |
Connoisseur
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
|
vvv.ilmessaggero.it
better viewing, new cover image the cover show the First Page of the NewsPaper. vvv.leggo.it better viewing, new cover image the cover show the First Page of the NewsPaper. Last edited by gambarini; 05-19-2010 at 03:50 PM. |
05-19-2010, 06:49 PM | #1952 |
Junior Member
Posts: 1
Karma: 10
Join Date: May 2010
Device: Kindle 2
|
Local News Paper - The Register Guard Help
Hi! I'm coming out of my lurking state to ask for some help. I have tried making a custom recipe for my local paper (The Register Guard), but since the feeds run through feedburner I'm having quite a bit of difficulty due to my lack of technical skills.
Any help would be greatly appreciated. If you have any suggestions on what code to use to work with feedburner or if you can easily whip up a full custom recipe, I'd really appreciate whatever I can get! The feeds can be found here: http://www2.registerguard.com/cms/in...ges/feeds/#rss I was hoping to do all of them except the Springfield Extra. Thanks again! |
Advert | |
|
05-19-2010, 10:11 PM | #1953 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2010
Device: Kindle 2
|
I've been trying to get this recipe to work for the newspaper Roll Call. The only thing that is not working is the print version return. I'm still getting the full version. Any help would be appreciated. I don't know python, but I pieced this together form other recipes.
The recipe is below class AdvancedUserRecipe1273837220(BasicNewsRecipe): title = u'Roll Call' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = False needs_subscription = True feeds = [(u'Roll Call', u'http://www.rollcall.com/issues/index.xml')] def get_browser(self): br = BasicNewsRecipe.get_browser() if self.username is not None and self.password is not None: br.open('http://www.rollcall.com/login') br.select_form(name='login_form') br['login_id'] = self.username br['login_pwd'] = self.password br.submit('submit') return br def print_version(self, url): return url + '?type=printer_friendly' |
05-20-2010, 02:37 AM | #1954 | |
Connoisseur
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
|
Quote:
I'll try; my next step is to create a recipe that fetch from site with complete pdf newspaper to merge the real newspaper (in pdf) and the html version on the site. Now i have in beta test () 3 or 4 recipe on blog about hardware/software and android. as soon as possible... |
|
05-20-2010, 02:39 AM | #1955 | |
Connoisseur
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
|
Quote:
Code:
def print_version(self, url): link =url + '?type=printer_friendly' print link |
|
Advert | |
|
05-20-2010, 06:46 AM | #1956 | |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2010
Device: Kindle 2
|
Roll Call Recipe
Quote:
Here is the recipe again. Code:
class AdvancedUserRecipe1273837220(BasicNewsRecipe): title = u'Roll Call' oldest_article = 7 max_articles_per_feed = 100 no_stylesheets = True use_embedded_content = False needs_subscription = True feeds = [(u'Roll Call', u'http://www.rollcall.com/issues/index.xml')] def get_browser(self): br = BasicNewsRecipe.get_browser() if self.username is not None and self.password is not None: br.open('http://www.rollcall.com/login') br.select_form(name='login_form') br['login_id'] = self.username br['login_pwd'] = self.password br.submit('submit') return br def print_version(self, url): return url + '?type=printer_friendly |
|
05-20-2010, 07:15 AM | #1957 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2010
Device: Kindle
|
|
05-20-2010, 07:31 AM | #1958 | |
Connoisseur
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
|
Quote:
In the log you can see the valour of the variable LINK (print LINK ! ! ), so you can look yourself what is wrong. Actually return blank because there isn't the instruction "RETURN LINK". Last edited by gambarini; 05-20-2010 at 08:00 AM. |
|
05-20-2010, 09:12 AM | #1959 |
Guru
Posts: 800
Karma: 194644
Join Date: Dec 2007
Location: Argentina
Device: Kindle Voyage
|
|
05-20-2010, 06:03 PM | #1960 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2010
Device: Kindle
|
|
05-21-2010, 04:22 AM | #1961 | |
Connoisseur
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
|
Quote:
and for the recipe Libero-News Last edited by gambarini; 05-21-2010 at 07:34 AM. |
|
05-21-2010, 05:24 AM | #1962 |
Connoisseur
Posts: 98
Karma: 22
Join Date: Mar 2010
Device: IRiver Story, Ipod Touch, Android SmartPhone
|
Now i try to include in all recipe (when exist) the first page of the printed newspaper.
In my opinion it's a good preview of the content of the recipe. |
05-21-2010, 08:35 AM | #1963 |
La Guera en Manzanillo
Posts: 33
Karma: 50
Join Date: May 2010
Location: Manzanillo, Colima, Mexico
Device: Kindle 2 Global
|
Okay, I'm officially a clueless newbie...I actually thought this was a thread on recipes for food, rofl.
|
05-21-2010, 09:13 AM | #1964 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
It's not, but we do have some posts in this thread on recipes (Calibre-style) for recipes (food)! Search for Epicurious, or see the Epicurious built-in recipe.
|
05-21-2010, 06:52 PM | #1965 | |
Member
Posts: 12
Karma: 10
Join Date: May 2010
Device: Nook
|
Cyanide & Happiness?
Any update on creating a recipe for this? Thanks so much guys, I really appreciate all of the hard work you do to help us out!!!
Quote:
|
|
Thread Tools | Search this Thread |
|
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 |