| 
			
			 | 
		#31 | ||
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#32 | ||
| 
			
			
			
			 Created Sigil, FlightCrew 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982 
				Karma: 350515 
				Join Date: Feb 2008 
				
				
				
				Device: Kobo Clara HD 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 My point is that those libraries contain code, and that code has it's own level of complexity. You're not diminishing complexity by using someone else's code, you're just diminishing the amount of work you as the programmer need to perform. And I'm not worried about the work involved, but the resources consumed. Quote: 
	
 But supposing one creates an XHTML parser + renderer that doesn't support SVG, one could support the vast majority of epub books out there (I'm not saying this in and of itself is a good thing). Lenient HTML parsing is non-trivial. And it's not just the resources. Do we really need the agony of different rendering with different Reading Systems if people start using HTML? Look at the modern web. You know that any designer worth his salt has to check each any every goddamn browser out there for incompatibilities, quirks etc. And it's not just because of IE. Do we really want that for ebooks? How about we stick to the prescribed standard for once? Let's try that out and see how it goes. And to get there, the mentality has to change. People need to start caring about standard compliance. Let's at least try to. Last edited by Valloric; 02-25-2009 at 02:28 PM.  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#33 | |
| 
			
			
			
			 Reticulator of Tharn 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618 
				Karma: 400000 
				Join Date: Jan 2007 
				Location: EST 
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 -Marshall  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#34 | 
| 
			
			
			
			 Reticulator of Tharn 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 618 
				Karma: 400000 
				Join Date: Jan 2007 
				Location: EST 
				
				
				Device: Sony PRS-505 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Unfortunately we're already there.  Digital Editions doesn't choke on invalid XHTML and thus none of the commercially-published EPUB books I've looked at come close to validating.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#35 | |
| 
			
			
			
			 Created Sigil, FlightCrew 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982 
				Karma: 350515 
				Join Date: Feb 2008 
				
				
				
				Device: Kobo Clara HD 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 My point exactly. If it did, a lot more epubs would be standards-compliant.  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#36 | |
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,671 
				Karma: 12205348 
				Join Date: Mar 2008 
				
				
				
				Device: Galaxy S, Nook w/CM7 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 I tend to create LRF because it is less effort to LRF file from a LIT/MOBI, where as the PDF files seem to take some time. =X=  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#37 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Umm You can write a perfectly good HTML parser in about 1500 lines of code. If you regard that as complexity then I'm sorry, but we are just going to have to disagree on that. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	As for the difference in browser behavior, that comes primarily from differences in the way browser render different (X)HTML elements, not from using HTML instead of XHTML. Insisting on strict XHTML instead of HTML would resolve only a few of the more minor issues with cross browser rendering. Far more important the HTML vs XHTML is proper support for the box rendering model of CSS. For example ADE has al sorts of bugs with rendering HTML that exist whether the input is HTML or perfectly valid XHTML. Indeed XHTML vs. HTML is such a triviality that I would regard it as a non-issue. Ebook viewing software if it is going to be successful *will* accept HTML input. The only place it matters is in ebook conversion/creation software which should go the extra mile to ensure its output is as close to XHTML as possible. And as for insisting that epub viewers only accept strict XHTML, that would have killed epub even before it got off the ground. Standards are well and good, but growth doesn't come from standards, standards come from growth. Strict adherence to standards would kill growth. At the same time it is important to try to adhere to standards *as much as possible*.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#38 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#39 | 
| 
			
			
			
			 Created Sigil, FlightCrew 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982 
				Karma: 350515 
				Join Date: Feb 2008 
				
				
				
				Device: Kobo Clara HD 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#40 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Yeah from a programmers perspective it would be *so* nice if everyone just agreed to play by the rules and stick to the standards as religuously as possible. Unfortunately, that never seems to happen in the real world
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#41 | |
| 
			
			
			
			 Created Sigil, FlightCrew 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982 
				Karma: 350515 
				Join Date: Feb 2008 
				
				
				
				Device: Kobo Clara HD 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#42 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 36 
				Karma: 1510058 
				Join Date: Dec 2008 
				
				
				
				Device: Various Kobo readers, Sony readers from the past. 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			So, if an ePub is HTML packaged up in a ZIP file, why can't the Sony read HTML files direct?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#43 | |
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#44 | |
| 
			
			
			
			 Created Sigil, FlightCrew 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982 
				Karma: 350515 
				Join Date: Feb 2008 
				
				
				
				Device: Kobo Clara HD 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Unless I read that article very incorrectly, he seems to be neutral. 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
  
		 | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#45 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
            
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| LRF to PDF | pikoman | Calibre | 0 | 12-08-2009 08:59 AM | 
| PDF to LRF or EPUB help... | Spit | Calibre | 0 | 08-14-2009 05:10 PM | 
| .pdf versus .lrf | popa | Introduce Yourself | 6 | 07-14-2009 01:32 PM | 
| PDF - LRF | VanillaEps | Sony Reader | 7 | 05-11-2009 01:34 PM | 
| How to convert PDF to LRF | silkcom | Sony Reader | 18 | 03-12-2009 07:26 AM |