|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,009
Karma: 3640080
Join Date: Jan 2017
Location: Poland
Device: Various
|
[Plugin] EditMetaInEPUB3 - Manage legacy meta entries in the EPUB3 metadata
Updated: July 28, 2026
Current Version: 0.0.9 Status: Experimental Plugin type: edit Plugin icon: How it works: This plugin provides a simple editor for legacy EPUB2-style metadata entries stored in an EPUB3 package document as: Code:
<meta name="..." content="..."/> Instead of manually editing the OPF file, this plugin allows you to safely manage these legacy metadata entries through a dedicated table-based interface. This plugin was inspired by a MobileRead discussion about editing legacy EPUB2-style metadata preserved inside EPUB3 package documents. The plugin:
Important: This plugin only edits legacy metadata entries stored as: Code:
<meta name="..." content="..."/> Installation: 1. Select Manage Plugins from the Plugins menu. In the Manage Plugins dialog box, select Use Bundled Python, if it isn't already selected. (If your Sigil version doesn't have a Use Bundled Python option, click one of the Auto buttons to detect the path or Set to manually select the Python interpreter path.) 2. Click Add Plugin and select EditMetaInEPUB3_v0.X.Y.zip. This will install the plugin, which you can then run via Plugins > Edit > EditMetaInEPUB3. Issues: This plugin is intended for advanced users who understand the structure of EPUB metadata. Only legacy meta name/content entries are modified. Existing EPUB3 metadata, Dublin Core elements and meta property entries remain untouched. Please report bugs or suggestions in this thread. OS Requirements: Windows/Linux/OS X. Tested on Windows 10 and 11 with Sigil 2.8.1. It should also work on Linux and macOS. *** Linux users will have to make sure that the PySide6 module is present if it's not already. *** Sigil Requirements: Minimum version of Sigil: 1.0.0 [not tested] Credits/Thanks: KevinH – for encouraging this plugin idea. License/Copying: GNU LGPL Version 2 or Version 3 your choice. Any other license terms are only available directly from the author in writing. The plugin is currently in the Experimental stage, so I’m looking forward to your feedback. If no issues or bug reports come up within the next week or two, I will mark the plugin as Stable. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,009
Karma: 3640080
Join Date: Jan 2017
Location: Poland
Device: Various
|
(Reserved for future use)
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,838
Karma: 7500000
Join Date: Nov 2009
Device: many
|
Added to the Sigil Plugin Index. Thank you!
|
|
|
|
|
|
#4 |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() Posts: 384
Karma: 518
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6 & HD8
|
Installed and tested on MacBook Sigil 2.8.1 and Linux also 2.8.1 AppImage version. Superficial testing only, but the plugin works as defined.
The only thing I don't like is the behaviour on the MacBook when the plugin runner starts up on the desktop where Sigil is open, and then the window where the work is done flips to another desktop. But that's the same for all the edit plugins I've got, so it's not a fault of this new plugin - rather, it's a 'feature' of Mac. One that doesn't encourage me to do serious stuff on the Mac. |
|
|
|
|
|
#5 |
|
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,838
Karma: 7500000
Join Date: Nov 2009
Device: many
|
I never see that on either of my Macs. Was a problem sometimes with the older Tk widget library but not with PySide6 so far.
Are you by chance telling macOS to open new apps on another Desktop/Workspace? Or maybe utilizing the Desktop tiling features that MacOS supports (but I personally hate). Last edited by KevinH; Yesterday at 03:56 PM. |
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,624
Karma: 212299010
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Curious if something like this would help avoid losing the gui widget on some machines:
Code:
my_widget.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint) Code:
my_widget.show() Code:
my_widget.setWindowFlags(QtCore.Qt.Tool) |
|
|
|
|
|
#7 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,009
Karma: 3640080
Join Date: Jan 2017
Location: Poland
Device: Various
|
I tried adding:
Code:
editor.setWindowFlags(QtCore.Qt.Tool) Unfortunately, it introduced an unwanted side effect. If I click on the Sigil main window while the plugin window is open, the plugin window disappears and I have no way to bring it back. Since it is a Qt.Tool window, it doesn't have its own taskbar button, so it becomes effectively inaccessible until the plugin is restarted. With the current implementation, the plugin window has its own taskbar button on Windows, so even if it gets hidden behind Sigil, it can easily be restored. I'll also test the suggested change on macOS, since I understand the behavior there may be different. ----- However, if I use Code:
editor.setWindowFlags(QtCore.Qt.WindowStaysOnTopHint) |
|
|
|
|
|
#8 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 29,624
Karma: 212299010
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Agreed. Neither of those options would be an acceptable solution.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Plugin] ePub3-itizer - epub3 output plugin for Sigil | KevinH | Plugins | 457 | 05-28-2025 06:14 PM |
| [Plugin] Epub2LegacyMetaData - legacy epub2 metadata editor | Doitsu | Plugins | 24 | 07-21-2021 05:59 AM |
| Custom Metadata for Hierarchical type entries deletes existing entries | ChrisMillward | Calibre | 0 | 08-26-2020 06:30 AM |
| Want to better manage titles/meta data | PhoenixDown | Amazon Kindle | 1 | 04-16-2020 03:55 PM |
| Aura HD Ghost meta book entries in collections | booklover6 | Kobo Reader | 4 | 09-19-2014 12:09 PM |