View Full Version : ePUBCHECKER errors


zenny
06-04-2011, 08:22 PM
I have three volumes, the second two are OK, the first one has this particualar error twice: 'AUTHOR': fragment identifier is not defined

1) /tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_028.html(23) : 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html'

2)/toc.ncx(13): 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html'

How and where do I have to define the identifier? What does the identifier look like and what should it be?

Adjust
06-04-2011, 08:30 PM
TOC line 13
and line 23 of the other file.
Can you post the code so we can see

zenny
06-04-2011, 11:44 PM
TOC line 13
and line 23 of the other file.
Can you post the code so we can see

The code of the *.EPUB file? What software do I have to use to extract the code from the *.EPUB type of a file?

There is a file in the folder in which I was working that's named "toc-mbp_toc_intermediary.xml". I'm not sure if it ended up being used in the creation of the EPUB file, but here's its content:


<?xml version="1.0" encoding="UTF-8"?>
-<toc> <item title="zenny.com presents" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_0"/><item title="Copyright" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_1"/><item title="What They Say About The Book" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_2"/><item title="Dedication" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_3"/><item title="NOTE TO THE READER" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_4"/><item title="INTRODUCTION TO THE NEW ENGLISH EDITION" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_5"/><item title="INTRODUCTION" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_6"/><item title="1 THE GOOD SOLDIER ŠVEJK ACTS TO INTERVENE IN THE WORLD WAR" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_7"/><item title="2 THE GOOD SOLDIER ŠVEJK AT POLICE HEADQUARTERS" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_8"/><item title="3 ŠVEJK BEFORE THE COURT PHYSICIANS" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_9"/><item title="4 THEY THREW ŠVEJK OUT OF THE MADHOUSE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_A"/><item title="5 ŠVEJK AT THE DISTRICT POLICE STATION IN SALMOVA STREET" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_B"/><item title="6 ŠVEJK AT HOME AGAIN, HAVING BROKEN THROUGH THE VICIOUS CIRCLE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_C"/><item title="7 ŠVEJK GOES IN THE MILITARY" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_D"/><item title="8 ŠVEJK AS A MALINGERER" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_E"/><item title="9 ŠVEJK IN THE GARRISON PRISON" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_F"/><item title="10 ŠVEJK AS MILITARY SERVANT TO THE FIELD CHAPLAIN" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_10"/><item title="11 ŠVEJK RIDES WITH THE FIELD CHAPLAIN TO SERVE A FIELD MASS" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_11"/><item title="12 A RELIGIOUS DEBATE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_12"/><item title="13 ŠVEJK GOES TO PROVIDE THE LAST RITES" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_13"/><item title="14 ŠVEJK AS A MILITARY SERVANT TO SENIOR LIEUTENANT LUKÁŠ" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_14"/><item title="15 CATASTROPHE" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_15"/><item title="AFTERWORD TO THE FIRST VOLUME: “IN THE REAR”" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_16"/><item title="About the Author" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_17"/><item title="Endnotes " href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_18"/> </toc>

Toxaris
06-05-2011, 11:05 AM
With what program did you create this? It looks awful!
Try to avoid spaces in filenames when you can. Further more, there are no relative links in there, but actual links. That is bound to give problems.

st_albert
06-05-2011, 04:14 PM
The code of the *.EPUB file? What software do I have to use to extract the code from the *.EPUB type of a file?

There is a file in the folder in which I was working that's named "toc-mbp_toc_intermediary.xml". I'm not sure if it ended up being used in the creation of the EPUB file, but here's its content:


<?xml version="1.0" encoding="UTF-8"?>
-<toc> <item title="zenny.com presents" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_0"/><item title="Copyright" href="C%3A%5CUsers%5CZenny%5CDocuments%5CMy%20Publicatio ns%5CThe%20Good%20Soldier%20Svejk%20-%20Book%20One_E830EB2D%5CBookOne.html#mbp_toc_1"/><item title="What They Say About The Book" href="C
... <snip> ...
</toc>

That looks like something that Mobipocket Creator would produce.

As for opening the epub, it is just a zip file with the .epub extension. Open it with your usual zip archive program. You will have to be careful when you re-pack it though.

Once you have unzipped it, look for the files referred to in the error message and see what's there.

JSWolf
06-05-2011, 04:21 PM
I have three volumes, the second two are OK, the first one has this particualar error twice: 'AUTHOR': fragment identifier is not defined

1) /tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_028.html(23) : 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html'

2)/toc.ncx(13): 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html'

How and where do I have to define the identifier? What does the identifier look like and what should it be?

Before we can actually read your sample code, please redo it with small filenames with no spaces so it's actually readable. As it is now, it just looks like a mess.

zenny
06-05-2011, 09:14 PM
With what program did you create this? It looks awful!
Try to avoid spaces in filenames when you can. Further more, there are no relative links in there, but actual links. That is bound to give problems.

I opened the XML file in Microsoft WordPad. But spaces replaced by "%20" are really not the culprit according to the error messages,as far as I can see, are they?

Adjust
06-05-2011, 10:48 PM
Show us the contents of your "Content.opf" file

JSWolf
06-05-2011, 10:55 PM
Show us the contents of your "Content.opf" file

Please no. It's going to be a mess. Let him redo this with short filenames that have no spaces first.

Toxaris
06-06-2011, 02:13 PM
Spaces are not the problem, but it makes it unreadable. However, the local filepaths are not correct. Please make them relative.

Again, what program did you use to make this .... mess?

zenny
06-06-2011, 09:36 PM
Please no. It's going to be a mess. Let him redo this with short filenames that have no spaces first.

OK. I've replaced the escape codes with what they represent. Oddly enough there are spaces between the drive "C", the colon ":"and the backslash "\" which I did not put in. They showed up once I replaced the "%20" with " ".


<?xml version="1.0" encoding="UTF-8"?>
-<toc> <item title="zenny.com presents" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_0"/><item title="Copyright" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_1"/><item title="What They Say About The Book" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_2"/><item title="Dedication" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_3"/><item title="NOTE TO THE READER" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_4"/><item title="INTRODUCTION TO THE NEW ENGLISH EDITION" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_5"/><item title="INTRODUCTION" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_6"/><item title="1 THE GOOD SOLDIER ŠVEJK ACTS TO INTERVENE IN THE WORLD WAR" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_7"/><item title="2 THE GOOD SOLDIER ŠVEJK AT POLICE HEADQUARTERS" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_8"/><item title="3 ŠVEJK BEFORE THE COURT PHYSICIANS" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_9"/><item title="4 THEY THREW ŠVEJK OUT OF THE MADHOUSE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_A"/><item title="5 ŠVEJK AT THE DISTRICT POLICE STATION IN SALMOVA STREET" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_B"/><item title="6 ŠVEJK AT HOME AGAIN, HAVING BROKEN THROUGH THE VICIOUS CIRCLE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_C"/><item title="7 ŠVEJK GOES IN THE MILITARY" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_D"/><item title="8 ŠVEJK AS A MALINGERER" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_E"/><item title="9 ŠVEJK IN THE GARRISON PRISON" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_F"/><item title="10 ŠVEJK AS MILITARY SERVANT TO THE FIELD CHAPLAIN" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_10"/><item title="11 ŠVEJK RIDES WITH THE FIELD CHAPLAIN TO SERVE A FIELD MASS" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_11"/><item title="12 A RELIGIOUS DEBATE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_12"/><item title="13 ŠVEJK GOES TO PROVIDE THE LAST RITES" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_13"/><item title="14 ŠVEJK AS A MILITARY SERVANT TO SENIOR LIEUTENANT LUKÁŠ" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_14"/><item title="15 CATASTROPHE" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_15"/><item title="AFTERWORD TO THE FIRST VOLUME: “IN THE REAR”" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_16"/><item title="About the Author" href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_17"/><item title="Endnotes " href="C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk - Book One_E830EB2D \BookOne.html#mbp_toc_18"/> </toc>

zenny
06-06-2011, 09:57 PM
That looks like something that Mobipocket Creator would produce.

You are right. It was Mobipocket Creator.

As for opening the epub, it is just a zip file with the .epub extension. Open it with your usual zip archive program. You will have to be careful when you re-pack it though.

Thanks for letting me know it's a zip file.

Once you have unzipped it, look for the files referred to in the error message and see what's there.

I didn't have to unzip it though because the Mobipocket Creator did that behind the scenes when I double-clicked on it. It showed the book HTML file and a content file without an extension. I presume it is the XML TOC file the contents of which I posted here.

zenny
06-06-2011, 10:07 PM
Spaces are not the problem, but it makes it unreadable.
Thank you for confirming my suspicion.:)

However, the local filepaths are not correct. Please make them relative.
The local paths are the paths to the files on my machine which Mobipocket Creator requested and then processed.

Again, what program did you use to make this .... mess?

If by the mess you mean the escape codes, those appeared when I opened the XML file in Word Pad.

zenny
06-06-2011, 10:20 PM
I might have identified the problem by looking at the Metadata screen in Mobipocket Creator and comparing it with the same screens for the subsequent two volumes of the book which passed the test. I have no idea how the error message would lead me there, but, here it is. Notice that the author's last name in the metadata for Book One contains an "s" with a diacritical mark, but not so in metadata for the remaining two volumes. The diacritical mark is also in the title of all three volumes and didn't hurt anything, but, is it just a coincidence that the 'AUTHOR': fragment identifier is not defined ..." and the "Author" in the metadata for the book with the problem differs from the other two instances in that the name of the author contains the ever-problematic FOREIGN language character?

METADATA
eBook Title:The Good Soldier Švejk - Book One
Author: Hašek, Jaroslav

METADATA
eBook Title:The Good Soldier Švejk - Book Two
Author: Hasek, Jaroslav

METADATA
eBook Title:The Good Soldier Švejk - Book(s) Three & Four
Author: Hasek, Jaroslav

Unfortunately, I don't have access to the file 'fateful-adventures-of-the-good-soldier-svejk-book-one.epub/tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_028.html' in which the referenced error occurred. It is/was on the server of the epubcheck on-line gizmo at ThreePress Consulting.

JSWolf
06-06-2011, 10:22 PM
So try changing the name of the author to match the others and try again.

Adjust
06-07-2011, 03:46 AM
Show us the contents of your "Content.opf" file

This is where your meta data lives.
But if your accessing it by other means then...

As the others have suggested change it to match the other books. I suspect it doesn't like that character

zenny
06-07-2011, 07:20 AM
So try changing the name of the author to match the others and try again.

I will, as it seems to be a reasonable thing to do. Yet, I was hoping to gain an understanding of how to decipher the error messages and learn how to fix the problem had I not stumbled upon the metadata discrepancy. :chinscratch:

st_albert
06-07-2011, 03:42 PM
You are right. It was Mobipocket Creator.



I'm certainly no expert on Mobipocket Creator, but I believe the file whose content you posted is an xml file (not xhtml) which is used in an intermediate stage by MPC when it creates the TOC in the mobipocket book. That's why it has all those strange links, with absolute paths (e.g. "C : \Users \Zenny \Documents \My Publ ications \The Good Soldier Svejk..." which are not actually put into the mobi.

So the contents of that file are probably irrelevant in terms of trying to diagnose errors in the epub. It was never in the epub in the first place. Use winzip or something to expand the epub, then see what is in there.

JSWolf
06-07-2011, 06:23 PM
Give FlightCrew a go as it give more easy to understand error messages.

zenny
06-07-2011, 11:35 PM
Alright. Here are the errors again, followed by the content of the files (opened in Notepad) that contain the errors. I found them in the Content.opf file:

1. ERROR: fateful-adventures-of-the-good-soldier-svejk-book-one.epub/tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_028.html(23) : 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html'
2. ERROR: fateful-adventures-of-the-good-soldier-svejk-book-one.epub/toc.ncx(13): 'AUTHOR': fragment identifier is not defined in 'tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fi xed.fc.tidied.stylehacked.xfixed_split_000.html'

File ... split028.html(23):

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 7 December 2008), see www.w3.org"/>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"/>
<title>The Fateful Adventures of the Good Soldier Švejk, Book
One</title>
<meta name="GENERATOR" content="OpenOffice.org 3.0 (Unix)"/>
<meta name="AUTHOR" content="Jaroslav Hasek"/>
<meta name="CREATED" content="20110227;16150000"/>
<meta name="CHANGED" content="20110529;10302400"/>
<meta name="Info_1" content=""/>
<meta name="Info_2" content=""/>
<meta name="Info_3" content=""/>
<meta name="Info_4" content=""/>
<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/><link href="stylesheet.css" type="text/css" rel="stylesheet"/><style type="text/css">
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }</style></head>
<body dir="ltr" class="calibre">
<p class="c2" id="calibre_pb_28"><br class="calibre3"/>
<br class="calibre3"/></p>
<p class="c"><br class="calibre3"/>
<br class="calibre3"/></p>
<p class="c17"><span class="c7"><a href="tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_000.html#AUT HOR">About the Author</a></span></p>
<p class="western">Jaroslav Hašek (b. April 30, 1883, Prague --
d. January 3, 1923, Lipnice, Czechoslovakia.) Czech writer best
known for <i class="calibre2">The Good Soldier Švejk</i>, considered one of the
greatest masterpieces of satirical writing.</p>
<p class="western">Hašek worked in Prague as a bank clerk,
although at 17 he was already writing satirical articles for Czech
newspapers. He soon abandoned business for literary career, and
before World War I he published a volume of poetry, <i class="calibre2">Májové
výkriky</i>, (1903; “Shouts in May”) and wrote 16 volumes of short
stories, of which <i class="calibre2">Dobrý voják Švejk a jiné podivné historky</i>
(1912; “Good Soldier Švejk and Other Strange Stories”) is among the
best known. From 1904-07 he was an editor of anarchist
publications. Drafted into the Austrio-Hungarian Army, Hašek was
captured on the Russian front during World War I and was made a
prisoner of war. While in Russia he became a member of the Czech
liberation army but later joined the Bolsheviks, for whom he wrote
Communist propaganda. Upon returning to Prague, the capital of the
newly created country of Czechoslovakia, he devoted himself to
writing <i class="calibre2">Osudy dobrého vojáka Švejka za svetové války</i>
(1920-23; “The Good Soldier Schweik”, 1930). It was intended to be
a six-volume work, but only four were completed by the time of his
death.</p>
<p class="c30">Encyclopedia Britannica</p>
<p class="western">*<br class="calibre3"/></p>
<p class="c1">One of Hašek’s biographers, Emmanuel Frynta,
writes:</p>
<p class="c1">“<i class="calibre2">He was one of that generation which fully fought
with the problems of the modern world. He was one of the artists at
the start of the century who so splendidly cast light on the
question of a live, valid, meaningful art worthy of the time. He
was a curious, not easily understood person, too mobile and opaque
for portrayal. As a creator, (he was) seemingly careless, natural,
(and) spontaneous, . . . but, in reality (he was) sharply
discerning and refined in his specific type of nonliterariness . .
. (he) was working farsightedly in the field of language and style,
with something that was to become the shape of (the) speech of the
century.”</i></p>
<p class="western">Hašek’s life was much wilder and more
interesting than one can glean from the above excerpts. To learn
more about the writer of the vastly popular <i class="calibre2">Good Soldier
Švejk</i>, read the <i class="calibre2">Bad Bohemian: The life of Jaroslav Hašek</i>
by Cecil Parrott (Bodley Head, London, 1978).</p>
</body>
</html>

File ... split_000.html:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 7 December 2008), see www.w3.org"/>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"/>
<title>The Fateful Adventures of the Good Soldier Švejk, Book
One</title>
<meta name="GENERATOR" content="OpenOffice.org 3.0 (Unix)"/>
<meta name="AUTHOR" content="Jaroslav Hasek"/>
<meta name="CREATED" content="20110227;16150000"/>
<meta name="CHANGED" content="20110529;10302400"/>
<meta name="Info_1" content=""/>
<meta name="Info_2" content=""/>
<meta name="Info_3" content=""/>
<meta name="Info_4" content=""/>
<meta content="http://www.w3.org/1999/xhtml; charset=utf-8" http-equiv="Content-Type"/><link href="stylesheet.css" type="text/css" rel="stylesheet"/><style type="text/css">
@page { margin-bottom: 5.000000pt; margin-top: 5.000000pt; }</style></head>
<body dir="ltr" class="calibre">
<p class="c">What They Say About The Book</p>
<p class="western">“Hašek’s brilliant invention of Švejk, the
card-carrying imbecile, and his remarkable adventures, provided
many hours of uproarious laughter . . . It is very good to see that
classic Eastern European literature is making its way into the
culture. Švejk lives!”</p>
<p class="c1">- <b class="calibre1">Larry Heinemann</b>, National Book Award winner,
fiction, for <i class="calibre2">Paco’s Story</i> (Farar, Straus &amp; Giroux) in
1986; also the author of <i class="calibre2">Close Quarters</i>, FS&amp;G, 1977, and
<i class="calibre2">Cooler by the Lake</i>, FS&amp;G, 1992.</p>
<p class="western">“Justice is a term rarely found in ‘literary’
discussions, but Mike Joyce and Zenny Sadlon have sought and
delivered exactly that to Jaroslav Hašek and the rest of us. “This
translation of <i class="calibre2">The Good Soldier Švejk</i> comes closer to
Hašek’s original absurdist protests of war, class systems, and
government than the previous English translation tried to convey.
Unable to read Czech, I can only put their translation up next to
its predecessor and cast my vote.</p>
<p class="western">“In their effort, Joyce and Sadlon remind us
that ‘justice’ in any arena - especially literary - has to be
fought for. I believe those who read this book will join the
fight.”</p>
<p class="c1">- <b class="calibre1">Zak Mucha</b>, author of <i class="calibre2">The Beggars’
Shore</i>, Red 71 Press, 1999.</p>
<p class="western">“Jaroslav Hašek’s <i class="calibre2">The Good Soldier
Švejk</i> is one of the world’s great novels, and this is a
brilliant new translation.</p>
<p class="western">“Captured here for the first time in the
English language is the zany, colloquial audacity of Hašek’s wild
genius — <i class="calibre2">Švejk</i> is no dainty classic meant to fade quietly
into obscurity on the dusty shelves of academia, but a bellowing
barroom brawl of a book that will forever have everyday people
doubled-up with the painful laughter of recognition.</p>
<p class="western">“<i class="calibre2">Catch 22</i>, <i class="calibre2">Slaughterhouse Five</i>
and countless other cherished works owe a great deal to
<i class="calibre2">Švejk</i>, and the English-speaking world owes a great deal to
Zenny Sadlon and Mike Joyce.”</p>
<p class="c1">- <b class="calibre1">Don De Grazia</b>, author of <i class="calibre2">American
Skin</i>, published in the U.K. by Jonathan Cape as a hard cover,
by Vintage as a paperback, and released in the U.S. by Scribner in
April 2000, teaches fiction writing at Columbia College.</p>
<p class="western">“Just remember: Švejk is actually just a
European Forrest Gump. Because Forrest was the same thing. He just
kept getting into trouble and managing come out O.K. And it’s the
same thing Švejk did. I mean, he got into some situations that I
thought ‘O.K., that’s it. The book is gonna end soon now’, and
somehow he just came out smelling like a rose . . . “This man is
not supposed to make it. And he saw people dying in the hospital,
and he was begging for the treatment that they were dying from. And
he managed to survive that, not only survive it but get out of it.
And everything that happened to him he just managed to overcome it.
You’re rooting for him, because you really want to make sure that
he gets out O.K.”</p>
<p class="c1">- <b class="calibre1">Ruth Cooper</b>, a retired African-American
microbiology technician, avid book reader and a volunteer
critic.</p>
</body>
</html>

Adjust
06-08-2011, 02:39 AM
<p class="c17"><span class="c7"><a href="tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy. ch.fixed.fc.tidied.stylehacked.xfixed_split_000.ht ml#AUTHOR">About the Author</a></span></p>
You have a space (highlighted bold) here

zenny
06-08-2011, 08:22 PM
<p class="c17"><span class="c7"><a href="tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy. ch.fixed.fc.tidied.stylehacked.xfixed_split_000.ht ml#AUTHOR">About the Author</a></span></p>
You have a space (highlighted bold) here

Where is "here"? There's nothing bolded in the code you posted. I presume you mean the space in the "ht ml"? Ah, now I see the bold code while composing the reply, but it didn't alter the appearance of the posted code.

Adjust
06-09-2011, 02:24 AM
Where is "here"? There's nothing bolded in the code you posted. I presume you mean the space in the "ht ml"? Ah, now I see the bold code while composing the reply, but it didn't alter the appearance of the posted code.

I can see it...

Listen to stop all this back and forth.
Attach the ePub to your post (via the manage attachements) so we can strip it apart and tell you properly with out getting a headache trying to read great big walls of text :p

eping
06-09-2011, 11:06 PM
Is there a <a id="AUTHOR">
corresponding to the link <a href="split_000.html#AUTHOR">?
I am afraid epubcheck found a futile link reference.

Seems you need insert <a id="AUTHOR"/> or
<a id="AUTHOR"></a> somewhere in split_000.html

zenny
06-11-2011, 08:10 PM
Is there a <a id="AUTHOR">
corresponding to the link <a href="split_000.html#AUTHOR">?
No. There isn't.
The only instance of "AUTHOR" in the code is found in the meta tag <meta name="AUTHOR" content="Jaroslav Hasek"/>
I am afraid epubcheck found a futile link reference.

The same error is reported by two files. The first one, 'split_028.html' is part of the 'content.opf'.
It contains this reference to a book mark in the target file, the 'split_000.html':


<a href="tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_000.html#AUT HOR">About the Author</a>




The second file reporting the error, the 'toc.ncx' is pointing, erroneously, to the same target file, 'split_000.html':


<navLabel><text>About the Author</text></navLabel><content src="tmp_45edabc97a4f32ec211e103c0d3eefa0_S4Rjiy.ch.fix ed.fc.tidied.stylehacked.xfixed_split_000.html#AUT HOR"/></navPoint><navPoint id="da1a4f65-ed62-4f11-894d-0fea8ba67465" playOrder="20">


The "About the Author" book mark is not and is not supposed to be in the 'split_000.html' file, but in the 'split_007.html' file. All the "Contents" links to internal bookmarks are in the 'split_007.html', except for the "About the Author" link which the 'toc.ncx' claims is in 'split_28.html'. What is referenced in the 'toc.ncx' file is actually the same "About the Author" book mark, but in the wrong target file.

The culprit is the Smashwords' "improved" Meatgrinder that on May 29th automatically miscreated it from either the originally submitted *.doc file in which all the "Contents" page links work or from the previously published EPUB version on file.

What is worse, Smashwords republished the next two volumes of my book too. Both of them have passed the epubchecker test, but I just found out that the Meatgrinder mangled the Table of Contents of the third volume in which the links worked in the version I published. I'll have to report the problem to Smashwords and find how I can gain control of what is published or make them fix the Meatgrinder.

Thanks all of you for your patience and willingness to help me fix the problem and let me learn by using your input.


Seems you need insert <a id="AUTHOR"/> or
<a id="AUTHOR"></a> somewhere in split_000.html

Toxaris
06-12-2011, 10:02 AM
I would advise not use Smashword Meatgrinder but learn to do it yourself. The program really produces ugly unreadable code. That makes it much harder to bughunt.

JSWolf
06-12-2011, 11:56 AM
I would advise not use Smashword Meatgrinder but learn to do it yourself. The program really produces ugly unreadable code. That makes it much harder to bughunt.

But how do you publish on Smashwords without being meatground?> You don't. That's why I dislike buying from Smashwords. I hate their meatgrinder.

Toxaris
06-12-2011, 04:27 PM
They should at least support uploading perfectly good ePubs...

pholy
06-12-2011, 07:08 PM
They should at least support uploading perfectly good ePubs...

Yeah, they should....



But they don't!


Authors need to flood Mark Coker requesting this feature.

zenny
06-12-2011, 08:33 PM
They should at least support uploading perfectly good ePubs...

I agree.

zenny
06-12-2011, 08:39 PM
But how do you publish on Smashwords without being meatground?> You don't. That's why I dislike buying from Smashwords. I hate their meatgrinder.

I've already published electronic versions (EVY, PDF, Kindle) and the paperbacks of the three volume book The Fateful Adventures of the Good Soldier Svejk During the World War (http://zenny.com/), but tried Smashwords as another channel. So far it's been a lot of work and frustration.

JSWolf
06-12-2011, 08:41 PM
They should at least support uploading perfectly good ePubs...

I 100% agree. I also feel that if they are going to meatgrind, use the ePub as the source. It will make a much better set of other formats then starting with a Word document. No matter how you follow the guide, you'll till get a mess.

But what I think Smashwords should do is allow all the formats to be uploaded but make ePub a mandatory upload. That way if any formats are not uploaded, they get made from the ePub. Simple really and a lot nicer solution.

JSWolf
06-12-2011, 08:44 PM
Yeah, they should....



But they don't!


Authors need to flood Mark Coker requesting this feature.

Users also need to flood Mark as well. I'm tired of downloading an eBook and finding it's not right and then having to wade through the muck that a Word conversion made just to fix things.

JSWolf
06-12-2011, 08:45 PM
I've already published electronic versions (EVY, PDF, Kindle) and the paperbacks of the three volume book The Fateful Adventures of the Good Soldier Svejk During the World War (http://zenny.com/), but tried Smashwords as another channel. So far it's been a lot of work and frustration.

So lets start a flood to Mark to get him to fix SW.

zenny
06-12-2011, 08:48 PM
I would advise not use Smashword Meatgrinder but learn to do it yourself. The program really produces ugly unreadable code. That makes it much harder to bughunt.

I am not and don't want to become a programmer. That's why I gave up publishing on Kindle at the time my book would had been one of the first 2,000 book available. It was just too much work with very little support. Everything gets always more complicated when you have foreign characters in the text, etc. So, I gave up, as I didn't have the time, still working on the translation of the remaining two volumes. Finally, in December 2010 I looked again at what Amazon had in the way of support. It was much better and I spent about two weeks getting it all right and published the work.

With Smashwords earlier this year I just wanted to see if I could publish my book via another channel to reach more readers.

Toxaris
06-13-2011, 09:55 AM
Creating an ePub is not that hard, especially is you use Sigil. From what I read and see, Smashword generated a lot of garbage code and let you solve it yourself. Reader will not be that happy if it doesn't look good.

If you want reasonably good code, convert the word document with Atlantis Word Processor. You can test it out before you want to buy.

However, it is your choice.

JSWolf
06-13-2011, 11:01 AM
Creating an ePub is not that hard, especially is you use Sigil. From what I read and see, Smashword generated a lot of garbage code and let you solve it yourself. Reader will not be that happy if it doesn't look good.

If you want reasonably good code, convert the word document with Atlantis Word Processor. You can test it out before you want to buy.

However, it is your choice.

There is also Open Office with the writer2xhtml plugin to make ePub.

http://writer2latex.sourceforge.net/

zenny
06-16-2011, 10:34 PM
I 100% agree. I also feel that if they are going to meatgrind, use the ePub as the source. It will make a much better set of other formats then starting with a Word document. No matter how you follow the guide, you'll till get a mess.

Did I mention I hate MS Word and don't use it unless forced to?

But what I think Smashwords should do is allow all the formats to be uploaded but make ePub a mandatory upload. That way if any formats are not uploaded, they get made from the ePub. Simple really and a lot nicer solution.

Perhaps they figure that would be too draining on their resources right now. They have plenty people with simple formatting, no foreign characters, etc. books published by people who don't have to put up even one red penny. I still haven't gotten a response to my problem report (although they fixed the problem of feedback going into their trash bin earlier this year). I'm beginning to think that the bad formatting is jeopardizing the reputation of my product more than it is helping by exposing it to an unknown market. It's probably time to just yank The Fateful Adventures of the Good Soldier Svejk During the World War (http://zenny.com) off the Smashwords site.

zenny
06-16-2011, 10:35 PM
Users also need to flood Mark as well. I'm tired of downloading an eBook and finding it's not right and then having to wade through the muck that a Word conversion made just to fix things.

Microsoft Word is an abomination and should never have seen the light of day.:eek:

zenny
06-16-2011, 10:39 PM
Creating an ePub is not that hard, especially is you use Sigil. From what I read and see, Smashword generated a lot of garbage code and let you solve it yourself. Reader will not be that happy if it doesn't look good.

If you want reasonably good code, convert the word document with Atlantis Word Processor. You can test it out before you want to buy.

However, it is your choice.

Thanks for the suggestions. I already have what seems to be a perfect ePub, but Smashwords insists on meatgrinding out their own. There are other silly idiosyncracies in the system. I think I don't want to spend any more of my valuable time on waiting for something to give in. Smashwords might be God-sent to some people who want to see their book published on the Internet. I need to be selling the book, not playing with it. And I've already been selling it. It's just not happening, and apparently won't be, on Smashwords.:cool: