Ok, i made something like this:
OPF:
Code:
<?xml version="1.0" encoding="utf-8"?>
<package unique-identifier="uid">
<metadata>
<dc-metadata xmlns:dc="http://purl.org/metadata/dublin_core" xmlns:oebpackage="http://openebook.org/namespaces/oeb-package/1.0/">
<dc:identifier id="uid">Dictionary test (es)</dc:identifier>
<dc:Title><h2>Dictionary test (es)</h2></dc:Title>
<dc:language>es</dc:language>
</dc-metadata>
<x-metadata>
<DictionaryInLanguage>es</DictionaryInLanguage>
<DictionaryOutLanguage>es</DictionaryOutLanguage>
</x-metadata>
</metadata>
<!-- list of all the files needed to produce the .prc file -->
<manifest>
<item id="dictionary11" href="slo11.html" media-type="text/x-oeb1-document"/>
</manifest>
<!-- list of the html files in the correct order -->
<spine>
<itemref idref="dictionary11"/>
</spine>
<guide>
<reference type="search" title="Dictionary Search" onclick= "index_search()"/>
</guide>
</package>
slo11.html
Code:
<html xmlns:idx="http://www.mobipocket.com/idx" xmlns:mbp="www.mobipocket.com">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<mbp:frameset>
<idx:entry name="spanish" scriptable="yes" spell="yes">
<a id="12345"></a>
<idx:orth value="uņa"><b>uņa</b>
<idx:infl>
<idx:iform value="uņas" exact="yes" />
</idx:infl>
</idx:orth><br/>
Definition for <b>uņas</b>.
</idx:entry>
<idx:entry name="spanish" scriptable="yes" spell="yes">
<a id="12345"></a>
<idx:orth value="una"><b>una</b>
<idx:infl>
<idx:iform value="unas" exact="yes" />
</idx:infl>
</idx:orth><br/>
Definition for <b>unas</b>.
</idx:entry>
</mbp:frameset>
</body>
</html>
It finds
uņa but not
una.
(tested on some polish book with changed lang's to es and added paragraph with those two - testbook2 - go to "Testowanie słownika" and next page)