|  12-29-2011, 12:35 PM | #1 | 
| Connoisseur            Posts: 59 Karma: 4212 Join Date: Feb 2010 Device: Sony | 
				
				Newbie question - adding to custom recipes (cover page, etc.)
			 
			
			Hi, questions from an enthusiastic, but very green newbie: 1. How do I add to a custom recipe an image of the front page of a newspaper as a cover to each download, if that is available? See for example the New York Times recipe. 2. I have a Sony PRS-950, which can display headers and footers with quick linkes to jump to the next article, next section, etc. Again, this works with several built-in recipes (New York Times for examples). How do I add those to a custom recipe? Thanks!!!! Gianfranco | 
|   |   | 
|  12-29-2011, 02:59 PM | #2 | 
| Reader            Posts: 520 Karma: 24612 Join Date: Aug 2009 Location: Utrecht, NL Device: Kobo Aura 2, iPhone, iPad | 
			
			1. You have to find the image of the front page on the site and put its URL in the variable cover_url. Or write a method  get_cover_url that returns the URL. Usually you have to find something about the printed edition on the site to get the front page. If there is no image of the front page on the site you are out of luck. Or maybe you can generate a fake one. 2. This is done automatically by Calibre. | 
|   |   | 
| Advert | |
|  | 
|  12-29-2011, 04:11 PM | #3 | 
| onlinenewsreader.net            Posts: 331 Karma: 10143 Join Date: Dec 2009 Location: Phoenix, AZ & Victoria, BC Device: Kindle 3, Kindle Fire, IPad3, iPhone4, Playbook, HTC Inspire | 
			
			Look in the sticky for reusable recipe code. I put a post there recently talking about getting cover images from newseum.org
		 | 
|   |   | 
|  12-29-2011, 06:02 PM | #4 | 
| Connoisseur            Posts: 59 Karma: 4212 Join Date: Feb 2010 Device: Sony | |
|   |   | 
|  12-29-2011, 07:06 PM | #5 | 
| Reader            Posts: 520 Karma: 24612 Join Date: Aug 2009 Location: Utrecht, NL Device: Kobo Aura 2, iPhone, iPad | 
			
			For me it does. I don't think Calibre makes a distinction between standard and custom recipes.
		 | 
|   |   | 
| Advert | |
|  | 
|  12-29-2011, 08:46 PM | #6 | |
| Connoisseur            Posts: 59 Karma: 4212 Join Date: Feb 2010 Device: Sony | Quote: 
 For issues downloaded using the built-in recipe of the New York Times, for example, I have: Title in the upper header Section title in the lower header The following buttons in the footer: SECTION, FRONT PAGE, TABLE OF CONTENTS, SECTION. I am trying to understand the difference between the various recipes so that I can recreate the same buttons that I have in the New York Times. Thanks!! | |
|   |   | 
|  12-29-2011, 10:19 PM | #7 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			It has nothing to do with builtin vs. custom. That special navigation on the 900 is based on an extra file in the EPUB called atom.xml. The format of that file has been reverse engineered, but for some downloads it does not work, it is not clear why, and I'm not motivated enough to spend more time on it, as it works for all the news sources I care about.
		 | 
|   |   | 
|  12-30-2011, 03:17 AM | #8 | 
| Reader            Posts: 520 Karma: 24612 Join Date: Aug 2009 Location: Utrecht, NL Device: Kobo Aura 2, iPhone, iPad | 
			
			@gianfri: I thought you were talking about the standard calibre generated menu:  | Next | Section Menu | Main Menu | Previous | | 
|   |   | 
|  12-30-2011, 08:59 AM | #9 | 
| Connoisseur            Posts: 59 Karma: 4212 Join Date: Feb 2010 Device: Sony | 
			
			No, I can see that in the text portion of the article. I was referring to the buttons in the footer, which I find much more convenient. Thanks!
		 | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Adding date (and maybe other info) to custom cover image | chewi | Recipes | 7 | 03-16-2011 04:21 AM | 
| Where are custom recipes? | AustinTim | Recipes | 2 | 02-07-2011 09:50 PM | 
| Adding a cover/front page | Lynk | Recipes | 3 | 10-03-2010 06:14 PM | 
| 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 |