View Single Post
Old 12-30-2013, 06:10 AM   #2314
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
Updated storiesonline.net adapter

I have fixed the problems noted in the last few days plus a couple of other things. These are:

- Site uses UTF-8. As the base adapter uses this first, I have removed the setting from this adapter.

- If the story was in a series or universe, the summary was just that text and didn't include the story description.

- While looking at the above, I realised that when a story was in a universe, that was being lost. So, when there is a universe, the series is set to the universe. One problem with this is that with a universe, there isn't an order, so the series index is set to zero.

The other thing I mentioned the other day was the notice on some story index pages. This can be a disclaimer or some sort or some setup for the story. http://storiesonline.net/s/51245 is the story that started this round of changes, and it has a notice. Extracting the notice was easy. But, then I couldn't quickly work out how to display it in the story. It probably should be added after the story details, but, I don't immediately see how to do that. I have put the extract code in. If someone can tell me where to look, I can add it to the actual story.

Also, the finestories.com should have the change for the character set. I had a look at a few pages and they are being generated as UTF-8. I think it should have the universe/series change as well, but I didn't have a close look at that.
Attached Files
File Type: zip adapter_storiesonlinenet.zip (3.7 KB, 127 views)
davidfor is offline