View Single Post
Old 01-05-2014, 01:36 AM   #2332
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
YAVOTSDNA

As threatened earlier, here is yet another version of the storiesonline.net adapter.

This adds the fetch of the universe name and URL for stories that are in a series that is part of a universe. I thought I had posted this last night, but something happened.

There is of course another change. While testing this, I realised the series and universe name displayed differently depending on where it is. As an example, for the story http://storiesonline.net/s/51121, the universe is shown as:

- "A story set in the post-sickness world of Phoenicia" on the story index and the author page.
- "Phoenicia — A Universe from the Mind of Shakes Peer2B" on the universe page
- "Universe: Phoenicia" on the authors universe page
- "Phoenicia" on the universe list page

The first one is good on the title page, but I think the last is the correct one to use in the metadata. I've added code to retrieve this for both the series and the universes.

I think these or similar changes should also be made to the finestories.com adapter. I haven't had a chance to look at the site yet. I'll probably do it later in the week and make any updates necessary.

JimmXinu: I have left a few debug statements in this section of the code. I'm happy for them to be removed, but, they might be useful for the next little while.
Attached Files
File Type: zip adapter_storiesonlinenet.zip (4.4 KB, 135 views)
davidfor is offline