New Test Version Posted
2023-05-04
- Add force_update_epub_always option to update when EPUB has more chapters than source. See #950 #949 #942.
From defaults.ini:
Code:
## By default, FanFicFare will not update an existing EPUB that has
## more chapters than the story does on the source site. When
## force_update_epub_always:true FFF will ignore that check when using
## 'Update EPUB Always' (plugin) or -U/--update-epub-always (CLI) and
## will discard chapters in the EPUB that are not listed on the source
## site anymore.
## This can be useful for authors that remove and/or replace chapters.
## Recommended to be set for individual stories or sites rather than
## under [defaults] or [epub].
#force_update_epub_always:false
There have been several github issues lately (
#950 #949 #942) about RoyalRoad stories where the author has removed old chapters from stories while continuing to post new chapters leaving a situation where the user's existing EPUB has more chapters than the source site story.
I understand that what those users really wanted was a way for FFF to keep those older removed chapters
and continue adding new chapters. I explained:
- FFF's fundamental paradigm doesn't have a way to keep chapters that aren't in the TOC of the story on the source site.
- FanFicFare is meant for fanfiction. If an author has removed their content to make money on it, I'm not interested in helping work around that.
I do, however, believe that a way to update stories even when the EPUB has more chapters is worthwhile. That way a user can continue updating such a story with publicly published chapters without having to edit the EPUB first.