View Single Post
Old 07-31-2019, 03:46 PM   #3641
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,065
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2019-07-31
- Add XF2 threadmarks_cover/status/desc/title options.

SV (the only XF2 site supported so far) has added some additional 'threadmarks' metadata. I've changed FFF to collect threadmarks_title, threadmarks_description and threadmarks_status as metadata when present.

I've also added settings for whether to use threadmarks_description and threadmarks_status as well as applying the threadmarks cover when present.

These default to on, but are settings because I saw some threads with 'testing' type text in description especially. This way you can turn it off for those, or entirely until it's more mature.

New defaults.ini settings:
Code:
[base_xenforo2forum]
## [base_xenforoforum] also applied, but [base_xenforo2forum] takes
## precedence.  SV is the only XF2 site as of Jul 2019.

## Some additional 'thread' metadata entries.
add_to_extra_valid_entries:,threadmarks_title,threadmarks_description,threadmarks_status
#add_to_extra_titlepage_entries:,threadmarks_title,threadmarks_description,threadmarks_status

# Just to remove '_'.
threadmarks_title_label:Threadmarks Title
threadmarks_description_label:Threadmarks Description
threadmarks_status_label:Threadmarks Status

## When use_threadmarks_description is set true,
## threadmarks_description will be used to fill in the standard
## description metadata entry.  Some stories have poor
## threadmarks_description, you can use this setting to avoid using
## it.
use_threadmarks_description:true
## Increasing description_limit from base_xenforoforum's default of
## 500 is also useful with use_threadmarks_description
description_limit:1000

## When use_threadmarks_status is set true, a normalized version of
## threadmarks_status will be used to fill in the standard status
## metadata entry. (In-Progress, Completed plus site statuses.)
use_threadmarks_status:true

## When use_threadmarks_cover is set true, the threadmarks image will
## be used to fill in the cover image.  Set true by default.
use_threadmarks_cover:true
JimmXinu is offline   Reply With Quote