Fixing Smashwords Epub validation errors

validator

Wow! I’ve just landed my clean HTML code with a load of epub validation errors!

Here’s what they mean:

tags! tags! tags!

First thing to do is to double (triple) check all your code is good. I found 1 closing div tag out and I got err’s. So check them all!.

1. img tag problems? Make sure there is no space between the last ” and the end of the closing tag. Eg:

 img src="#" alt="" height="100%" /> <-- bad
 img src="#" alt="" height="100%"/><-- good

Oddly, this only appeared to error on my first image of the page. So I recommend adjusting one and then running a validation check

2. em tags. Nope. Get rid of them. I had blockquotes too. In the end I got rid of them and added some font styles to replace the em tags, eg:

 div id="blockquote" style="text-align: center; font-size: 150%; font-style: italic;"

3. sup tags! Kill sups – add the following css:

style="vertical-align:super;font-size:.6em;"

Wait up a minute…

I’ve already managed to get my file to validate – Hooray?! I’m confused because many of the errors completely disappeared by making small changes. For example: errors appear to be created by blockquote and em tags (once corrected) vanished from the rest of file. I expected an inconsistency to be, erm, consistent. But no. em and sup tags are throughout my file, but the validator doesn’t care. Certain tags appear to cause issues: I’m looking at you em tag!

This place https://code.google.com/p/epubcheck/wiki/Errors didn’t appear to be much help in figuring out what the errors meant. Ahh well, at least my file has passed validation. If the validator link above passes, then it is extremely likely that the Smashwords meatgrinder will too – as it is based on the same thing.

Done – Mark 🙂

Things the modern writer should request…

It is likely that the modern writer will want to:

– publish through amazon. The software should indicate where the 10% line falls in the text – as this is the sample cut-off point.
– write in Markdown. This will enable ebook ready text, quickly.
– rearrange their words. Please make this very easy.
– work with multiple texts. Allow them to import docs and group them accordingly.
– export their work to somewhere safe. Dropbox is perfect.
– word counts
– syntax identifiers and options.

Things a writer does not need:

– Fonts. Just a few simple options is enough.
– formatting tools
– ‘how long it takes to read this’ counters.
– lots of file format saving and importing options: txt and .md is fine.
– colours. Nothing in writing needs colour options, ever.
– images. Writers don’t need them – imagery is someone else’s job.

That’ll do for now. I will have more, eventually.

InkMark iPad App Review

I have been hunting hard for a good Markdown app and I think I’ve found the best. Here were my requirements:

Must be iOS 7 designed – I didn’t want to be using something that was full of bevelled edges and faux paper panels. I want my editor to be beautiful like the system I’m using. This requirement alone made it very easy to discount many editors. So many of them look like they haven’t been updated for years.

It must do one thing really well – write with Markdown – and not try to do everything. So many tools that I looked at tried to be everything a writer could ever need. With so many features and options, I felt like these apps were bloated and overloaded. I didn’t want that at all. This editor needed to be light and quick to open and type on. Evernote is normally my note taker of choice, so that gives you an idea of what I’m used to.

The typing font must not be ugly – by ugly I mean the Courier font. This is fine if I want to be a coder or write scripts all day, but I don’t. My usual font of choice is Times New Roman because this is the standard font which Agents and Publishers accept. Failing Times New Roman, I just didn’t want to see Courier on my screen – anything else (contemporary) would be fine.

The app must either have good support or regular updates. I don’t want to feel like the developer has created one thing and then moved on to the next project, leaving the app to grow old and die. Therefore, new releases are vital.

Good feedback or lots of promise. Many apps I looked at has lots and lots of reviews, and I read them! Many apps started off well, but then as iOS 7 came along, some of the best apps appeared to struggle to please other buyers. Their feedback was negative and somewhat miffed at the loss of a good app. Failing good feedback, the app should be free and/or have lots of potential.

The app should have export options. Writing on an iPad is never where my words stay – and I don’t always want to publish it somewhere. Therefore, exporting to Dropbox is a must, or Evernote, or Google Drive (in that order). I don’t need a million options, just the basics.

So that is an extensive list! Is it possible one app could deliver all that? Well it appears so. Whilst I was browsing the App Store under the ‘markdown’ search term, I flicked the ‘sort by’ setting over to ‘most recent’ and it was here that I found InkMark.

20131210-185250.jpg

InkMark is clean to view (iOS7 designed), does Markdown writing really well, the font isn’t courier (it isn’t Times either, but no matter), it appears to be well supported, there is no feedback yet but lots of promise, and finally, it has dropbox support.

All this means it’s pretty damn good.

The negatives? It’s quite pricey. It was free to ‘buy’ initially, and then I discovered it was £3.99 a year to store more than 3 files at a time, plus a number of other features become available in the settings. This was a great strategy for app discovery, because everyone loves a good app for free (Evernote), and I did feel cheated somewhat at the hidden cost for storing more files, however, after thinking about it, I do want more updates and I do believe developers should get paid for good apps. If this business model keeps everyone happy and the updates coming, then it’s all good with me.

The thing I like most about InkMark is the live Markdown preview panel – I don’t need it, but I love the feature. It’s easy to swipe it away from view, and pull it back again if I want to see my formatted version, and this feature was a deal breaker for me. I should add this to the requirements list, because I discounted many apps which didn’t have it.

So, I bought the app, then found a bug which meant it didn’t respond well with my bluetooth keyboard. A quick click about in the settings and I turned off the Keyboard Experience (or whatever it was), then, bingo, my problem was solved. The devs say a new update is in the process, so that should be sorted soon, I hope. So with this sorted and the devs responding to my cries for help, I dropped the £3.99 per year to ‘upgrade’.

Want to take a look at it in the App Store? Here’s the link.

Fingers crossed this was a good move, and it gets supported. I’ve got a good feeling about this app. More news as I have it.

Mark

Writing: Past, Present & Future Beds

3 simple pieces of writing for next weeks writing course.
This time it’s all about the Bed. 150 words, on a bed from our childhoods, one from the present and a future bed, money no object. Here’s my attempts:

Bed Past:
Four balls, blue and yellow, the colours split straight down the middle and held within a wooden frame by steel rods. Each sat waiting on a small spring for a hand to slap them down and catapult the balls up the length of the rod with a hiss and tickle of their tiny plastic beads inside. The bounce was hypnotic, their fall was a gentle vibrating collision of colour and sound. I could slap these things for hours on end. There was nothing else to do. Maybe grab the bars of the bed and rattle the hell out of them during the gaps in mothers incessant sewing machine pauses. Occasionally she’d hear me shouting about getting up, getting out, getting food, getting bored and getting ignored. Running up and down the length of a mattress covered in a piss sheet had a certain crinkling crispness which felt like an inch of new snow underfoot.

Bed Present:
Too cold outside, too hot inside, irritation on one side, blocked airway on the other side. My toes munch and lick the foot board through the duvet cover, just enough to taste the air and wish I’d tucked in the end down there. One pillow, two pillow, one point five pillow, none. Folded once, scrolled twice in an attempt to find something nice under my neck line, but only held long enough to hear my noisy heart beat pad and jump. Did it just skip? It skipped, Oh my god, my heart just skipped a friggin beat. I think things are back to normal. But there’s an app for that. I flip out my phone and call up the ‘SleepCycle’ app which uses the sensitive internal gyroscope to track the motion of my heart. I need a strong pulse, so I lay the phone my forehead with my eyeballs almost pressing on the screen and stick my left hand down my pants and find the main artery on my upper thigh, and my right hand fingers up the snoring nostrils of my dearest, so I can hear the beat, feel the pulse and watch the rhythmic flow of the digital gauge rise and fall. After a few seconds I heard her say ‘what the hell are you doing?’. ‘It’s OK dear. We’re not dying’ I said.
In comparison… the sofa was very comfortable.

Bed Future:
“Innovation has come a long way. Beds these days, don’t just support your body weight during sleep paralysis, they hold you’re entire family unit together. We aren’t dreaming here, we insert the dreams for you by a number of carefully positioned sensors in the head area. Gone are the days of springs and multi layered air pockets and foam tunnels, this baby multi adjusts continually throughout your sleep with 65 million molecular machines glazed in every microfibre. There was a time when bugs in the bed was seen as a bad thing. Today, you pay us to add more of them. But don’t worry, these things won’t be jumping out and scratching away at your skin with their nano-paws, no, they’ll be working away to rid the body of dead skin, pump up the existing tissue as well as identifying and destroying cancer cells. You actually wake up younger and healthier than when you went to sleep. I know, incredible. The best part is, it’s absolutely free. Nothing, no payment. You take it away today or we can deliver it for you. No catch, free return, yes, we collect. 24/7. Free shipping too. OK. Sure. You want to go for it? Certainly. OK then, all we need a signature for the release waiver. No Sir standard practice. Just so we’re all covered in the event of anything not working out like they did in the trials. Hello? Hello Sir? Hello? Damn it”

Sucking on a lemon

Day 5 of (possibly) 90 and I’m sat hunched over a steaming laptop with my fingers bleeding into the keyboard.

No word count this time, no strict deadline, no peer pressure (other than self inflicted) and no prize at the end of it – unless you count a reasonably readable novel as ‘a prize’.

bugger – i said it again… its not a ‘book’, its a fictional document. Thats what it is. Books are works of literary genius, printed, bound, barcoded and on sale in Waterstones. Mine? Mine is not that. Its practice, its a place to play and experiment and discover if, given enough time, one 36 yr old monkey in a room can eventually bash out a reasonable tune on a qwerty xylophone with a rubber mallet.

If ‘genius’ looks like a car crash, then I might be in with a chance.

Whats been happening for 5 days? Well a lot of timelining, figuring out characters, ripping thoughts apart and wondering how to glue them back together again. The biggest u-turn taken, compared to the previous efforts, is the attempt at writing in the first person. Maybe it was reading Catcher in the Rye, maybe it was reading ‘Money’, maybe it was an attempt at forcing me to be more descriptive instead of crushing a bag of pringles over my screen and telling people its ‘dialogue’.

So yeah, I’ve planned enough to get me going – and its been a strangely enjoyable process.

Not one I’m used to at all.

Drinking San Miguel on the Big Gay Travel Train

hello.

its 8pm and I’m horizontal already.

I’m writing about writing again. So anyone not interested, can you kindly leave now. I thank you.

I recently made the decision to not write book number three (which shall be known as #3 for here onwards)starting on 1st May, as I made a recent discovery that means #3 would have been utter shite like #2 and #1.

Characters.

Characters ‘make’ stories – plots don’t. Without good, memorable, interesting characters, even the best storyline in the world will feel thin and shabby and wholly unbelievable. I have decent storyline (imo), which means unless I spend a bit of time, considering my characters, then I risk the likely hood, of ruining a good story. I don’t want to do that.

My first (potential) error would have been thinking that characters are about people. Wrong. People are dull, dull things that think their lives are interesting and that other people are interested in hearing about their lives – and many of ‘people’s’ conversations actually just loop round and round and round, until ‘finally’ a decision gets made that changes something for good or bad. Normally good, because bad is quite obvious and people would rather do nothing than make a bad decision – hence the conversations that loop infinitely.

Characters aren’t like that. Characters are that one person that gets stuck in your head, who never leaves the memory banks as they are so damned incredible. And not necessarily good incredible, bad incredible sticks in there too, maybe more so – think back to when you were in school – I bet you can still recall the bad people right? Those good cookies always attach themselves to the dying brain cells for some reason.

Anyways… right now I’m reading a few things, writing a few things, thinking about layers in my story and basically delaying the orgasm until my unofficial start date of 1st June.

I’m giving myself 3 months – averaging 800 words a day, to not produce the same mistakes that have appeared in books #1 & #2. And here’s those mistakes in typical ‘top of the pops, top5 count down’:

5: forgotten information about key characters
4: meaningless waffle
3: trying to be smarter than I actually am
2: suckage research

and the top spot is……

1: plot wobble

Yes, ‘plot wobble’ has been and is, my biggest gut wrencher to date. Plot wobble shows its face like this:

‘what’s the book about Mark?’

I then proceed to tell the story about what the plot ‘should’ have been about, neglecting to tell anyone that it actually changed in writing, as I got carried away with all the fun and creativity and now can’t face returning to rehack it back in the direction I originally intended.

That, my friends is how to spot ‘plot wobble’.

It took #1 & #2 to realise that the story I ‘tell’ people verbally, is the story I should have written in the first place. And with that in mind, I plan to retell (either to myself, or others) #3, to get it drilled into my head soooo much, that it sticks during the writing phase.

That’ll do for now. I’m reading ‘The Glimmer Train‘ which though sounds like a Gay travel journal, actually is a bloody good read about advice from lots of other writers about how they tackle and face struggles and styles in their own writing.

(btw- whilst amazoning the link above, I’ve realised that v2 is out, so I will buy that as soon as I’ve finished reading v1) woo!

ok I’m done – its nearly 9ine o’clock and I’ve a bottle of cheap (59p) beer in the fridge with name on it.

bye – Mark ‘San Miguel’ Mapstone

the shift to rich media text

I explained to a friend today that as much as I enjoy the pure creative aspect of inventing a fictional world, I am still very much interested in the technical aspect of storytelling – and not even the basics, like plot and narrative etc. 

Something inside me is extremely interested in how people plan, organise and note their plots, also about their environment – where they sit, how long for, where they go for inspiration etc. 

I believe I do this, because I’m trapped between two worlds. I’ll explain: 

I have always been visually creative, but after doing everything I can with pixel pushing since I first got a computer in the 1820’s – I have shifted my creativity to words and sentences instead of colours and whitespace. However my graphical background has been aided by excellent software that allows me to build things up in layers, control every element and instantly tweak various versions – without ruining the original – until the perfect balance has been found. 

Now bear in mind that complex psd’s can involve hundreds of layers scattered about many many folders, I fail to see why such a visual tool can’t exist for the complex world of Writing too. 

When I have a storyline idea, I have to write, but I don’t want to…. I want to draw out a block of colour that represents a location, sprinkle in some shapes that act as positions for characters and perhaps tween some elements that represent a change in mood or perspective. I want to have control of multiple layers that I can turn on and off and re-assess the effects of such a change on the plot. 

The thing is, now I’ve written, I want other people to try it. I believe other people want to do it, and I believe there is an easier way to do it than opening up a blank doc and typing, or putting a biro to a blank sheet of paper. 

I also feel that people are so focused on rich media expressionism (video, audio, photo etc) that no-one appears to care about the incredible benefits of using digital technology to speed up and / or improve the simple writing process. 

I fully understand that in order to write, one must physically write – I’m not disputing that – but I can see a way that an entire 500 word novel can be zoomed out of, moods be associated with colours, character paths be mapped and morphed by the use of shapes and many other things which allow the shifting of a storyline. 

I think I’m going to make it my life mission (until I get bored of it – my life, not the mission) to come up with something that allows people to storytell visually as part of the process to clarify the textual part. 

time to go get horizontal – ta-raa

(don’t re-read, don’t spellcheck, just hit ‘publish’)

mark

Nanowrimo day 12: 20k

nanowrimo08

 

So far so good hey? in a couple of days time i’ll have hit the halfway mark and Wooo! start enjoying the slippery slope to success all the way to the finish post 🙂 go me – yay!

My plot has gone from nothing to a full structure to throw it out the window and my protagonist rambling across Nigeria in an ice-cream van… christ knows where this is heading, but I’m loving the ride.

’99 with a flake you say? Coming right up.

http://www.nanowrimo.org/eng/user/251879

Nano: day 2 – 4160 words

So far so good. Better than last year where I started half heartedly 1 month and 4 days late. 

I find keeping up with the word count easy because my typing speed is pretty good. I’m sure a lot of less dexterous people fall at that hurdle. Being able to type fairly close to the speed of a spoken sentence really helps the process. Its literally like – ‘think & type’. 

Ok, now I know there’s a lot more to writing than blistering speed and relentless forward thinking – having a plan is a good place to start. I have one roughly drawn out, in the style of storyboards but with words instead of drawings. Tho I’ve already started to go off course, I need to make sure I stick to it. I still kick myself that I let last years effort wander about. 

Soo.. day 2 and I’m doing good. Only 46k to go…. it should be a piece of cake.

writing a life

it suddenly occurred to me on the way into town today that logical existence and rational thought is strengthened by facts, evidence and references to existing elements. But for creativity to exist with the same weight as logic – ‘we’ must invent it first. Without mental invention, there is no existence of creativity. Once it has been created, it is as real as anything logical, rational or dripping in physical evidence. The only difference between whats ‘real’ and what (apparently) isn’t, is our ability to think of it first. 

Here’s an example. 

When I first tried my hand at creative writing. I fell at the very first hurdle. I didn’t know what to write about a character because that life didn’t exist. I was stuck. I tried to copy a life in existence by using bits of people I already know in real life. It worked, but its also very weak and limiting. People I know, don’t murder people, have dangerous jobs, have amazing wealth or bounce across continental borders with the police chasing them. 

Then it eventually occurred to me that I had to ‘create’ life. Not just write a story that a pretend person played a part in – I had to invent, think, create, give birth to a whole world for this fictional being to exist. This made my brain ‘jar’ a bit, it was completely unnatural to me, it was false, fake, deceptive and illogical. It was like I was lying to myself, and to others that would read about it. Creating life with thought? Jebus, who’d have thought it would be so hard? Not in the actual sense of ‘thinking stuff up’, but in the conceptual sense of realising that’s what writing fiction is about.

No where in all the creative writing books I’d read, broke it down this that level:

“okay mark, here’s the deal. Forget about reality, you have to make this shit up. It’ll feel odd, but just go with it right? I know, I know, you can’t write about his job, because you don’t know what it is. That’s where you just make something up. Yes, well don’t worry whether its right or wrong, because the character isn’t real, so you cannot be ‘wrong’ – ever. Yep, granted you’ll have thought that people won’t believe your character is real, because you just ‘made it up’, but relax, that’s why they’re reading a piece of ‘fiction’ geddit? The clue is in the title there. Fiction. Make believe is fine. They don’t want truth, fact, or reality. They want ‘made up’, fake and invented. Its hard yes, but its right, and it will always be right as long as you keep doing it and getting better and better at it. Just trust your creativity and you’ll be okay, okay?”

umkay

… and so it continues. 

This is one thing that creative writing books fail to acknowledge in their ‘dummies guide to creative writing’ editions – it assumes that the reader understands the difference between real and fictional worlds. Maybe I’m being too dumb here – I mean even I know the difference between them. But its only the writers that get to invent life from thought…. and when you’re not ‘a writer’ yet, just a beginner, you’d have imagined this basic building block would be the first priority on the list.

Or maybe its just me.