WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

Please add site https://mandarinducktales.com/

Open nicnic97 opened this issue 2 years ago • 1 comments

Please note, I'm basically the only developer working on WebToEpub, and I'm not paid for doing this. (WebToEpub is completely free, and generates no money.) By asking to add a site, you're asking me to give you some of my limited free time. So, I think it's not unreasonable for me to ask you to do as much as you can to help me.

Provide URL for web page that contains Table of Contents (list of chapters) of a typical story on the site

Did you try using the Default Parser for the site? If not, why not?

Instructions for using the default parser can be found at https://dteviot.github.io/Projects/webToEpub_DefaultParser.html

What settings did you use? What didn't work?

  • URL of first chapter
  • CSS selector for element holding content to put into EPUB
  • CSS selector for element holding Title of Chapter
  • CSS selector for element(s) to remove

If the Default Parser did not work, if you have developer skills, did you try writing a new parser?

Instructions https://dteviot.github.io/Projects/webToEpub_FAQ.html#write-parser

If you don't have developer skills, can you ask a friend who does have them if they can do it for you?

If you tried writing a parser, and it doesn't work. Attach the parser here.

nicnic97 avatar Nov 05 '22 09:11 nicnic97

@nicnic97 Site seems to have only two stories.

  • https://mandarinducktales.com/translations/reborn-as-the-villain-presidents-cat-dog/
  • https://mandarinducktales.com/translations/after-i-possessed-the-tmall-genie-of-the-school-adonis/

The "reborn-as-the-villain-presidents-cat-dog" link seems to be lacking links to most of the chapters. If you can provide link with full ToC, I may be able to do something more Note, WebToEpub is NOT designed to walk the chapters, following the "next chapter" links at the end of each chapter.

The other story has all chapters, and seems to work.

Test versions for Firefox and Chrome have been uploaded to https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8?usp=sharing. Pick the one suitable for you, follow the "How to install from Source (for people who are not developers)" instructions at https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode#user-content-how-to-install-from-source-for-people-who-are-not-developers and let me know how it goes.

Notes:

  • You could probably have just used the default parser, seting "CSS selector for element holding content to put into EPUB" to ".wp-container-10"

For my records: 35 minutes work

dteviot avatar Nov 08 '22 06:11 dteviot

@nicnic97

Updated version (0.0.0.151) has been submitted to Firefox and Chrome stores. Firefox version is available now. Chrome might be available in 1 to 3 weeks. If you can't wait, Test versions for Firefox and Chrome have been uploaded to https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8?usp=sharing. Pick the one suitable for you, follow the "How to install from Source (for people who are not developers)" instructions at https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode#user-content-how-to-install-from-source-for-people-who-are-not-developers and let me know how it goes.

dteviot avatar Jan 03 '23 21:01 dteviot