From e7941298b6da0fdf109f53ca3bd368d12480004a Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 11 Aug 2016 12:18:30 -0500 Subject: [PATCH] Add always_reload_first_chapter setting for base_xenforoforum stories with index chapter. --- calibre-plugin/plugin-defaults.ini | 14 ++++++++++++++ fanficfare/defaults.ini | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/calibre-plugin/plugin-defaults.ini b/calibre-plugin/plugin-defaults.ini index 07b9d52..3cd5256 100644 --- a/calibre-plugin/plugin-defaults.ini +++ b/calibre-plugin/plugin-defaults.ini @@ -510,6 +510,20 @@ first_post_title:First Post ## if threadmarks are used. Can result in a duplicated chapter. always_include_first_post:false +## In normal operation, when updating an existing epub, old chapters +## will be reused as-is. Normally, that works fine, but forum stories +## sometimes have an index post as the first 'chapter', and the +## version in the first chapter gets out of sync. +## +## If always_reload_first_chapter:true, then the first chapter will +## always be downloaded again (ie, reloaded). It will NOT be maked +## '(new)' (see mark_new_chapters). Because it is reloaded, manual +## edits made to the first chapter will be lost. +## +## While intended for base_xenforoforum sites, this setting can be +## applied to other sites. +always_reload_first_chapter:false + ## In normal operation, forumtags will only be populated when ## threadmarks are used for chapters (see minimum_threadmarks above). ## When always_use_forumtags:true, always populate forumtags. diff --git a/fanficfare/defaults.ini b/fanficfare/defaults.ini index c4ed121..4889f32 100644 --- a/fanficfare/defaults.ini +++ b/fanficfare/defaults.ini @@ -509,6 +509,20 @@ first_post_title:First Post ## if threadmarks are used. Can result in a duplicated chapter. always_include_first_post:false +## In normal operation, when updating an existing epub, old chapters +## will be reused as-is. Normally, that works fine, but forum stories +## sometimes have an index post as the first 'chapter', and the +## version in the first chapter gets out of sync. +## +## If always_reload_first_chapter:true, then the first chapter will +## always be downloaded again (ie, reloaded). It will NOT be maked +## '(new)' (see mark_new_chapters). Because it is reloaded, manual +## edits made to the first chapter will be lost. +## +## While intended for base_xenforoforum sites, this setting can be +## applied to other sites. +always_reload_first_chapter:false + ## In normal operation, forumtags will only be populated when ## threadmarks are used for chapters (see minimum_threadmarks above). ## When always_use_forumtags:true, always populate forumtags.