View Single Post
Old 10-07-2016, 12:49 AM   #1526
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,045
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version

New test version posted (direct link)

This test version is mostly some minor new features I wanted. It's also a bit more 'test' than usual--at least if you're using it with SB & SV.

2016-10-06 v2.4.4
  • Adding words_added metadata for epub logpage only.
  • Fix for CLI not working correctly with -u epubfile
  • Tiny fix to html output--close TOCTOP <a> tag.
  • Adding normalize_chapterurl() for xenforoforum and normalize_text_links option.
  • Add internalize_text_links option for epub and html formats. Also fix for growing whitespace in epub updates and missing always_reload_first_chapter in highlight list.
  • Update translations.
  • Bump micro version for test version.

words_added

The new words_added metadata is for epub logpage only--because that's the only place where the previous word count is available to make the calculation. Example:
Code:
logpage_entries:title,...,numWords,words_added,status,version
Quote:
Packaged: 2016-10-02 09:38:46 Updated: 2016-10-01 22:40 Chapters: 98 Words: 170,436

Packaged: 2016-10-06 22:31:10 Updated: 2016-10-06 12:21 Chapters: 99 Words: 176,756 Words Added: 6,320
normalize_chapterurl()

The new normalize_chapterurl() feature for xenforoforum adapters 'normalizes' chapter links so if the thread title changes, it doesn't invalidate all your existing chapters. This is not optional, but always applied.

normalize_text_links

This makes links consistent and fixes some broken links, but it's mostly for the benefit of internalize_text_links.
Code:
## Apply adapter's normalize_chapterurl() to all links in chapter
## texts, if they match chapter URLs.  Currently only implemented by
## base_xenforoforum adapters.
normalize_text_links:true
internalize_text_links

This is primarily for base_xenforoforum site stories where index posts and linking between 'chapters' internally is common. Now, if internalize_text_links (and normalize_text_links) are true, FanFicFare will make links in the chapter text to other chapters point within the story. Links to other (not chapter) posts will continue to link back to the source.
Code:
## Search all links in chapter texts and, if they match any included
## chapter URLs, replace them with links to the chapter in the
## download.  Only works with epub and html output formats.
## base_xenforoforum adapters should also use normalize_text_links
## with this.
internalize_text_links:true
v2.4.4

I forgot on the previous couple test versions, but I intend to bump the micro version number for new test versions now and the minor for new releases.
JimmXinu is offline   Reply With Quote