Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-25-2021, 01:15 PM   #1576
motherat
Enthusiast
motherat began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2020
Device: Onyx Boox Poke2
Greetings,

thank you, everyone who's (been) involved, for this excellent plugin. :-)

I have a (quick?) question concerning the two available options for metadata: "Update metadata" does what it says and updates various relevant values, but it also replaces all dc:subject entries with my own custom tags. Now, "Remove non-dc-metadata" is, as I understand it, meant to remove a bunch of extra metadata and strip the whole thing down to a clean and somewhat bare-bones opf instead. Shouldn't it then also remove custom tags?
motherat is offline   Reply With Quote
Old 09-25-2021, 07:04 PM   #1577
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 17,527
Karma: 20473555
Join Date: Mar 2012
Location: Sydney Australia
Device: none
In calibre the 'tags' column maps to dc:subjects, the 'comments' maps to dc:description etc.
BetterRed is offline   Reply With Quote
Old 09-26-2021, 06:45 AM   #1578
motherat
Enthusiast
motherat began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2020
Device: Onyx Boox Poke2
Quote:
Originally Posted by BetterRed View Post
In calibre the 'tags' column maps to dc:subjects, the 'comments' maps to dc:description etc.
Yes. That's not what I'm asking, exactly, though I suppose there's no real way to circumvent what I've described above without putting one's own tags into a custom column.

One more question:

After having removed non-dc metadata with the plugin, opfs look as expected inside Calibre. However, when I open the opf of a modified and freshly exported epub with an external text editor, I'm still seeing a whole bunch of Calibre-specific metadata. For example, there's meta name="calibre:title_sort", meta name="calibre:user_categories", meta name="calibre:user_metadata:xyz", etc.

Is this working as intended? Or am I doing something wrong, maybe? ("Update metadata" is unchecked.)

Edit: To answer my own question, I think I found the culprit. In Calibre's "Saving books to disk" options, there's a checkbox for updating metadata on export. Once I unchecked this, opfs started looking quite a bit cleaner.

Last edited by motherat; 09-26-2021 at 11:59 AM.
motherat is offline   Reply With Quote
Old 09-26-2021, 06:47 PM   #1579
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 17,527
Karma: 20473555
Join Date: Mar 2012
Location: Sydney Australia
Device: none
FWIW: I have a #admin_tags/Admin Tags tag-like custom column.

I'm an OCD minimalist, so after running Modify ePub I strip the the subjects, description and most identifiers from the ePub opf either 'by hand' or with Sigil's Metadata Edit tool.

BR
BetterRed is offline   Reply With Quote
Old 09-27-2021, 05:18 PM   #1580
motherat
Enthusiast
motherat began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Dec 2020
Device: Onyx Boox Poke2
Quote:
Originally Posted by BetterRed View Post
FWIW: I have a #admin_tags/Admin Tags tag-like custom column.

I'm an OCD minimalist, so after running Modify ePub I strip the the subjects, description and most identifiers from the ePub opf either 'by hand' or with Sigil's Metadata Edit tool.

BR
Thank you for the advice; using a custom column for tags does indeed seem to be the cleanest option here. Like you, I'd prefer to also leave out the description and some other metadata, but I'm not fussed enough to do it by hand -- yet.

Small observation: Apparently, the custom column cannot simply be named "Tags", as that heading's already used by the default column. But using Cyrillic letters as a replacement works and doesn't seem to bother Calibre. I've named my column "Тags", with a Cyrillic Т, and so far, nothing's exploded.
motherat is offline   Reply With Quote
Old 10-02-2021, 02:31 PM   #1581
silatiw
Junior Member
silatiw began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2021
Location: Poland
Device: PocketBook Touch 622
KiwiDude, I started using your plug. Works very well.
I wanted to translate Modify ePub into my native language. There is a fr.po file (empty BTW) in the / translations / directory and I used it because default.po is missing. However, Modify ePub doesn't use my .mo file. I did it on Poedit.
When I translated the other plugins everything was fine.
silatiw is offline   Reply With Quote
Old 10-02-2021, 10:30 PM   #1582
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 22,591
Karma: 40193827
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by silatiw View Post
KiwiDude, I started using your plug. Works very well.
I wanted to translate Modify ePub into my native language. There is a fr.po file (empty BTW) in the / translations / directory and I used it because default.po is missing. However, Modify ePub doesn't use my .mo file. I did it on Poedit.
When I translated the other plugins everything was fine.
Looking at the plugin code, the translation work has only been partly done. Not all displayed strings are translatable. And, the plugin does not actually load the translations. Which is why what you have done is not working.
davidfor is offline   Reply With Quote
Old 10-03-2021, 08:45 AM   #1583
silatiw
Junior Member
silatiw began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Oct 2021
Location: Poland
Device: PocketBook Touch 622
Thank you for the information. I thought that if there is a folder / translations / and there is a French .po and .mo file in it, I would be able to translate the plugin into my language without any problems.
silatiw is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Open With kiwidude Plugins 383 10-07-2021 09:05 AM
[GUI Plugin] Quality Check kiwidude Plugins 1093 09-27-2021 11:19 AM
[GUI Plugin] Manage Series kiwidude Plugins 156 09-30-2020 11:17 AM
Modify ePub plugin dev thread kiwidude Development 346 09-02-2013 05:14 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 06:54 AM.


MobileRead.com is a privately owned, operated and funded community.