Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-01-2011, 10:45 AM   #1
jw76
Junior Member
jw76 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2011
Device: kindle, ipad
newbie ePub check error question

I'm new to this forum so apologies if I'm posting this in the wrong place.

I'm trying to modify an existing ePub file to include a link to an Amazon page, and I'm getting the following error message from the ePub checker: "The reference to entity "tag" must end with the ';' delimiter". Based on some cursory research I think the problem is that the link I'm trying to add contains an ampersand. I saw previous posts that said to change the "&" to "&" but I tried doing that and it didn't change anything. I have little/no experience with coding, so there might be something really basic that I'm missing. I picked the link up directly from another ePub file and am stymied as to why it works fine in one file but not in another. Any help would be appreciated.

This is the whole link (though I've altered some text to say "dummy" based on company policy but what I've altered doesn't contain any special characters or spaces):

<a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.am azon.com%2Fs%3Fie%3DUTF8%26ref_%3Dnb_sb_noss%26fie ld-keywords%3Ddummy%2520dummy%2520dummy%2520on%26url% 3Dsearch-alias%253Ddigital-text%23%3Frh%3Dn%3A133140011%2Ck%3Adummy%20dummy%2 0dummy%20on&tag=dummy-20&linkCode=ur2&camp=1789&creative=390957">
jw76 is offline   Reply With Quote
Old 11-01-2011, 09:42 PM   #2
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
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
Quote:
Originally Posted by jw76 View Post
I'm new to this forum so apologies if I'm posting this in the wrong place.

I'm trying to modify an existing ePub file to include a link to an Amazon page, and I'm getting the following error message from the ePub checker: "The reference to entity "tag" must end with the ';' delimiter". Based on some cursory research I think the problem is that the link I'm trying to add contains an ampersand. I saw previous posts that said to change the "&" to "&amp;" but I tried doing that and it didn't change anything. I have little/no experience with coding, so there might be something really basic that I'm missing. I picked the link up directly from another ePub file and am stymied as to why it works fine in one file but not in another. Any help would be appreciated.

This is the whole link (though I've altered some text to say "dummy" based on company policy but what I've altered doesn't contain any special characters or spaces):

<a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.am azon.com%2Fs%3Fie%3DUTF8%26ref_%3Dnb_sb_noss%26fie ld-keywords%3Ddummy%2520dummy%2520dummy%2520on%26url% 3Dsearch-alias%253Ddigital-text%23%3Frh%3Dn%3A133140011%2Ck%3Adummy%20dummy%2 0dummy%20on&tag=dummy-20&linkCode=ur2&camp=1789&creative=390957">
Well the UTF8&location needs the & changed to a %38 also on&tag and there are some spaces in the hfref that are not permitted.
DaleDe is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub check error help jenny clarkson ePub 1 10-19-2011 09:26 AM
Epub Error - newbie needs help mathisbrogers ePub 7 05-31-2011 11:58 PM
Epub check error. Please help. ronaldhart ePub 1 12-21-2010 10:26 PM
epub check mentiones an error NASCARaddicted Calibre 13 02-15-2010 09:50 AM
Newbie question - pdftohtml error phantom_cyclist Calibre 5 10-02-2009 06:21 AM


All times are GMT -4. The time now is 11:40 PM.


MobileRead.com is a privately owned, operated and funded community.