View Single Post
Old 02-24-2025, 12:18 PM   #1
msttat
Junior Member
msttat began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2025
Device: android
Importing xhtml metadata when creating epub

Hello,

When I use the calibre editor to convert an xhtml file into a epub, the editor seems to properly interpret some metadata, but not others:

Here is the <head> block of my xhtml file:
<head>
<title>The title of the book</title>
<meta name="author" content="The author of the book" />
<meta name="category" content="category1, category2" />
<link rel="stylesheet" type="text/css" href="mybooks.css"/>
</head>

The editor properly sets the author and the booktitle in the epub 'content.opf' file, imports the 'mybooks.css'.

But I have not figured out how to specify categories that will be interpreted and imported in the epub content.opf as DublinCore (<dc:subject>category1, category2</dc:suject>), allowing me to find them when I import the epub in the main calibre program.

I hope I am not polluting the forum with a question alerady solved, which I was unable to find.

Thank you all for any advice (or telling me such feature is not available in the editor!)
msttat is offline   Reply With Quote