View Single Post
Old 09-13-2017, 11:51 AM   #2429
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,029
Karma: 4604637
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
Quote:
Originally Posted by eschwartz View Post
I tried to download two spacebattles fanfics:
https://forums.spacebattles.com/thre...#post-14513760

#1 has threadmarks, but unfortunately also has back/forward links which somehow threw this plugin off.

I think #1 happens because it somehow triggered "this has no threadmarks, so treat it as an index page" mode, which probably shouldn't happen with a threadmarked post. (I was lazy and copied my current reading position from the address bar into FanFicFare rather than clicking around to the link to the first page.)
Functioning as designed.

FFF assumes that you gave it a post link (instead of a threadlink) on purpose, so it's treating that post as an index post. Otherwise it wouldn't be able to tell when you want to intentionally ignore the threadmarks in favor of an index post.

Quote:
Originally Posted by eschwartz View Post
https://forums.spacebattles.com/thre...ssover.277863/

#2 has no threadmarks, and actually indexed just fine off the first page, but ignored the first post which does not link to itself.

#2 I assume is because authors commonly use(d) the first post as an introduction and index, is there some better way of handling this even if it is on the user end? Interestingly I got a very interesting replacement for the first chapter, I'm not at all sure what is up with that.
You are seeing two separate issues here.

First, the content of the first chapter is wrong because of a site change. Pickup the most recent test version to correct it and get the content of the first post.

Second, the first chapter is named 'First Post' because that's the default configuration.

When running in index-post mode, the index post given (or first post of a thread w/o threadmarks) will be included as the first chapter. You can change the title of that first chapter with the first_post_title setting in a story-specific ini section using the story URL. Eg:

Code:
[https://forums.spacebattles.com/threads/wail-of-the-banshee-worm-warframe-crossover.277863/]
first_post_title:[1.1]
Note that due to changes requested by Xon of SB/SV, FanFicFare now uses the full thread URL now. Sections [https://forums.spacebattles.com/thre...sover.277863/] and [https://forums.spacebattles.com/threads/277863/] in the ini are both recognized and used.
JimmXinu is offline   Reply With Quote