![]() |
#1 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2015
Device: none
|
Sigil Error = missing required attribute content
Howdy, I'm a neophyte publisher trying to format a epub file using Sigil. After validating with flight crew, I'm advised I have this error on line 8 of almost every page. I don't know anything about writing code. Not sure what this means or what to fix. Here's the error message and the code. Any help or direction would be appreciated.
![]() Error says: missing required attribute 'content' Existing Code says: <meta name="Adept.resource" /> |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,910
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
And you are the authorized Publisher? |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,484
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
Where did that meta tag come from? It is incorrect. A meta tag is a void element that has two attributes: "name" and "content". Your tag is missing the content="blah" field. Last edited by KevinH; 01-22-2015 at 05:23 PM. |
![]() |
![]() |
![]() |
#4 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,484
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi theDucks,
It isn't it generated by Indesign or one of those weird tools? Or perhaps is it a leftover from DRM removal? If the latter, you should only be using this ebook for your own personal use and not giving it away as it represents someone's hard work who would not be properly paid for it. Kevin |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2015
Device: none
|
I'm the writer, trying to learn how to create an EPUB file. The work belongs to me, just trying to get it formatted correctly so I can upload it to IngramSpark. The book is already on Nook, Amazon, Create Space but Ingram does not have a platform for creating an ebook. Either I pay a third party service a dollar a page or I try blundering through myself. Any constructive advice would be appreciated.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,484
Karma: 5703586
Join Date: Nov 2009
Device: many
|
Hi,
Then use find and replace to remove that line. You should see it near the top of every xhtml file. Use Sigil's CodeView to see it and do your find and replacing. That line is a meaningless leftover. Kevin Quote:
|
|
![]() |
![]() |
![]() |
#7 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,910
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
That was a DRM marker that should not have been in original work, thus the questions. Removal of that line is probably all that is needed. |
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,358
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
My advice would be to delete every occurence of it. It's a remnant from the removal of Adobe's Adept DRM from a retail epub. If it's your own, you really should have a cleaner version of the book to work with than a retail copy that had the DRM removed. What I can't figure out, is why someone removed the "value" attribute from the meta tag. instead of just removing the entire meta tag.
|
![]() |
![]() |
![]() |
#9 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 18298
Join Date: Jan 2015
Device: Mantano
|
My advice is not to use a low level tool like Sigil without having basic knowledge in HTML, CSS, ePub2/3 and regex.
Interesting that so few people can distinguish between Sigil problems and ePub problems. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2015
Device: none
|
Thanks for the helpful suggestions, I shall try to remove the line of offending code. As I said originally, I am not a software engineer and I don't know how to write code. I'm a journalist and author trying to get an epub file to load on a book distributor's website so I can sell books. I'm guessing this extra line of code turned up as I converted a word document to a pdf to an epub using a conversion tool called "PDF to EPUB Converter," that I found on the interweb for free. I'm guessing there is a better way to to do this and if I knew the right tool to use (for somebody who doesn't write code), I would buy that tool as I may want to do this again. Any suggestions you have in this area would also be greatly appreciated. Specifically, what's the cleanest, most direct route to get from Word to EPUB? Much obliged...
|
![]() |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
Now, for three options in random order.
|
|
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 860
Karma: 4097942
Join Date: Jun 2012
Location: London, UK
Device: Sony PRS-505, Pocketbook TL3, TL4, TL5
|
There's also a fourth option: Jutoh (http://www.jutoh.com/). It is particularly useful if you need to output books in multiple formats.
All the options that have been listed do not require any knowledge of HTML/CSS, but I would recommend reading the manuals for them before using them. In the case of Sigil, Calibre & Jutoh these are available in epub format. |
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2015
Device: none
|
Thank you, your Wizardship and Zealot MikiTee. I'm so happy I blundered into this forum. The whereabouts and inner workings of EPUB file converters appear to be closely guarded secrets - until now. I am in your debt (and may have more dumb questions).
|
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Jan 2015
Device: none
|
Wait. One more thing. I work on a Mac. Does that make any difference?
|
![]() |
![]() |
![]() |
#15 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,632
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
That leaves Jutoh and calibre. We convert about a dozen docx documents (up to 200 A4 pages) a day from DOCX to EPUB using calibre - on Windows and Mac. By and large they originate as simple PDF documents, anything fancy doesn't get converted, they are all public domain documents. We've looked at Jutoh a couple of times but we've not found any compelling reason to buy it. BR |
|
![]() |
![]() |
![]() |
Tags |
error codes, sigil |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Suggestion] Sigil validator should check missing type="text/css" attribute | quiris | Sigil | 13 | 01-21-2018 02:00 PM |
Sigil won't save changes to id attribute in h1 tag | TrevN | Sigil | 3 | 09-12-2012 09:41 PM |
Sigil Error: QtWebKitd4.dll is missing | morp | Sigil | 9 | 09-01-2012 12:38 PM |
Missing covers, missing content. Getting worse with each sync. | Mememememe | Kobo Reader | 7 | 06-16-2010 09:02 AM |
Attribute error? | jusmee | Calibre | 2 | 12-15-2009 08:22 PM |