Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 04-04-2026, 09:04 AM   #226
hiteshp
Connoisseur
hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.
 
hiteshp's Avatar
 
Posts: 79
Karma: 87534
Join Date: Nov 2007
Location: India
Device: An Android Mobile
Quote:
Originally Posted by Doitsu View Post
If you want the plugin to display the time stamp, add this line to the beginning of EpubCheck.json:
Code:
{
  "extra": true,
The plugin will then also display the following information, if the epub is valid:

publisher:
title:
creator:
date:
description:
identifier:
language:
nSpines:
checkSum:
renditionLayout:
renditionOrientation:
renditionSpread:
ePubVersion:
isScripted:
hasFixedFormat:
isBackwardCompatible:
hasAudio:
hasVideo:
charsCount:
hasEncryption:
hasSignatures:

Or do you want the plugin to add the date and the EPUBCheck version number to the epub metadata?

I want the date/time stamp of last checked. Thank You
hiteshp is offline   Reply With Quote
Old 04-04-2026, 09:14 AM   #227
hiteshp
Connoisseur
hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.
 
hiteshp's Avatar
 
Posts: 79
Karma: 87534
Join Date: Nov 2007
Location: India
Device: An Android Mobile
Quote:
Originally Posted by Doitsu View Post
If you want the plugin to display the time stamp, add this line to the beginning of EpubCheck.json:
Code:
{
  "extra": true,
The plugin will then also display the following information, if the epub is valid:

publisher:
title:
creator:
date:
description:
identifier:
language:
nSpines:
checkSum:
renditionLayout:
renditionOrientation:
renditionSpread:
ePubVersion:
isScripted:
hasFixedFormat:
isBackwardCompatible:
hasAudio:
hasVideo:
charsCount:
hasEncryption:
hasSignatures:

Or do you want the plugin to add the date and the EPUBCheck version number to the epub metadata?
{
extra;

gives too much information. I only want the last run date/time stamp to be displayed. Also with the above line, the time-zone seems to be improper. It seems to taking GMT instead of system time
.

Last edited by hiteshp; 04-04-2026 at 10:55 AM.
hiteshp is offline   Reply With Quote
Old 04-05-2026, 08:52 AM   #228
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,923
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by hiteshp View Post
gives too much information. I only want the last run date/time stamp to be displayed. Also with the above line, the time-zone seems to be improper. It seems to taking GMT instead of system time.
If you change the following line in main.py from:

Code:
status_message += format_publication_info(info["publication"])
to:

Code:
data = json.loads(stdout); checker = data.get("checker", {}); status_message += "\ncheckDate: {}".format(checker.get("checkDate", 0))
You you should get a MM-DD-YYYY HH:MM:SS time stamp.
For example: checkDate: 04-05-2026 14:53:21
Doitsu is offline   Reply With Quote
Old 04-06-2026, 06:40 AM   #229
hiteshp
Connoisseur
hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.
 
hiteshp's Avatar
 
Posts: 79
Karma: 87534
Join Date: Nov 2007
Location: India
Device: An Android Mobile
Quote:
Originally Posted by Doitsu View Post
If you change the following line in main.py from:

Code:
status_message += format_publication_info(info["publication"])
to:

Code:
data = json.loads(stdout); checker = data.get("checker", {}); status_message += "\ncheckDate: {}".format(checker.get("checkDate", 0))
You you should get a MM-DD-YYYY HH:MM:SS time stamp.
For example: checkDate: 04-05-2026 14:53:21
:-( nope.. I couldn't find that line in main.py
hiteshp is offline   Reply With Quote
Old 04-06-2026, 07:37 AM   #230
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,923
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by hiteshp View Post
:-( nope.. I couldn't find that line in main.py
Then your installed plugin is outdated or you used the wrong search option in your editor.
Download the plugin from the very first post, extract main.py. Go to line 622 and change it to:
Code:
data = json.loads(stdout); checker = data.get("checker", {}); status_message += "\ncheckDate: {}".format(checker.get("checkDate", 0))
(There need to be exactly 16 spaces before the command.)
Doitsu is offline   Reply With Quote
Old 04-10-2026, 03:19 AM   #231
hiteshp
Connoisseur
hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.hiteshp knows better than to ask about the Gravitic Imploder Lance.
 
hiteshp's Avatar
 
Posts: 79
Karma: 87534
Join Date: Nov 2007
Location: India
Device: An Android Mobile
Quote:
Originally Posted by Doitsu View Post
Then your installed plugin is outdated or you used the wrong search option in your editor.
Download the plugin from the very first post, extract main.py. Go to line 622 and change it to:
Code:
data = json.loads(stdout); checker = data.get("checker", {}); status_message += "\ncheckDate: {}".format(checker.get("checkDate", 0))
(There need to be exactly 16 spaces before the command.)
1. Updated the ePubcheck from the first post
2. Replaced the main.py with the latest main.py
3. enabled Json for showing extra infos
4. edited the text on line 622 with leaving exactly 16 spaces ahead of the line.

But still the check is showing all the other info including the date. Also the timestamp shown is GMT and not local time. Attaching the SS

hiteshp is offline   Reply With Quote
Old 08-29-2026, 08:30 AM   #232
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,770
Karma: 212614993
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Just what do you think a line number of -1 means, Jon? There is no bug in Doitsu's plugin. If you'd rather Epubcheck didn't use -1 to indicate no line number (or column number), take your complaint upstream to epubcheck itself. But I don't recommend it. Using -1 for an undefined value is pretty standard practice. Or perhaps you think calibre should interpret a line number of -1 differently??

Last edited by DiapDealer; 08-29-2026 at 08:40 AM.
DiapDealer is online now   Reply With Quote
Old 08-30-2026, 12:22 PM   #233
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,975
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
@Doitsu, would you be able to modify the epubcheck plugin so it allows sorting like epubveri plugin does?
JSWolf is offline   Reply With Quote
Old 09-18-2026, 01:10 PM   #234
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,975
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
How do we adjust the plugin to allow -maxOfEachMessage? Thanks.
JSWolf is offline   Reply With Quote
Old 09-18-2026, 03:03 PM   #235
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,923
Karma: 24259515
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by JSWolf View Post
How do we adjust the plugin to allow -maxOfEachMessage? Thanks.
Open main.py and change this line from:

Code:
            # run epubcheck
to:

Code:
            args.extend(['--maxOfEachMessage', 'unlimited'])

            # run epubcheck
(There need to be exactly 12 spaces before the new line.)
Doitsu is offline   Reply With Quote
Old 09-18-2026, 03:13 PM   #236
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,975
Karma: 153791427
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Thank you. I'll try it when I get a chance.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epubcheck plugin for Sigil Doitsu Plugins 563 09-18-2026 12:47 PM
Open Metadata Editor from plugin notbuu Development 5 10-05-2016 12:10 AM
Sample Plugin for the Editor DiapDealer Editor 77 12-10-2014 07:16 AM
Editor plugin question DiapDealer Development 2 07-28-2014 10:23 PM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 09:53 PM


All times are GMT -4. The time now is 03:01 PM.


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