Functional description of the CleanOPF plugin (it can be easily fixed for Python 3, but it is useless for me):
1. At the beginning, it asks ("Insert series elements?") whether we want to add the calibre series in the metadata and (after answer "Yes") adds two lines in the content.opf file:
Code:
<meta content="" name="calibre:series"/>
<meta content="" name="calibre:series_index"/>
2. Checks for ISBN and ASIN identifiers and remembers them.
3. Inserts a new UUID identifier.
4. Removes existing entries from the metadata (leaves others unchanged):
Code:
<dc:identifier.*>
<dc:contributor.*calibre.*>
<dc:type.*>
<dc:rights.*>
<dc:date.*>
<dc:publisher.*>
<dc:genre.*>
<dc:subject.*>
5. Inserts the stored ISBN and ASIN identifiers.
7. If it detects that there are calibre series, it also restores them.
6. Replaces MIME type for fonts:
Code:
ttf --> application/x-font-ttf
otf --> application/vnd.ms-opentype
ttc --> application/x-font-truetype-collection
woff --> application/font-woff
I have no idea which of these features is valuable.
The calibre series can be inserted through the Metadata Editor or even through Clips.
It's possible that it's about generating a new UUID, but there are at least two other plugins that can do this.
Is deleting metadata? But deleting publisher data or rights information seems strange to me.
MIME type for fonts inserted by default by Sigil:
Code:
ttf --> font/ttf
otf --> font/otf
ttc --> font/collection
woff --> font/woff