Nyxeka / FanfictionOrganizer

1 stars 0 forks source link

Story Object Class #4

Open Nyxeka opened 4 years ago

Nyxeka commented 4 years ago

Handles Extracting story from epub file Gets story info pane information (rich text) Creates epub with metadata/restructures an epub

Nyxeka commented 4 years ago

Need to figure out how we can actually get story info from a newly extracted epub

various formats (ff2ebook, our fanfiction extractor, flag, ficsave, ao3 all have different Summary pages with the information we need, so ideally we'd be able to search for this.

Alternative we can do some searches for the first few chapters or all of the chapters for some "word count:" text or something like that and that should be able to tell us which page has that information, then search the rest of it for said info.

Also, each different extractor/source seems to have specific tells about where it comes from. Not necessarily a direct link, but how the epub file is structured and whatnot, what the chapter/content layout look like and stuff like that are also a good way to tell. Some of them even have the link in one of the metadata files (ff2ebook does this).