View Single Post
Old 05-10-2023, 11:46 PM   #1
XVR
Junior Member
XVR began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2022
Device: NA
Non-standard metadata tags in OPF file are deleted when saving.

Hi community,

I'm currently woking in Sigil on a bilingual dictionary for Kindle. To define the Input and Output language I have to include a specialized <x-metadata> tag within the <metadata> tag in the content.opf file:

Code:
  <metadata xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:opf="http://www.idpf.org/2007/opf">
	...
	<x-metadata>
		<DictionaryInLanguage>pi</DictionaryInLanguage>
		<DictionaryOutLanguage>en</DictionaryOutLanguage>
		<DefaultLookupIndex>Pali</DefaultLookupIndex>
	</x-metadata>
	...
  </metadata>
When I save the file after including the <x-metadata> information in the *.opf file, Sigil removes it automatically.

Is there a way to keep non-standard metadata tags in the *.opf file?

Thanks in advance for your help 🙏
XVR
XVR is offline   Reply With Quote