Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-02-2011, 02:16 PM   #1
fresherluke
Junior Member
fresherluke began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2011
Device: none
Help with some simple errors

hi, so I'm trying to make a pretty simple epub, but I get these errors (that make no sense to me at all) was hoping if you guys could help me out?

errors are:

html(4): unfinished element
html(6): attribute "align" not allowed at this point; ignored
html(6): required attributes missing

and then:

html(6): 'OPS/Images/$PDF1.JPG': referenced resource exists, but not declared in the OPF file

and here is the html:

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<p align="center"><img src="Images/$PDF1.JPG" width="409" height="546"/></p>
</body>

if there is any help you can give it would be greatly appreciated

cheers and thanks
fresherluke is offline   Reply With Quote
Advert
Old 05-02-2011, 02:58 PM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,072
Karma: 9567891
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by fresherluke View Post
html(4): unfinished element
Line 4 is the </head>. It means your <head> is not correctly finished, probably because there is some compulsory element that you didn't include. I bet it's the <title>. You can just add <title></title> before </head>, if you want an empty title.

Quote:
html(6): attribute "align" not allowed at this point; ignored
You can't use the attribute "align" in a <p> element. This is XHTML, not HTML, if you want alignment, use CSS.

Quote:
html(6): required attributes missing
In XHTML the "alt" attribute is required for images. The "alt" attribute should contain some text for use when the image cannot be displayed, for instance in text-to-speech readers. If the image is just an ornamental illustration, you can use alt="".

Quote:
html(6): 'OPS/Images/$PDF1.JPG': referenced resource exists, but not declared in the OPF file
The OPF file (maybe "content.opf", but it can have any name) should contain a manifest with all files (save some specific exceptions) in the book. You are using the $PDF1.JPG file, and it's included in the book, but it is not in the OPF manifest, and this is an error.

Use Sigil, it should make your life easier.
Jellby is offline   Reply With Quote
Old 05-03-2011, 09:24 AM   #3
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,378
Karma: 117701645
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
I am not quite sure naming a file $PDF1.jpg is such a good idea. The dollar sign is often used as special character... Strange things could happen when readers are interpreting the book.
Toxaris is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spelling errors and such starrlamia General Discussions 29 11-29-2010 03:59 AM
Errors Caitlin Calibre 7 11-15-2010 03:48 PM
erm, simple question , hope for simple answer! al zymers Amazon Kindle 5 09-25-2010 01:01 PM
Simple question for a simple mind :) PKFFW OpenInkpot 6 08-27-2009 09:00 PM
Errors and Errors... uncultured Amazon Kindle 7 03-11-2009 05:11 PM


All times are GMT -4. The time now is 03:57 AM.


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