View Full Version : Multiple Authors in toc.ncx ?


Hatgirl
07-17-2011, 07:11 PM
I am working on an ebook by multiple authors. I know how I should add them to the opf file (http://blog.threepress.org/2009/11/27/practical-epub-metadata-authorship/), but what's the protocol for adding them to the ncx file?

Is it:

<docAuthor>
<text>Jane Doe</text>
</docAuthor>
<docAuthor>
<text>John Smith</text>
</docAuthor>


or

<docAuthor>
<text>Jane Doe</text>
<text>John Smith</text>
</docAuthor>


or something else entirely? :thanks:

wannabee
07-18-2011, 12:18 AM
I haven't been around too long, and someone might correct me here, but I don't think you need authors in the ncx file. Just in the metadata section of the opf.

Adjust
07-18-2011, 01:42 AM
I use this in the OPF metadata either this way

<dc:creator>Author Name1; Author Name 2</dc:creator>
Or
<dc:creator>Author Name1</dc:creator>
<dc:creator>Author Name2</dc:creator>

charleski
07-18-2011, 07:47 AM
I haven't been around too long, and someone might correct me here, but I don't think you need authors in the ncx file. Just in the metadata section of the opf.

Yep, absolutely right. The ncx file only contains information pertaining to navigating the book structure. You shouldn't put any metadata there.

Hatgirl
07-18-2011, 08:51 AM
<docauthor> isn't exactly metadata, it's an element of an ncx file. Look here:

NCX specification as used in EPUB idpf specification document (http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1)

Wiki description of ncx elements, includes <docauthor> (http://en.wikipedia.org/wiki/EPUB#Open_Packaging_Format_2.0.1)

Anyway, I've found my answer here (http://www.niso.org/workrooms/daisy/Z39-86-2005.html#NCX). It seems the answer is


<docAuthor>
<text>Jane Doe</text>
</docAuthor>
<docAuthor>
<text>John Smith</text>
</docAuthor>


Of course, whether the current range of reader use it is another question alltogether :D

DaleDe
07-18-2011, 02:17 PM
<docauthor> isn't exactly metadata, it's an element of an ncx file. Look here:

NCX specification as used in EPUB idpf specification document (http://idpf.org/epub/20/spec/OPF_2.0.1_draft.htm#Section2.4.1)

Wiki description of ncx elements, includes <docauthor> (http://en.wikipedia.org/wiki/EPUB#Open_Packaging_Format_2.0.1)

Anyway, I've found my answer here (http://www.niso.org/workrooms/daisy/Z39-86-2005.html#NCX). It seems the answer is


<docAuthor>
<text>Jane Doe</text>
</docAuthor>
<docAuthor>
<text>John Smith</text>
</docAuthor>


Of course, whether the current range of reader use it is another question alltogether :D

ePub uses the DTbook specification but only recognizes some of the elements. It does not use the docAuthor from this file.

charleski
07-18-2011, 03:26 PM
<docauthor> isn't exactly metadata, it's an element of an ncx file. Look here:


The metatdata components of ncx are just vestigial elements of a previous standard that's been superseded and are only allowed for reasons of backwards-compatibility. If you put any metadata there it needs to be exactly the same as that specified in the opf, so it's redundant.

Steven_C
07-25-2012, 11:08 AM
Hey, guys and gals. I wasn't too sure if it's kosher or not to revitalize threads this old, but I felt that this pertains to what I want to ask.

I'm working on a book conversion from Word to ePub for a client and the book is a collection of essays that were compiled and edited by two primary editors, but written by many different authors.

While someone is reading this e-book, would it be possible to alternate the author and the title? As an example: the first essay is entitled "Why Live in the "Real" World". When someone is reading this essay, I would like that to take the place of the full text title which is at the top of the right hand page and I would like that particular author's name to take the place of "Calvin College Press".

I'm assuming this is not possible, because I've read through the "Publications 3.0" doc by the IDPF and didn't find anything about this, but I figured you guys would know if anyone would.

Thanks for the help and I hope my question made sense.

DaleDe
07-25-2012, 11:27 AM
Hey, guys and gals. I wasn't too sure if it's kosher or not to revitalize threads this old, but I felt that this pertains to what I want to ask.

I'm working on a book conversion from Word to ePub for a client and the book is a collection of essays that were compiled and edited by two primary editors, but written by many different authors.

While someone is reading this e-book, would it be possible to alternate the author and the title? As an example: the first essay is entitled "Why Live in the "Real" World". When someone is reading this essay, I would like that to take the place of the full text title which is at the top of the right hand page and I would like that particular author's name to take the place of "Calvin College Press".

I'm assuming this is not possible, because I've read through the "Publications 3.0" doc by the IDPF and didn't find anything about this, but I figured you guys would know if anyone would.

Thanks for the help and I hope my question made sense.

This would be a ePub header. Headers and footers are specified in the ePub standard but not supported by most eBook readers. You can read about Headers and footers in our wiki.

Dale

Steven_C
07-25-2012, 11:53 AM
Thanks.