Clean and pure HTML format for Apple Dictionary? #663
-
|
Hello. Having used However, when converting the Apple Dictionary to HTML format, it gives me this: Even after adding the original dictionary’s CSS file, the result still looks broken due to conflicting styles: Removing body {
background-color: #373737;
color: #eee;
}works but the result becomes very bright without a dark background: So I have a tool called appledict2semantic, which converts the Apple Dictionary HTML into clean, semantic HTML -- much easier to read and work with. Here’s a sample of the output from my tool: Because the output is pure HTML without external styles, it's easy to apply any theme. For example, adding a dark background and setting the text color to white works seamlessly without worrying about conflicting styles: (The tool currently works one file at a time) Would there be any interest in integrating something like this into Thanks for reading 😊. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The HTML Directory format is a format I made up, just to speed up testing changes in formats' Readers (in any plugin). So I don't want to modify the contents too heavily, because that makes it harder to detect what changes are related to the Reader and what is the modifications by "HTML Directory", and it makes it harder to troubleshoot. But I'm okay with adding options to do generic modifications (not specific to AppleDict or other formats) that improve the output, just don't enable them by default if you are not sure. |
Beta Was this translation helpful? Give feedback.





The HTML Directory format is a format I made up, just to speed up testing changes in formats' Readers (in any plugin). So I don't want to modify the contents too heavily, because that makes it harder to detect what changes are related to the Reader and what is the modifications by "HTML Directory", and it makes it harder to troubleshoot. But I'm okay with adding options to do generic modifications (not specific to AppleDict or other formats) that improve the output, just don't enable them by default if you are not sure.