Remove now defunct base_xenforoforum show_chapter_authors option. Sites changed threadmarks.rss both to be unusable by FFF *and* not include post authors.

This commit is contained in:
Jim Miller 2018-03-20 13:19:31 -05:00
parent acc89951df
commit 35fe2e983a
4 changed files with 1 additions and 19 deletions

View file

@ -619,12 +619,6 @@ always_use_forumtags:false
## skip_threadmarks_categories.
#apocrypha_to_omake:false
## When chapters are collected using threadmarks.rss, the post author
## is also collected. If there's more than author for threadmarked
## posts and show_chapter_authors:true, " by AuthorName" will appended
## to each chapter title.
#show_chapter_authors:false
## SV & SB (and possibly QQ and AH) like to use sprite smilies --
## smiley images that are all in one image file for performance and
## are shown by CSS background with offsets. Epub viewers don't like

View file

@ -332,10 +332,6 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
if tmcat_name != "Threadmarks":
prepend = tmcat_name+" - "
append=""
if 'author' in tm and multi_authors and self.getConfig('show_chapter_authors',False):
append=" by "+tm['author']
if 'date' in tm:
date = tm['date']
if not self.story.getMetadataRaw('datePublished') or date < self.story.getMetadataRaw('datePublished'):
@ -346,7 +342,7 @@ class BaseXenForoForumAdapter(BaseSiteAdapter):
if 'tmcat_num' in tm and 'tmcat_index' in tm:
self.threadmarks_for_reader[self.normalize_chapterurl(tm['url'])] = (tm['tmcat_num'],tm['tmcat_index'])
self.chapterUrls.append((prepend+tm['title']+append,tm['url']))
self.chapterUrls.append((prepend+tm['title'],tm['url']))
souptag = souptag.find('li',{'class':'message'}) # limit first post for date stuff below. ('#' posts above)

View file

@ -250,7 +250,6 @@ def get_valid_set_options():
'remove_spoilers':(base_xenforo_list,None,boollist),
'legend_spoilers':(base_xenforo_list,None,boollist),
'apocrypha_to_omake':(base_xenforo_list,None,boollist),
'show_chapter_authors':(base_xenforo_list,None,boollist),
'replace_failed_smilies_with_alt_text':(base_xenforo_list,None,boollist),
'fix_pseudo_html': (['webnovel.com'], None, boollist)
}
@ -449,7 +448,6 @@ def get_valid_keywords():
'remove_spoilers',
'legend_spoilers',
'apocrypha_to_omake',
'show_chapter_authors',
'skip_threadmarks_categories',
'normalize_text_links',
'internalize_text_links',

View file

@ -646,12 +646,6 @@ always_use_forumtags:false
## skip_threadmarks_categories.
#apocrypha_to_omake:false
## When chapters are collected using threadmarks.rss, the post author
## is also collected. If there's more than author for threadmarked
## posts and show_chapter_authors:true, " by AuthorName" will appended
## to each chapter title.
#show_chapter_authors:false
## SV & SB (and possibly QQ and AH) like to use sprite smilies --
## smiley images that are all in one image file for performance and
## are shown by CSS background with offsets. Epub viewers don't like