| 
			
			 | 
		#2131 | |
| 
			
			
			
			 US Navy, Retired 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897 
				Karma: 13806776 
				Join Date: Feb 2009 
				Location: North Carolina 
				
				
				Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Just know that it is caused by something from the page you're grabbing and not a bug in calibre.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#2132 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108 
				Karma: 6066 
				Join Date: Apr 2010 
				Location: Singapore 
				
				
				Device: iPad Air, Kindle DXG, Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Can anyone please help how to get the print version of this multipage article of Psychology Today? 
		
	
		
		
		
		
		
		
		
		
		
		
	
	The article link is The print version of this link is The problem here is that the print version has number (21819) which doesn't appear anywhere in the original link.  
		 | 
| 
		 | 
	
	
| 
			
			 | 
		#2133 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108 
				Karma: 6066 
				Join Date: Apr 2010 
				Location: Singapore 
				
				
				Device: iPad Air, Kindle DXG, Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Can anybody help why the Multipage part doesn't work on following recipe: 
		
	
		
		
		
		
		
		
		
		
		
		
		
			Spoiler: 
 Thank you in advance. Last edited by rty; 06-19-2010 at 09:48 AM.  | 
| 
		 | 
	
	
| 
			
			 | 
		#2134 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004 
				Karma: 177841 
				Join Date: Dec 2009 
				
				
				
				Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Read this.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#2135 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004 
				Karma: 177841 
				Join Date: Dec 2009 
				
				
				
				Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T 
				
				
				 | 
	
	|
| 
		 | 
	
	
| 
			
			 | 
		#2136 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 98 
				Karma: 22 
				Join Date: Mar 2010 
				
				
				
				Device: IRiver Story, Ipod Touch, Android SmartPhone 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 It seems very simple;the print link is in the html...  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#2137 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004 
				Karma: 177841 
				Join Date: Dec 2009 
				
				
				
				Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I don't think I'd call it "very simple."  Yes, the print link is on the article page, but there's no easy way with print_version to read the article page and substitute the print version link for the article link.  You have to go to the article page before you can get the link, but if you've already gone there, it's too late to substitute the print link for the article link.   
		
	
		
		
		
		
		
		
		
		
		
		
	
	There are several solutions, but the standard one is to treat it as an obfuscated link. It's not hard, but it's different enough that most recipes don't bother. It's often easier to just clean up the non-print version page than it is to get the obfuscated link to the print version.  | 
| 
		 | 
	
	
| 
			
			 | 
		#2138 | |
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108 
				Karma: 6066 
				Join Date: Apr 2010 
				Location: Singapore 
				
				
				Device: iPad Air, Kindle DXG, Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Thanks for your quick response. The recipe works fine fetching all articles from http://www.psychologytoday.com/articles/index.rss except articles which continue multipages, for example, the article titled "Nation of Wimps" http://www.psychologytoday.com/artic...1/nation-wimps. The recipe was copied from the built-in recipe for AdventureGamer but unfortunately it doesn't work here. Thanks.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#2139 | |
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 98 
				Karma: 22 
				Join Date: Mar 2010 
				
				
				
				Device: IRiver Story, Ipod Touch, Android SmartPhone 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 otherwise the print link is under a findable tag.  | 
|
| 
		 | 
	
	
| 
			
			 | 
		#2140 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108 
				Karma: 6066 
				Join Date: Apr 2010 
				Location: Singapore 
				
				
				Device: iPad Air, Kindle DXG, Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Again thanks to Starson17 for pointing me to a right direction on obfuscated feed. 
		
	
		
		
			Attached is my contribution for "Psychology Today". The current built-in recipe in Calibre doesn't handle multipage page articles and it doesn't fetch the magazine cover. This one does.  
		 | 
| 
		 | 
	
	
| 
			
			 | 
		#2141 | 
| 
			
			
			
			 Connoisseur 
			
			![]() Posts: 98 
				Karma: 22 
				Join Date: Mar 2010 
				
				
				
				Device: IRiver Story, Ipod Touch, Android SmartPhone 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			i have solved my problem with parse index and with multiple pages... 
		
	
		
		
			This is the new recipe (AutoProve2.zip) It is updated every month (more or less) and it contains complete test of car. Every test is a feed, and all the "tabs" of every test are the news in the feed. p.s. I "re"-post 3 recipes that i have posted but i don't find them in the new version of calibre. Last edited by gambarini; 06-19-2010 at 04:17 AM.  | 
| 
		 | 
	
	
| 
			
			 | 
		#2142 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108 
				Karma: 6066 
				Join Date: Apr 2010 
				Location: Singapore 
				
				
				Device: iPad Air, Kindle DXG, Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Recipe for "Maximum PC" (updated to handle Multipage issues by using Print Version)  
		
	
		
		
			 
		 | 
| 
		 | 
	
	
| 
			
			 | 
		#2143 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 14 
				Karma: 10 
				Join Date: Nov 2009 
				
				
				
				Device: Kindle 2 (intl.) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I get an error with this recipe: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Code: 
	ERROR: Conversion Error: <b>Failed</b>: Fetch news from Haaretz
Fetch news from Haaretz
Resolved conversion options
calibre version: 0.7.3
{'asciiize': False,
 'author_sort': None,
 'authors': None,
 'base_font_size': 0,
 'book_producer': None,
 'change_justification': 'original',
 'chapter': None,
 'chapter_mark': 'pagebreak',
 'comments': None,
 'cover': None,
 'debug_pipeline': None,
 'disable_font_rescaling': False,
 'dont_compress': False,
 'dont_download_recipe': False,
 'extra_css': None,
 'font_size_mapping': None,
 'footer_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
 'header_regex': '(?i)(?<=<hr>)((\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?\\d+<br>\\s*.*?\\s*)|(\\s*<a name=\\d+></a>((<img.+?>)*<br>\\s*)?.*?<br>\\s*\\d+))(?=<br>)',
 'input_encoding': None,
 'input_profile': <calibre.customize.profiles.InputProfile object at 0x05130B90>,
 'insert_blank_line': False,
 'insert_metadata': False,
 'isbn': None,
 'keep_ligatures': False,
 'language': None,
 'level1_toc': None,
 'level2_toc': None,
 'level3_toc': None,
 'line_height': 0,
 'linearize_tables': False,
 'lrf': False,
 'margin_bottom': 5.0,
 'margin_left': 5.0,
 'margin_right': 5.0,
 'margin_top': 5.0,
 'max_toc_links': 50,
 'no_chapters_in_toc': False,
 'no_inline_navbars': True,
 'no_inline_toc': False,
 'output_profile': <calibre.customize.profiles.KindleOutput object at 0x05130E70>,
 'page_breaks_before': None,
 'password': None,
 'personal_doc': '[PDOC]',
 'prefer_author_sort': False,
 'prefer_metadata_cover': False,
 'preprocess_html': False,
 'pretty_print': False,
 'pubdate': None,
 'publisher': None,
 'rating': None,
 'read_metadata_from_opf': None,
 'remove_first_image': False,
 'remove_footer': False,
 'remove_header': False,
 'remove_paragraph_spacing': False,
 'remove_paragraph_spacing_indent_size': 1.5,
 'rescale_images': False,
 'series': None,
 'series_index': None,
 'tags': None,
 'test': False,
 'timestamp': None,
 'title': None,
 'title_sort': None,
 'toc_filter': None,
 'toc_threshold': 6,
 'toc_title': None,
 'use_auto_toc': False,
 'username': None,
 'verbose': 2}
InputFormatPlugin: Recipe Input running
Python function terminated unexpectedly
   (Error Code: 1)
Traceback (most recent call last):
  File "site.py", line 103, in main
  File "site.py", line 85, in run_entry_point
  File "site-packages\calibre\utils\ipc\worker.py", line 99, in main
  File "site-packages\calibre\gui2\convert\gui_conversion.py", line 24, in gui_convert
  File "site-packages\calibre\ebooks\conversion\plumber.py", line 815, in run
  File "site-packages\calibre\customize\conversion.py", line 211, in __call__
  File "site-packages\calibre\web\feeds\input.py", line 104, in convert
  File "site-packages\calibre\web\feeds\news.py", line 702, in download
  File "site-packages\calibre\web\feeds\news.py", line 856, in build_index
  File "site-packages\calibre\web\feeds\news.py", line 1301, in parse_feeds
  File "site-packages\calibre\web\feeds\news.py", line 347, in get_feeds
NotImplementedError
 | 
| 
		 | 
	
	
| 
			
			 | 
		#2144 | 
| 
			
			
			
			 Zealot 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 108 
				Karma: 6066 
				Join Date: Apr 2010 
				Location: Singapore 
				
				
				Device: iPad Air, Kindle DXG, Kindle Paperwhite 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			How do we remove width property in tables? This conversion_options doesn't seem to remove it.   
		
	
		
		
		
		
		
		
		
		
		
		
	
	I am working on recipe for Forbes India which was requested by someone here last week. If I can remove this table width property, I can complete the recipe immediately. Thanks.  
		 | 
| 
		 | 
	
	
| 
			
			 | 
		#2145 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004 
				Karma: 177841 
				Join Date: Dec 2009 
				
				
				
				Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Custom column read ? | pchrist7 | Calibre | 2 | 10-04-2010 03:52 AM | 
| Archive for custom screensavers | sleeplessdave | Amazon Kindle | 1 | 07-07-2010 01:33 PM | 
| How to back up preferences and custom recipes? | greenapple | Calibre | 3 | 03-29-2010 06:08 AM | 
| Donations for Custom Recipes | ddavtian | Calibre | 5 | 01-23-2010 05:54 PM | 
| Help understanding custom recipes | andersent | Calibre | 0 | 12-17-2009 03:37 PM |