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 Yesterday, 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: 75
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 Yesterday, 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: 75
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; Yesterday at 10:55 AM.
hiteshp is offline   Reply With Quote
Advert
Old Today, 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,812
Karma: 24088595
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
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epubcheck plugin for Sigil Doitsu Plugins 562 01-17-2026 04:03 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 09:47 AM.


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