View Single Post
Old 12-13-2014, 04:41 AM   #3574
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
mehetabelo: At the moment no. It is on the story list page for the author which is already accessed, so it isn't hard to get.

In fact, adding the following to the adapter at about line 195 will do it:
Code:
        score = lc2.findNext('th', {'class' : 'num'}).text
        if score != '-':
            self.story.setMetadata('score', score)
And "score_label:Score" needs to be added to the ini file in the storiesonline.net section.

Maybe the score should be converted to a number.

And maybe something other than "score" should be used. That's what the site uses, but, there might be a more common term used in FFDL. Though I couldn't find one.
davidfor is offline