![]() |
#1 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2012
Location: NW Indiana
Device: iPad
|
iFrame not well-formed so doesn't pass ePubcheck
In my books I include a front matter section which lists my other books. I've been doing this with a plain old list, but I would like to use an iFrame to do this instead, since it will look nicer.
However, the iframe doesn't pass ePubcheck 3 (it says it is not well-formed). This really has me stumped. I've tried using a shortened URL from Google's URL shortening service to do this, and it works, but does not display the iFrame properly. I would appreciate any help you guys could offer on this, as to how to get the xhtml to be well-formed so it can pass epubcheck. Here's the iframe content: <iframe src="https://widgets.itunes.apple.com/widget.html?c=us&brc=FFFFFF&blc=FFFFFF&trc=FFFFFF& tlc=FFFFFF&d=Offered for Sale on the iBooks Store.&t=Books by Chuck Humbertson&m=ebook&e=ebook&w=325&h=370&ids=8426951 29,614718023,659890470,604012761,821462742,6425525 59,736639241,851008587,975864229,767351429,1020080 855,865892272,945325935,674999946,993170315,728952 369,667869073,1035526405,668573287,1049393933&wt=p laylist&partnerId=&affiliate_id=&at=1000l7AC&ct=" frameborder=0 style="overflow-x:hidden;overflow-y:hidden;width:325px;height: 370px;border:0px"></iframe> Here it is with a shortened Google URL: <iframe src="https://goo.gl/hpGy1P"></iframe> Last edited by ChuckH; 11-10-2015 at 09:49 AM. Reason: Fixed URL. |
![]() |
![]() |
![]() |
#2 |
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Mmm, possibly, now here's a thought -- the iframe itself is the problem?
![]() I would really advise you not to use iframes. It'll probably work -- in apps that simply embed webkit. But elsewhere (as in most places)? Why, exactly, do you say an iframe looks nicer? What about it is "nicer"? Also, that will only work when a device is connected to the internet, which might make people slightly peeved. You know, the general idea of making content only available through live streaming? Last edited by eschwartz; 11-10-2015 at 03:19 PM. |
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Are the lines wrapping themselves or are you doing it? Let them wrap on their own. While it won't matter for this error you should also make p laylist into playlist.
Dale |
![]() |
![]() |
![]() |
#4 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2012
Location: NW Indiana
Device: iPad
|
Quote:
Last edited by ChuckH; 11-10-2015 at 04:55 PM. |
|
![]() |
![]() |
![]() |
#5 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2012
Location: NW Indiana
Device: iPad
|
|
![]() |
![]() |
![]() |
#6 |
Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 629
Karma: 1623086
Join Date: Jan 2012
Device: iPad, iPhone, Nook Simple Touch
|
In proper HTML, you can't use unencoded ampersands even in a URL. You need to encode them as &. See also my rant about unencoded ampersands in Apple's (and everybody else's) affiliate program link generators and click "show details" for further explanation.
As soon as you make that change everywhere, it should pass validation. With that said, iBooks may still not load the external content. YMMV. Last edited by dgatwood; 11-17-2015 at 02:48 AM. |
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 10
Karma: 10
Join Date: Apr 2012
Location: NW Indiana
Device: iPad
|
Thanks, I'll check it out.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub3 iframe | Zeynep | ePub | 2 | 07-15-2013 05:08 AM |
epubcheck doesn't like <div>s | marciarampart | ePub | 8 | 11-27-2011 03:13 AM |
epubcheck, any software can pass its validiation check? | droople | ePub | 96 | 08-16-2011 01:38 PM |
Sigil conversion doesn't pass Flight Crew | mrmikel | Sigil | 1 | 11-07-2010 05:53 AM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |