-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add site --> https://salmonlatte.com/ #1216
Comments
FYI. Site is using the Madara theme.
Please provide details. Note, I reserve the right to do nothing on basis that results won't be worth the effort. For my notes: 11 minutes work. |
When an epub is generated from this site, at the footer of each xhtml file is a bunch of extraneous html elements being pulled in due to the lack of specificity in which exact content the epub should preferably output (i.e. only the main heading and chapter text, like foxaholic). As shown below:
Some redundant elements from within the header are also needlessly outputted into the epub (at the beginning of each xhtml file) as well:
But, if this does require too much time to do, then that's fine too haha. |
@bonnetchuu This script should remote the footers let toChange = [...dom.querySelectorAll("div.pp-multiple-authors-boxes-wrapper")];
for(let s of toChange) {
s.removeAttribute("style");
}
return 0 < toChange.length; |
Thank you for the script, but it didn't quite work... Though, not to waste more of your time, after looking through the page source for a second runthrough (since I probably missed some minute details), I was able to better utilise the Default Parser and grab only the novel content, removing all the extraneous elements :) but thank you much for the guided assistance thus far. |
Provide URL for web page that contains Table of Contents (list of chapters) of a typical story on the site
https://salmonlatte.com/novel/returning-to-infancy-with-my-nemesis/
Did you try using the Default Parser for the site? If not, why not?
Yes, I did, but the output was rather messy due to the type of site layout.
Just for a note, this site has the same structure and look as: https://www.foxaholic.com/
Thank you very much~
The text was updated successfully, but these errors were encountered: