Quote:
Originally Posted by davidfor
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.
...
|
Okay.
Quote:
Originally Posted by davidfor
- 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.
|
That's not a good solution. I've changed it to use the site specific metadata universe and universeUrl. The datum universeHTML will be automatically created. I haven't tested it because I don't have any story URLs with universe. You'll need to add universeHTML to extra_titlepage_entries to see it.
Quote:
Originally Posted by davidfor
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.
|
Added in another new site specific metadatum, notice.
Quote:
Originally Posted by davidfor
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.
|
I've changed the encoding, but I'm not going to add the universe code with an example story URL to test against.
Attached is a test version with the changes discussed.
UPDATE Jan 4, 2013 - Remove obsolete beta versions