mirror of
https://github.com/JimmXinu/FanFicFare.git
synced 2025-12-22 16:54:06 +01:00
forum adapters - Fixes
This commit is contained in:
parent
ddc3607df6
commit
dfae104674
3 changed files with 13 additions and 16 deletions
|
|
@ -1045,7 +1045,7 @@ cover_exclusion_regexp:/res/css/bir.png
|
|||
|
||||
cover_exclusion_regexp:/clear.png
|
||||
|
||||
add_to_extratags:ForumFic
|
||||
add_to_extratags:,ForumFic
|
||||
|
||||
strip_chapter_numbers:false
|
||||
|
||||
|
|
@ -1081,19 +1081,19 @@ replace_metadata:
|
|||
|
||||
extra_titlepage_entries: titletags
|
||||
|
||||
## '.SPLIT' teels the system to split by ','
|
||||
## '.SPLIT' tells the system to split by ','
|
||||
add_to_include_subject_tags:,titletags.SPLIT
|
||||
|
||||
datePublished_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
dateUpdated_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
|
||||
description_limit:1500
|
||||
description_limit:500
|
||||
|
||||
[forums.spacebattles.com]
|
||||
|
||||
cover_exclusion_regexp:/clear.png
|
||||
|
||||
add_to_extratags:ForumFic
|
||||
add_to_extratags:,ForumFic
|
||||
|
||||
# true, false, threadmarksonly
|
||||
add_chapter_dates:false
|
||||
|
|
@ -1129,13 +1129,13 @@ replace_metadata:
|
|||
|
||||
extra_titlepage_entries: titletags
|
||||
|
||||
## '.SPLIT' teels the system to split by ','
|
||||
## '.SPLIT' tells the system to split by ','
|
||||
add_to_include_subject_tags:,titletags.SPLIT
|
||||
|
||||
datePublished_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
dateUpdated_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
|
||||
description_limit:1500
|
||||
description_limit:500
|
||||
|
||||
[grangerenchanted.com]
|
||||
## Some sites require login (or login for some rated stories) The
|
||||
|
|
|
|||
|
|
@ -133,13 +133,10 @@ class ForumsSpacebattlesComAdapter(BaseSiteAdapter):
|
|||
self.story.setMetadata('datePublished', date)
|
||||
if not self.story.getMetadataRaw('dateUpdated') or date > self.story.getMetadataRaw('dateUpdated'):
|
||||
self.story.setMetadata('dateUpdated', date)
|
||||
|
||||
if self.getConfig('add_chapter_dates') in ['true','threadmarksonly']:
|
||||
name = '%s %s'%(name,date)
|
||||
|
||||
self.chapterUrls.append((name,self.getURLPrefix()+'/'+url))
|
||||
|
||||
soup = soup.find('li') # limit first post for date stuff below. ('#' posts above)
|
||||
soup = soup.find('li',{'class':'message'}) # limit first post for date stuff below. ('#' posts above)
|
||||
|
||||
# Now go hunting for the 'chapter list'.
|
||||
bq = soup.find('blockquote') # assume first posting contains TOC urls.
|
||||
|
|
|
|||
|
|
@ -1031,7 +1031,7 @@ cover_exclusion_regexp:/res/css/bir.png
|
|||
|
||||
cover_exclusion_regexp:/clear.png
|
||||
|
||||
add_to_extratags:ForumFic
|
||||
add_to_extratags:,ForumFic
|
||||
|
||||
strip_chapter_numbers:false
|
||||
|
||||
|
|
@ -1067,19 +1067,19 @@ replace_metadata:
|
|||
|
||||
extra_titlepage_entries: titletags
|
||||
|
||||
## '.SPLIT' teels the system to split by ','
|
||||
## '.SPLIT' tells the system to split by ','
|
||||
add_to_include_subject_tags:,titletags.SPLIT
|
||||
|
||||
datePublished_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
dateUpdated_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
|
||||
description_limit:1500
|
||||
description_limit:500
|
||||
|
||||
[forums.spacebattles.com]
|
||||
|
||||
cover_exclusion_regexp:/clear.png
|
||||
|
||||
add_to_extratags:ForumFic
|
||||
add_to_extratags:,ForumFic
|
||||
|
||||
# true, false, threadmarksonly
|
||||
add_chapter_dates:false
|
||||
|
|
@ -1115,13 +1115,13 @@ replace_metadata:
|
|||
|
||||
extra_titlepage_entries: titletags
|
||||
|
||||
## '.SPLIT' teels the system to split by ','
|
||||
## '.SPLIT' tells the system to split by ','
|
||||
add_to_include_subject_tags:,titletags.SPLIT
|
||||
|
||||
datePublished_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
dateUpdated_format:%%Y-%%m-%%d %%H:%%M:%%S
|
||||
|
||||
description_limit:1500
|
||||
description_limit:500
|
||||
|
||||
[grangerenchanted.com]
|
||||
## Some sites require login (or login for some rated stories) The
|
||||
|
|
|
|||
Loading…
Reference in a new issue