View Single Post
Old 08-05-2021, 11:36 AM   #3
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,860
Karma: 6120478
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by phillipgessert View Post
Assuming I understand this correctly, I'd love this feature and the idea of it is pretty exciting.
I am thinking about adding a green "publish" button to the toolbar. A right click on it would open a dialog that allows a list of "activities" to be checked or unchecked (enabled or disabled).

When "publish" gets pushed, the checked "activities" will be run one by one stopping at the first failure with a Message Box allowing telling the user what failed.

My problem is what activities to include and it what order. This list would need to include plugins obviously so devs can write their own plugins or use others plugins as part of this process.

So some things for the list not in any particular order:

- run multi-language spellcheck dialog
- run basic well-formed check
- run Mend
- run Prettify
- update manifest properties
- validate stylesheets via w3c
- run epubcheck
- run flightcrew
- run a specific saved search list
- do a file save
- create a checkpoint
- run FolderOut
- open metadata editor
- generate NCX/Guide for epub2 only readers
- delete unused media
- delete unused css selectors
- generate reports
- run AccessAide to improve Accessibility
- run ePub3-itizer
- open current epub in ReadiumReader
- open current epub in EpubJSReader
- open current epub in BibiReader
- run other user plugin 1
- run other user plugin 2
- run other user plugin 3

So as you can see the list is already long and we would still need to add other things and then figure out how to allow the user to:

- specify the exact list they want to work with
- change the order of their activities
- add and remove activities

So a lot more thought and planning will need to go into this type of feature. I was hoping to add it for a Sigil 2.0 release so we still have time.

I would like people's thoughts on how best to handle all of this as simply as possible that still provides something useful.

If anyone has any thoughts they would like to share please do.

Last edited by KevinH; 08-05-2021 at 11:39 AM.
KevinH is offline   Reply With Quote