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 01-27-2012, 05:04 PM   #31
Matth79
Zealot
Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.Matth79 ought to be getting tired of karma fortunes by now.
 
Posts: 122
Karma: 502620
Join Date: Jan 2012
Device: Kobo Touch
In Sigil, the file already has cover semantics set, but after unchecking and then rechecking, with a very small change ocurring right at the top of the OPF, then the cover change seems to take, even without the tweak, Calibre did show the cover image (a generic placeholder like the one shown in this writeup http://www.howtogeek.com/73979/how-t...-with-calibre/), such as it was - example http://www.gutenberg.org/ebooks/6331 - not the best example, as available covers are rather generic too.
Matth79 is offline   Reply With Quote
Old 02-12-2012, 12:49 PM   #32
wokavan
Junior Member
wokavan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2010
Device: iPhone
Is there any chance that "smarten punctuation" could be added to this plugin's bag of tricks?

Thanks for the fantastic plugin!
wokavan is offline   Reply With Quote
Advert
Old 02-12-2012, 01:04 PM   #33
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by wokavan View Post
Is there any chance that "smarten punctuation" could be added to this plugin's bag of tricks?

Thanks for the fantastic plugin!
If you are going that far, you might just want to do a EPUB -> EPUB convert which provides that along with other options.
theducks is offline   Reply With Quote
Old 02-12-2012, 01:38 PM   #34
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
v1.0.2 Released

Changes in this release:
  • Add ability to smarten punctuation of HTML files within an ePub
kiwidude is offline   Reply With Quote
Old 02-12-2012, 01:53 PM   #35
wokavan
Junior Member
wokavan began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jul 2010
Device: iPhone
Quote:
Originally Posted by kiwidude View Post
Changes in this release:
  • Add ability to smarten punctuation of HTML files within an ePub
Holy moly that was fast! I can't thank you enough! This worked perfectly, so I hope others find this useful too.

Quote:
Originally Posted by theducks View Post
If you are going that far, you might just want to do a EPUB -> EPUB convert which provides that along with other options.
Yep yep, definitely an option, but I'm a bit obsessive when it comes to keeping the css/html as light and handcrafted as possible which seemed inline with the spirit of this plugin.
wokavan is offline   Reply With Quote
Advert
Old 02-12-2012, 02:06 PM   #36
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@wokavan - glad it works for you, welcome to MobileRead by the way. It has been a "calibre plugin update" weekend so the timing of your suggestion caught me in the right mood...
kiwidude is offline   Reply With Quote
Old 02-19-2012, 06:39 AM   #37
arthurite
Junior Member
arthurite began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2011
Device: none
Plug in Fail

calibre, version 0.8.34
ERROR: Plugin installation failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart Calibre.

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 731, in _install_clicked
File "site-packages\calibre\gui2\preferences\plugins.py", line 380, in check_for_add_to_toolbars
File "site.py", line 66, in load_module
ZipImportError: can't find module calibre.gui2.preferences.toolbar
arthurite is offline   Reply With Quote
Old 02-19-2012, 07:04 AM   #38
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@arthurite - welcome to MobileRead.

Nothing in that error message is specific to this plugin. Looks to me possibly a corrupted calibre installation. Try installing the plugin again (make sure any AV is off) and if it still fails reinstall calibre (you won't lose your library).
kiwidude is offline   Reply With Quote
Old 02-23-2012, 11:18 AM   #39
calvin
DRM remover
calvin began at the beginning.
 
calvin's Avatar
 
Posts: 84
Karma: 10
Join Date: Dec 2009
Location: North of Germany
Device: Kindle 3, 4 & Touch, iPhone/iPad, Hanvon N516 (OpenInkpot)
Hi Kiwidude,
would it possible to make it an option to remove this kind of strings in epubs

<meta name="Adept.resource" value="urn:uuid:********-****-****-****-************" />

this string will be complained by the check option and is included for some adobe reasons..
calvin is offline   Reply With Quote
Old 02-23-2012, 11:44 AM   #40
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
@calvin - you should be able to do that already with the "Remove non dc: metadata" option? You are talking about the opf file right?
kiwidude is offline   Reply With Quote
Old 02-24-2012, 03:58 AM   #41
calvin
DRM remover
calvin began at the beginning.
 
calvin's Avatar
 
Posts: 84
Karma: 10
Join Date: Dec 2009
Location: North of Germany
Device: Kindle 3, 4 & Touch, iPhone/iPad, Hanvon N516 (OpenInkpot)
Hi kiwidude,

no I am not talking about the opf file, I am talking about every html(x) file in the epub. This string is in every html file. A search and replace over all html files works well, but it is manual work ;-)

I tried this option, but it will not remove this string from the html files.
calvin is offline   Reply With Quote
Old 02-24-2012, 04:49 AM   #42
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Technically it isn't a problem to add such a feature. The question I would have is about at what level to generalise it. For instance you have said a <meta name="Adept.resource"...> tag is what you want removing. Is that going to be the one and only meta tag that would ever need removing from epubs? And should this be a new option, or just included with the "remove non dc: metadata" feature (since that is also about preparing an ePub for submission).
kiwidude is offline   Reply With Quote
Old 02-24-2012, 05:50 AM   #43
calvin
DRM remover
calvin began at the beginning.
 
calvin's Avatar
 
Posts: 84
Karma: 10
Join Date: Dec 2009
Location: North of Germany
Device: Kindle 3, 4 & Touch, iPhone/iPad, Hanvon N516 (OpenInkpot)
Up to now, I have only seen this "adept.resource" tag which was in epubs I have. And only this tag was shown as an error with the sigil validation function.

So for me it would be ok if it would be included in the "remove non dc: metadata" feature.
calvin is offline   Reply With Quote
Old 02-26-2012, 12:53 PM   #44
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,283
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
kiwidude, I ran across something this weekend you might want to incorporate into Modify ePub.

Nook STR (and color from what I've read), doesn't recognize:
Code:
<meta content="coverimg" name="cover"/>
...in content.opf.

It insists on having
Code:
<meta name="cover" content="coverimg"/>
...with the name attribute first.

Sigil and apparently caliber epub->epub conversion will 'correct' the problem, but since Modify ePub can update the cover, you might considering checking/updating the meta tag, too.

Might be something to check for in Quality Check, too.

I've also started a thread suggesting that calibre could modify that when sending to the device, since it's updating the image anyway.
JimmXinu is offline   Reply With Quote
Old 02-26-2012, 04:09 PM   #45
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Hi JimmXinu

Interesting - well for Nook owners that is

Lets see what the response is from Kovid to your other thread you linked to. As if he were to build it into the normal metadata update logic then you will get the change to this plugin "for free" .

I agree it could be added to QualityCheck as well, though again if calibre is modified to take care of it during its normal metadata update when sending/saving to disk then it doesn't really matter if the book within calibre isn't yet valid for sending.
kiwidude is offline   Reply With Quote
Reply

Tags
modify epub

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Quality Check kiwidude Plugins 1171 03-23-2024 05:18 AM
[GUI Plugin] Open With kiwidude Plugins 402 03-16-2024 11:44 PM
[GUI Plugin] Manage Series kiwidude Plugins 166 02-13-2024 11:31 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 02:39 PM.


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