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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 02-21-2011, 02:50 PM   #1
gpp
Junior Member
gpp began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: none
Custom Metadata Field

Hi All,
Is there a [easy] way to create a custom metadata field (one that isn't already in the Basic or Advanced)?
Thank you!
gpp is offline   Reply With Quote
Old 02-21-2011, 04:25 PM   #2
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: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Valloric isn't a big fan of non-standard/proprietary meta-tags. In the new version however, you can edit the ncx and add them yourself.
At the moment you need to do it manually afterwards.
Toxaris is offline   Reply With Quote
 
Advertisement
Old 02-21-2011, 08:24 PM   #3
gpp
Junior Member
gpp began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: none
Thanks for the answer!!

Having problems with some custom meta fields (needed by kobobooks):

<dc:Account Holder ID>Value</dc:Account Holder ID>
<dc:Territorial Rights>Value</dc:Territorial Rights>
<dc:Number of Free Chapters>Value</dc:Number of Free Chapters>
<dc:Publication Date>Value</dc:Publication Date>
<dc:BISAC>Value</dc:BISAC>

Poking around content.opf I figure that's where they go. I place them just after all other fields generated through Sigil (In meta basic and Advanced), namely after subject, authors, etc. The effect: epub won't open (whether calibre viewer, sigil or firefox). When I remove these tags everything works.

What am I doing wrong?

It's my first epub work...

Quote:
Originally Posted by Toxaris View Post
Valloric isn't a big fan of non-standard/proprietary meta-tags. In the new version however, you can edit the ncx and add them yourself.
At the moment you need to do it manually afterwards.
gpp is offline   Reply With Quote
Old 02-21-2011, 10:09 PM   #4
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,229
Karma: 5940081
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by gpp View Post
Thanks for the answer!!

Having problems with some custom meta fields (needed by kobobooks):

<dc:Account Holder ID>Value</dc:Account Holder ID>
<dc:Territorial Rights>Value</dc:Territorial Rights>
<dc:Number of Free Chapters>Value</dc:Number of Free Chapters>
<dc:Publication Date>Value</dc:Publication Date>
<dc:BISAC>Value</dc:BISAC>

Poking around content.opf I figure that's where they go. I place them just after all other fields generated through Sigil (In meta basic and Advanced), namely after subject, authors, etc. The effect: epub won't open (whether calibre viewer, sigil or firefox). When I remove these tags everything works.

What am I doing wrong?

It's my first epub work...
Did you place them before the
Code:
</metadata>
tag?
I take it you replaced Value with the proper 'content'
theducks is online now   Reply With Quote
Old 02-22-2011, 03:32 AM   #5
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: 3,182
Karma: 7180223
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
How did you change/add it? By unzipping and zipping the epub? The epub is a special format zip.
Toxaris is offline   Reply With Quote
Old 02-22-2011, 06:07 AM   #6
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: 6,309
Karma: 4898871
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by gpp View Post
<dc:Account Holder ID>Value</dc:Account Holder ID>
<dc:Territorial Rights>Value</dc:Territorial Rights>
<dc:Number of Free Chapters>Value</dc:Number of Free Chapters>
<dc:Publication Date>Value</dc:Publication Date>
<dc:BISAC>Value</dc:BISAC>
Are these really Dublic Core (dc) tags? Is it allowed to have spaces in tag names? Are you sure it's not something like this?:

<meta name="Territorial Rights" content="Value" />
Jellby is offline   Reply With Quote
Old 02-22-2011, 09:39 AM   #7
gpp
Junior Member
gpp began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: none
Quote:
Originally Posted by Jellby View Post
Are these really Dublic Core (dc) tags? Is it allowed to have spaces in tag names? Are you sure it's not something like this?:

<meta name="Territorial Rights" content="Value" />
Thank you!

Inputting tags this way (before </metadata>): <meta name="Territorial Rights" content="Value" /> allows me to open the epub file and read it. However, the field does not show in the Meta Editor in Sigil. Will it still be read by kobo system?

I take it that it was an issue with spaces in tag names, because all other tags required by kobo, which are a single word, work fine by way of <dc:BISAC>US</dc:BISAC> And these show up later in sigil's Meta Editor.

Thanks again!
gpp 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
metadata field list? aabs Calibre 1 01-02-2011 03:42 AM
'Published' metadata field Suitecake Calibre 1 12-05-2010 12:09 AM
Metadata definition for a user-defined field LARdT Calibre 4 10-27-2010 11:00 AM
Bulk Meta Data Edit Resetting Custom Field toomuchreading Calibre 8 10-22-2010 11:19 PM
metadata language field not after convertlit Wimvv Workshop 3 12-06-2007 05:54 AM


All times are GMT -4. The time now is 09:28 AM.


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