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

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2011, 11:03 PM   #1
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Is <i> and <b> inside metadata possible?

Lets say I'm inserting a Book Blurb into the metadata in the content.OPF file

Code:
<dc:description>This is the Blurb for my book,

It's a really really nice looking blurb, which has some quote and stuff in it, which
I want to make <i>italic</i> and maybe have some <b>Bold</b> in there as well...
</dc:description>
epubcheck throws up an error:

content.opf(15): unknown element "i" from namespace "http://www.idpf.org/2007/opf"

So does anybody know of a way to get the result I'm after???

Thanks
Adjust is offline   Reply With Quote
Old 03-01-2011, 11:56 PM   #2
ATDrake
Wizzard
ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.ATDrake ought to be getting tired of karma fortunes by now.
 
Posts: 7,256
Karma: 20056712
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International & Sony PRS-T1 & BlackBerry PlayBook
In order to get it to pass validation, you'd have to add an html namespace declaration somewhere and write the tags as <html:i>.

I'm not sure it would display in any meaningful manner, and there's always the possibility that a reader app might balk at opening the ePub if it thinks the metadata's wonky.
ATDrake is online now   Reply With Quote
Old 03-02-2011, 05:03 PM   #3
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Thanks, Mate, I'll just leave it out...
Adjust is offline   Reply With Quote
Old 03-02-2011, 11:11 PM   #4
Coop42
Junior Member
Coop42 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Dec 2010
Device: Kobo, iPad, Kindle App, others!
That's the best option.

The metadata is specifically designed to be machine, not human readable. Don't add complexity where it's not useful (and might mess things up)!
Coop42 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 Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 03:10 PM
What is the difference between the main metadata.db and sub-directory metadata.db? iridius Library Management 5 02-23-2011 12:44 PM
What's inside the NookColor........ The Joker Nook Color & Nook Tablet 4 01-07-2011 03:13 AM
DR1000 inside kleykenb iRex 18 09-04-2010 12:49 PM
iPad The iPad from inside Mosherix Apple Devices 0 04-05-2010 06:36 PM


All times are GMT -4. The time now is 03:39 AM.


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