Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 03-01-2011, 10: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, 10: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: 11,517
Karma: 33048258
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International, Sony PRS-T1, BlackBerry PlayBook, Acer Iconia
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 offline   Reply With Quote
Advert
Old 03-02-2011, 04: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, 10: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


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DR1000 inside kleykenb iRex 19 03-10-2018 07:23 PM
[Metadata Download Plugin] Goodreads Metadata **Deprecated** kiwidude Plugins 30 04-23-2011 02:10 PM
What is the difference between the main metadata.db and sub-directory metadata.db? iridius Library Management 5 02-23-2011 11:44 AM
What's inside the NookColor........ The Joker Nook Color & Nook Tablet 4 01-07-2011 02:13 AM
iPad The iPad from inside Mosherix Apple Devices 0 04-05-2010 05:36 PM


All times are GMT -4. The time now is 11:12 PM.


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