Read Reviews on Amazon

Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 28

Anyone else published on Kindle?

This is a discussion on "Anyone else published on Kindle?" in the Publishing forum.

  1. #11
    Moderator Steerpike's Avatar
    Join Date
    Nov 2011
    Location
    R'lyeh
    Posts
    5,631
    Portfolio Entries
    3
    Reputation
    5486
    Quote Originally Posted by Telcontar View Post
    What did you have to do to the LibreOffice HTML, Ben? I export to HTML and upload directly to KDP, and my books look fine. Never saw the need for an intermediate step.
    I tried that and mine wasn't consistent across devices. If you look at the HTML produced, even if it is filtered, you get all kinds of extraneous HTML code in the final product. I have found that removing all of that and using a minimal amount of HTML tags has led to a more consistent and predictable end product across various platforms.
    "With age came wisdom. Sometimes wisdom came with an ass kicking, too. And nothing could kick ass like the whole world." -The character "Horn" ruminating on his circumstances. The Decaying Mansions of Memory, by Jay Lake.

    You, too, can get a copy of Lorelei and the Lost and Found Monster from Amazon.com.

  2. #12
    Moderator Benjamin Clayborne's Avatar
    Join Date
    Sep 2011
    Posts
    1,852
    Portfolio Entries
    1
    Reputation
    1176
    Quote Originally Posted by Telcontar View Post
    What did you have to do to the LibreOffice HTML, Ben? I export to HTML and upload directly to KDP, and my books look fine. Never saw the need for an intermediate step.
    The main reason is that I like simplifying the code before I do anything with it. In a few cases, the HTML causes weird hiccups in the output (excess spaces, weird indenting, that sort of thing). Sometimes, LibreOffice has decided that a particular piece of text is a different color than everything else (one of the chapters in my book, for some reason, gets exported with FONT COLOR tags all over it, and none of the others do). One time, I found this in the middle of a chapter:

    Code:
    He walked over to <SPAN LANGUAGE="xzz">the</SPAN> dresser and picked up the book.
    Like, what in god's name is that SPAN doing there? In that case, all I did was go into the original ODT, delete that sentence, and type it back in, and that bit of code vanished when I exported it to HTML again. But LO/OO have all sorts of invisible formatting in them that, as far as I know, there's no way to see. That FONT COLOR thing drives me bonkers, because short of actually retyping the whole chapter in a new, clean ODT file, I have no idea how to make it stop generating those FONT COLOR tags. (Yes, I've tried resetting the color, changing it to red and then back to auto, etc.)

    The script I wrote also takes care of certain menial things, like inserting pagebreak tags, putting in the TOC nav code, and so on. It's easier for it to do that if I strip out all the stupid crap first.

    And there's also the fact that as a web developer, I find badly-generated HTML code to just be offensive on its face.

    Here's the vim script that I currently run my NIP through when I'm test-exporting it to MOBI:

    Code:
    " Strip any stupid left-aligning.
    :%s/ ALIGN=LEFT//ge
    
    " Get rid of all the useless inline styles.
    :%s/margin-bottom: 0in;\? \?//ge
    :%s/font-style: normal;\? \?//ge
    :%s/font-weight: normal;\? \?//ge
    :%s/text-decoration: none;\? \?//ge
    :%s/ STYLE=""//ge
    :%s/>\n		/>/ge
    :%s/ HREF=".*writer8"//ge
    :%s/\(<B>CONTENTS<\/B>\)/<a name="toc">\1<\/a>/ge
    :%s/<FONT COLOR="#......">\(\_.\{-}\)<\/FONT>/\1/ge
    :%s/<FONT FACE="Times New Roman, serif">\(\_.\{-}\)<\/FONT>/\1/ge
    :%s/<SPAN>\(\_.\{-}\)<\/SPAN>/\1/ge
    :%s/<SPAN>\(\_.\{-}\)<\/SPAN>/\1/ge
    :%s/<SPAN>\(\_.\{-}\)<\/SPAN>/\1/ge
    /<\/HEAD>
    normal O<guide><reference type="toc" title="Table of Contents" href="#toc"></reference></guide>
    :%s/\(Chapter\|Interlude:\)\n/\1 /ge
    /About\nthe Author
    normal J
    
    " Replace # breaks with em dashes
    :%s/>#/>\&mdash;\&mdash;\&mdash;/ge
    :%s/#</\&mdash;\&mdash;\&mdash;</ge
    
    " Ensure a page break.
    :%s/^<\/DIV>$/<\/DIV>
    <mbp:pagebreak \/>/ge
    
    " Page break before the TOC section, too.
    :%s/<\/P>\n<DIV/<\/P>
    <mbp:pagebreak \/>
    <DIV/g
    
    " Replace high-Unicode chars with HTML entity references.
    :%s/–/\&ndash;/ge
    :%s/—/\&mdash;/ge
    :%s/--/\&mdash;/ge
    :%s/‘/\&lsquo;/ge
    :%s/’/\&rsquo;/ge
    :%s/“/\&ldquo;/ge
    :%s/”/\&rdquo;/ge
    :%s/\.\.\./\&hellip;/ge
    :%s/é/\&eacute;/ge
    :%s/ï/\&iuml;/ge
    
    " Search for any other rogue characters.
    /[^a-zA-Z 0-9!@#$%^&*()^I=";:\.,><\/?}|{	-]
    "Energy and persistence conquer all things." - Benjamin Franklin
    Hey! You there, with that duck on your head! Read my blog: When All of a Sudden...

  3. #13
    Senior Member gavintonks's Avatar
    Join Date
    May 2011
    Location
    Johannesburg, Gauteng, South Africa
    Posts
    621
    Reputation
    221
    smashwords has a free downlaod book they made mine very easy now they want me to upgrade to go in apple,

  4. #14
    Moderator Telcontar's Avatar
    Join Date
    Mar 2011
    Location
    Michigan, USA
    Posts
    1,000
    Reputation
    558
    That is... bizarre. My html export is clean. What version are you using? Do you mess around with your styles a lot?

  5. #15
    Member kennyc's Avatar
    Join Date
    May 2011
    Location
    Denver, CO
    Posts
    91
    Reputation
    10
    Yes, I've published two short stories and a collection of poetry. I just uploaded the Word Doc and it converted fine with one exception. One poem required indentation and I had to replace plain spaces with tabs (in the Word Doc) to get it converted properly. It was all quite straight-forward

    I signed up at Smashwords publishing and for the life of me it is confusing as hell and I've done nothing with it at this point.
    Kenny A. Chaffin
    Art Gallery - Photo Gallery- Print Gallery - Writing&Poetry
    "Strive on with Awareness" - Siddhartha Gautama

  6. #16
    Member Robert Donnell's Avatar
    Join Date
    Jun 2012
    Location
    South Louisiana
    Posts
    73
    Reputation
    35
    There is a free book on Amazon called "Building your book for Kindle" I used the steps in that that and it worked fine.

    However you really do need to have several people look your work over for spelling, grammar, factual consistencies, etc before you publish. Then advertizing becomes your problem.

  7. #17
    Moderator Benjamin Clayborne's Avatar
    Join Date
    Sep 2011
    Posts
    1,852
    Portfolio Entries
    1
    Reputation
    1176
    Quote Originally Posted by Telcontar View Post
    That is... bizarre. My html export is clean. What version are you using? Do you mess around with your styles a lot?
    LibreOffice 3.5.4.2 Build ID: 350m1(Build:2). Installed with apt-get on Kubuntu 10.04.

    I don't do much of anything with styles. I created a new doc and wrote the following sentence:

    The quick brown fox jumps over the lazy dog.[enter]
    Then, without doing anything else, I went to File > Save As and saved it as HTML. Here's the output:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <HTML>
    <HEAD>
    	<META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=iso-8859-1">
    	<TITLE></TITLE>
    	<META NAME="GENERATOR" CONTENT="LibreOffice 3.5  (Linux)">
    	<META NAME="CREATED" CONTENT="20120616;20202200">
    	<META NAME="CHANGED" CONTENT="20120616;20230700">
    	<STYLE TYPE="text/css">
    	<!--
    		@page { margin: 0.79in }
    		P { margin-bottom: 0.08in }
    	-->
    	</STYLE>
    </HEAD>
    <BODY LANG="en-US" DIR="LTR">
    <P STYLE="margin-bottom: 0in">The quick brown fox jumps over the lazy
    dog.</P>
    <P STYLE="margin-bottom: 0in"><BR>
    </P>
    </BODY>
    </HTML>
    I'm not sure why it felt compelled to put inline margin-bottom properties in the two P tags, rather than just make P default to margin-bottom: 0in in the style block. Anyway, with a whole bunch more text, it gets even worse.
    "Energy and persistence conquer all things." - Benjamin Franklin
    Hey! You there, with that duck on your head! Read my blog: When All of a Sudden...

  8. #18
    Moderator Reaver's Avatar
    Join Date
    Nov 2011
    Location
    Spokane, WA
    Posts
    1,737
    Portfolio Entries
    4
    Reputation
    1565
    Quote Originally Posted by Benjamin Clayborne View Post
    Code:
    " Strip any stupid left-aligning.
    :%s/ ALIGN=LEFT//ge
    
    " Get rid of all the useless inline styles.
    :%s/margin-bottom: 0in;\? \?//ge
    :%s/font-style: normal;\? \?//ge
    :%s/font-weight: normal;\? \?//ge
    :%s/text-decoration: none;\? \?//ge
    :%s/ STYLE=""//ge
    :%s/>\n        />/ge
    :%s/ HREF=".*writer8"//ge
    :%s/\(<B>CONTENTS<\/B>\)/<a name="toc">\1<\/a>/ge
    :%s/<FONT COLOR="#......">\(\_.\{-}\)<\/FONT>/\1/ge
    :%s/<FONT FACE="Times New Roman, serif">\(\_.\{-}\)<\/FONT>/\1/ge
    :%s/<SPAN>\(\_.\{-}\)<\/SPAN>/\1/ge
    :%s/<SPAN>\(\_.\{-}\)<\/SPAN>/\1/ge
    :%s/<SPAN>\(\_.\{-}\)<\/SPAN>/\1/ge
    /<\/HEAD>
    normal O<guide><reference type="toc" title="Table of Contents" href="#toc"></reference></guide>
    :%s/\(Chapter\|Interlude:\)\n/\1 /ge
    /About\nthe Author
    normal J
    
    " Replace # breaks with em dashes
    :%s/>#/>\—\—\—/ge
    :%s/#</\—\—\—</ge
    
    " Ensure a page break.
    :%s/^<\/DIV>$/<\/DIV>
    <mbp:pagebreak \/>/ge
    
    " Page break before the TOC section, too.
    :%s/<\/P>\n<DIV/<\/P>
    <mbp:pagebreak \/>
    <DIV/g
    
    " Replace high-Unicode chars with HTML entity references.
    :%s/–/\–/ge
    :%s/—/\—/ge
    :%s/--/\—/ge
    :%s/‘/\‘/ge
    :%s/’/\’/ge
    :%s/“/\“/ge
    :%s/”/\”/ge
    :%s/\.\.\./\…/ge
    :%s/é/\é/ge
    :%s/ï/\ï/ge
    
    " Search for any other rogue characters.
    /[^a-zA-Z 0-9!@#$%^&*()^I=";:\.,><\/?}|{    -]
    Well that's just great, Ben! Sharing your TOP SECRET subroutines on this forum!

    Sorry old friend, but I have to initiate the Remote Shutdown Protocols.
    I will say of the Lord, “He is my refuge and my fortress, my God, in whom I trust.”

    -Psalms 91:2

  9. #19
    Member kennyc's Avatar
    Join Date
    May 2011
    Location
    Denver, CO
    Posts
    91
    Reputation
    10
    Damn! Damn! Damn! and I was just about to use that to take over the world!
    Kenny A. Chaffin
    Art Gallery - Photo Gallery- Print Gallery - Writing&Poetry
    "Strive on with Awareness" - Siddhartha Gautama

  10. #20
    Member boboratory's Avatar
    Join Date
    Aug 2011
    Location
    Mesa, AZ
    Posts
    57
    Reputation
    30
    Google also has an open source project called Sigil...

    The thing about Smashwords is that as bad as the Meatgrinder is, and it is, once you are through it, you're in a bunch of stores instead of fighting with each one individually...

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Amazon Kindle market place
    By MichelleHall99 in forum Publishing
    Replies: 25
    Last Post: 7-1-12, 9:07 AM
  2. Kindle vs real book
    By ALB2012 in forum Chit Chat
    Replies: 13
    Last Post: 6-11-12, 10:51 PM
  3. New Kindle
    By Kaellpae in forum Chit Chat
    Replies: 4
    Last Post: 5-11-12, 7:19 PM
  4. Kindle Lending Offer
    By Graham Irwin in forum Self-Promotion
    Replies: 3
    Last Post: 1-21-12, 5:37 PM
  5. I just got a Kindle!
    By Legerdemain in forum Chit Chat
    Replies: 36
    Last Post: 11-24-11, 1:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •