bitemyapp / bitemyapp/flightcrew

Unused / missing class notification on epub validation

Open
#25 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated
Dominant language
C++
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
This mainly comes up when editing retail ebooks that I've purchased and want to
tweak but they often have tons of unused classes in their css. It's like they
have some giant css template with a class to cover every possible need. I like
to clean these up but it's a pain to have to keep going back and forth between
the css and the ebook to search for every single class to see if it's used.

It would be nice if, when performing an epub validation, it would tell you all
of the unused classes that exist in the css. Also, in case you refer to a class
in the ebook but forget to set the class up in the css or maybe delete one by
mistake, it would be nice if it notified you of any class references in the
ebook that don't exist in the css.
```

Original issue reported on code.google.com by `mbf62...@gmail.com` on 29 Jun 2011 at 9:27

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the EPUB validation entry point and the code that reads CSS class definitions and ebook class references. The issue provides no file or test names, so trace those paths first; done means validation reports both unused CSS classes and ebook-referenced classes missing from the CSS.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, css
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.