![]() |
#1 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: iPhone
|
![]()
FIX, SEE BELOW
Last edited by saytionne; 08-30-2010 at 09:21 PM. |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: iPhone
|
NEW ERROR
I have a new error that I hope someone can help me with? I'm not exactly sure what it means?
"# ERROR: .epub/content.opf(12): attribute "file-as" from namespace "http://www.idpf.org/2007/opf" not allowed at this point; ignored # .epub/content.opf(14): date value '2010-09-01 00:00:00-04:00' is not valid, YYYY[-MM[-DD]] expected " Last edited by saytionne; 08-30-2010 at 09:21 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
|
You have to add the date in the OPF file:
<metadata> <dc:language>en</dc:language> <dc:date>2010</dc:date> </metadata> I know there are four lines there but the first and last lines are only to show you where: |
![]() |
![]() |
![]() |
#4 |
Booklegger
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,801
Karma: 7999816
Join Date: Jun 2009
Location: Toronto, Ontario, Canada
Device: BeBook(1 & 2010), PEZ, PRS-505, Kobo BT, PRS-T1, Playbook, Kobo Touch
|
As the error shows you, only the DATE is allowed, at least the year, optionally the month and day. I've made that mistake at least a couple of times.
|
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: iPhone
|
![]()
OKAY! I am even closer now guys! The help worked great! So simple.
But, now my error from ThreePress is: ERROR: SevenShifts.epub: OPF file content.opf is missing BUT the content.opf IS THERE!!!!!!!!!!!!!!!!!!!!! ![]() Last edited by saytionne; 08-31-2010 at 08:35 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
The errors don't match the OPF fragment you have shown. There is no "file-as" and the date looks OK. Unzip the .epub you are trying to validate and check the content.opf file is what you expected...
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: iPhone
|
This is what is confusing to me!
I have the file there, I don't know what the "file-as" should be. I fixed the other issues, rezipped and got the error message. "# ERROR: .epub/content.opf(12): attribute "file-as" from namespace "http://www.idpf.org/2007/opf" not allowed at this point; ignored I'm just not sure why its saying idpf.org/2007/opf is not allowed when on many websites (lulu, etc) I have used the sample structure for the ebook and built from there. I haven't changed anything that was stationary on the opf other than how the date is listed since it was causing an issue. Could you please specify or refer me to a working opf file? This is just so confusing, since I have the opf file there? And there are NO discrepancies... well, apparently there is. |
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Can you post your opf file? Or at least the first 20 lines or so?
|
![]() |
![]() |
![]() |
#9 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
This OPF file works fine, if it helps.
|
![]() |
![]() |
![]() |
#10 | |
regrets buying PocketBook
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44
Karma: 2144500
Join Date: Dec 2009
Location: Texas
Device: CoolReader (Android), Pocketbook 360 Ivory
|
Quote:
Code:
<dc:creator opf:role="aut" opf:file-as="MacDonald, George">George MacDonald</dc:creator> |
|
![]() |
![]() |
![]() |
#11 | |
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: iPhone
|
Hi Jellyby! I am so appreciative for your help! ![]() I think it may be a 'user malfunction.' I'm beyond frustrated and almost want to give up, what with being so close and not understanding what the issue could be. Nonetheless, I tried building my content.opf based on yours and received the following message: Quote:
![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
#12 | ||
Junior Member
![]() Posts: 9
Karma: 10
Join Date: Aug 2010
Device: iPhone
|
Quote:
Toxaris, hi! Thanks for replying. ![]() Here is my opf file... Everything is fine, except for the metadata area, (I'm guessing). Quote:
![]() Thanks again Toxaris! |
||
![]() |
![]() |
![]() |
#13 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
Quote:
Exactly what issue are you having? |
||
![]() |
![]() |
![]() |
#14 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Don't see anything wrong at the first glance. Hmm, strange. Let me ponder for a while.
|
![]() |
![]() |
![]() |
#15 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,529
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
What is the content of the "META-INF/container.xml" file? That's where the location of the OPF file is stated, it might be that the validator is using a different OPF file from what you think... Also, if you can, post a complete .epub file that shows the problem, you can just remove all copyrighted material from the text files or replace it with "lorem ipsum".
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
hotlinking png image | bobcdy | Sigil | 21 | 09-21-2010 04:56 AM |
Strainge PNG Background in Book Details | dml33 | Calibre | 5 | 08-08-2010 10:48 AM |
convert png & jpeg into wmv or mp3; Manga for my phone | Johnnyjohn | Introduce Yourself | 6 | 08-06-2010 01:51 PM |
where to get autorun.xml, icon.png, key.png, lut.bin for PRS-505 | obender | Sony Reader Dev Corner | 2 | 01-25-2009 03:20 PM |
Combining multiple .gif or .png files into a specific PDF page. | Raventhon | 0 | 10-03-2007 01:06 AM |