| 
			
			 | 
		#1 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Mar 2011 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Problem with HTML converstion
			 
			
			
			I'm trying to grab a web page, and subsequent pages, from here: 
		
	
		
		
		
		
		
		
		
		
		
		
	
	http://download.oracle.com/javase/tu...out/index.html The problem I'm having is with the Table of Contents (TOC). I'm using Scrapbook to grab the pages, and then Caliber to load it onto my Kindle. The result is shifted far to the right due to the TOC (I believe). Even though I "deactivate" the TOC while viewing the web page, it doesn't take effect. Any ideas how I can resolve this? I don't want the TOC to show up in the converted MOBI/kindle document. Thanks!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,251 
				Karma: 3720310 
				Join Date: Jan 2009 
				Location: USA 
				
				
				Device: Kindle, iPad (not used much for reading) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			It seems to me that you'd have to edit the HTML, and remove the parts that you don't want.  Alignment may be due to an alignment tag in there somewhere.  Should have nothing to do with a TOC.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Mar 2011 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			The TOC is being managed by java script code.  I thought of editting the HTML myself, but hoped there was a simpler method.  Thanks.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Feral Underclass 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,622 
				Karma: 26821535 
				Join Date: Jan 2010 
				Location: Yorkshire, tha noz 
				
				
				Device: 2nd hand paperback 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Mar 2011 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I just sorted this.  Had to edit the CSS style sheets for each page.   
		
	
		
		
		
		
		
		
		
		
		
		
	
	I'll give Sigil a try. Thanks,  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Member 
			
			![]() Posts: 11 
				Karma: 10 
				Join Date: Mar 2011 
				
				
				
				Device: Kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			mr ploppy, 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Does Sigil work for Kindle MOBI? Not sure what I should be looking for here... Thanks,  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,592 
				Karma: 4290425 
				Join Date: Jun 2009 
				Location: Foristell, Missouri, USA 
				
				
				Device: Nokia N800, PRS-505, Nook STR Glowlight, Kindle 3, Kobo Libra 2 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Sigil is designed for epub only.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Feral Underclass 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,622 
				Karma: 26821535 
				Join Date: Jan 2010 
				Location: Yorkshire, tha noz 
				
				
				Device: 2nd hand paperback 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			No, you need to edit it as an epub first, then convert it to mobi. They are both based around html so they convert pretty well. There isn't an editor for mobi, but you can extract the html with mobiunpack and edit that if you really want to. But converting it to epub and using Sigil is a lot easier.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,310 
				Karma: 43993832 
				Join Date: Feb 2010 
				Location: Monroe Wisconsin 
				
				
				Device: K3, Kindle Paperwhite, Calibre, and Mobipocket for  Pc (netbook) 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			What I  do with HTML files from Gutenberg is to load them into Sigil, remove their "Contents" links at the top (leaving the actual chapter links in the body of the text) and then after checking the TOC via the tools I save it as an epub and run that through Calibre.  It takes a little while for each step, but it is worth the time in the end.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| VBK converstion TO other format | NetVicious | Workshop | 6 | 01-27-2012 04:22 AM | 
| mirror pages after converstion | chervo | Calibre | 1 | 05-07-2010 05:39 PM | 
| LIT converstion to LRF & EPUB flawed | vbuss | Calibre | 5 | 09-04-2009 06:34 PM | 
| html to epub problem | cstal_star | Calibre | 4 | 08-15-2009 08:54 AM | 
| html problem | Nate the great | Workshop | 12 | 03-17-2009 09:38 AM |