Welcome, Guest! Why not create a free forum account today and join in with the world's friendliest bunch of Kindle enthusiasts

How to upload a MOBI?

Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Offline phaeton
19 Sep 2012, 10:49 AM | Post: #41

Junior Member
**

Posts: 44
Joined: Sep 2012

Thanked 0 times

RE: How to upload a MOBI?

(19 Sep 2012 06:59 AM)J.S.Egan Wrote:  From the command line you need to run KindleGen and "point" it at your html file - for example, type:

kindlegen.exe "c:\My Documents\MyBook.html"

This will (IIRC) create "MyBook.mobi" in "My Documents".

omg. many thanks, & for persevering with my dull intellect Smile

so create some html content in NotePad, formally name it as a file, then in cmd -

kindlegen.exe "c:\My Documents\MyHtml_content.html" - omitting the quotes?

P
Offline J.S.Egan Reading
19 Sep 2012, 11:57 AM | Post: #42

Just This Guy, You Know?
*****

Posts: 458
Joined: Jun 2012

Thanked 5 times

What I Read

RE: How to upload a MOBI?

You will need the quotes if there is a space in one of the directory/folder/file names.
Offline phaeton
19 Sep 2012, 03:30 PM | Post: #43

Junior Member
**

Posts: 44
Joined: Sep 2012

Thanked 0 times

RE: How to upload a MOBI?

(19 Sep 2012 11:57 AM)J.S.Egan Wrote:  You will need the quotes if there is a space in one of the directory/folder/file names.

ok thanks, it's experiment time again ;] But i feel like I am making some progress at last - your help here is greatly appreciated! Smile
Offline spindizzy
19 Sep 2012, 04:18 PM | Post: #44

Member
***

Posts: 57
Joined: Feb 2011

Thanked 0 times

RE: How to upload a MOBI?

This post was last modified: 21 Sep 2012 01:08 PM by spindizzy.
(19 Sep 2012 03:30 PM)phaeton Wrote:  
(19 Sep 2012 11:57 AM)J.S.Egan Wrote:  You will need the quotes if there is a space in one of the directory/folder/file names.

ok thanks, it's experiment time again ;] But i feel like I am making some progress at last - your help here is greatly appreciated! Smile

you can also look at any html file with your web browser of choice.

In windows, the easiest way is probably to open the file manager and find your new .html file. It will probably already be marked as a browser file, so clkicking on it (or double clicking) will open it in either Internet Explorer or whatever your default browser happens to be.
If you right click you could also do "Open With" and choose a browser or Notepad (or whatever)

You can also use your web browser to edit the html file (with pretty colours). I haven't used this since I use Dreamweaver for web page creation, but in Internet Explorer, the Tools menu will give you Developer Tools which brings up an html editor ( you may find your html code under the Script tab rather than the HTML tab)
In Chrome, tools->developer tools gives you a nice split window with the html code at the bottom and the viewd page at the top, so you can immediately see the effect of your code edits.... looks quite useful

Chris
Offline phaeton
20 Sep 2012, 07:55 PM | Post: #45

Junior Member
**

Posts: 44
Joined: Sep 2012

Thanked 0 times

RE: How to upload a MOBI?

(19 Sep 2012 04:18 PM)spindizzy Wrote:  
(19 Sep 2012 03:30 PM)phaeton Wrote:  
(19 Sep 2012 11:57 AM)J.S.Egan Wrote:  You will need the quotes if there is a space in one of the directory/folder/file names.

ok thanks, it's experiment time again ;] But i feel like I am making some progress at last - your help here is greatly appreciated! Smile

you can also look at any html file with your web browser of choice.

In windows, the easiest way is probably to open the file manager and find your new .html file. It will probably already be marked as a broser file, so clkicking on it (or double clicking) will open it in either Internet Explorer or whatever your default browser happens to be.
If you right click you could also do "Open With" and choose a browser or Notepad (or whatever)

You can also use your web browser to edit the html file (with pretty colours). I have used this since I use Dreamweaver for web page creation, but in Internet Explorer, the Tools menu will give you Developer Tools which brings up an html editor ( you may find your html code under the Script tab rather than the HTML tab)
In Chrome, tools->developer tools gives you a nice slit window with the html code at the bottom and the viewd page at the top, so you can immediately see the effect of your code edits.... looks quite useful

Wow Chris, thanks Smile

This is starting to look quite funky. First up I need to copy-paste a page from my MS and wrap it in html / save it in NotePad, then see if I can open it in a browser - does that sound reasonable please?

It's funny, I have opened that split screen application by mistake many times, & gazed at the html.
Offline spindizzy
21 Sep 2012, 01:37 PM | Post: #46

Member
***

Posts: 57
Joined: Feb 2011

Thanked 0 times

RE: How to upload a MOBI?

(20 Sep 2012 07:55 PM)phaeton Wrote:  This is starting to look quite funky. First up I need to copy-paste a page from my MS and wrap it in html / save it in NotePad, then see if I can open it in a browser - does that sound reasonable please?

It's funny, I have opened that split screen application by mistake many times, & gazed at the html.

Some minimal html that you can make would be (create in Notepad perhaps):

<html>
<head><title>My test page</title></head>

<body>
Cut and paste some text in here<br>
and some more text<p>
and a third bit of text
</body>
</html>

The <br> gives a new line, <p> gives a new paragraph.

Save the file as something.html (use the "All files" setting or it will end up as something.html.txt)
Then in file manager it will know to try and open it in a browser
Offline phaeton
21 Sep 2012, 11:10 PM | Post: #47

Junior Member
**

Posts: 44
Joined: Sep 2012

Thanked 0 times

RE: How to upload a MOBI?

(21 Sep 2012 01:37 PM)spindizzy Wrote:  Some minimal html that you can make would be (create in Notepad perhaps):

<html>
<head><title>My test page</title></head>

<body>
Cut and paste some text in here<br>
and some more text<p>
and a third bit of text
</body>
</html>

The <br> gives a new line, <p> gives a new paragraph.

Save the file as something.html (use the "All files" setting or it will end up as something.html.txt)
Then in file manager it will know to try and open it in a browser

That's great, thanks!

I'm going to save these posts than try to follow them, step by step.

A big hurdle (for me) is going to be a Table of Contents [TOC]. In Word you can create a three tiered TOC by using Headings (Styles) H1, H2 & H3. But Word processing is so unreliable as to be next to useless for eBook conversion. The last time I used headings only H1 was recognised. H2 and H3 were ignored! I thought it was me but have since read that Word styles behave differently in different situations. That's another reason why I'd like to learn HTML.

Am hoping a three level TOC will be okay in HTML, for example, levels -

1. main title
2. chapter/s
3. sub-heading/s

Many thanks again!
Offline J.S.Egan Reading
22 Sep 2012, 05:47 AM | Post: #48

Just This Guy, You Know?
*****

Posts: 458
Joined: Jun 2012

Thanked 5 times

What I Read

RE: How to upload a MOBI?

A 3-level ToC will be fine in the HTML, but in the NCX you can only include the TOP level. (Don't forget - there are TWO ToCs!)

Here is an example of a multi-level ToC which I did in HTML:

http://support.dataacademy.com/default.asp?W10
Offline phaeton
22 Sep 2012, 05:51 PM | Post: #49

Junior Member
**

Posts: 44
Joined: Sep 2012

Thanked 0 times

RE: How to upload a MOBI?

(22 Sep 2012 05:47 AM)J.S.Egan Wrote:  A 3-level ToC will be fine in the HTML, but in the NCX you can only include the TOP level. (Don't forget - there are TWO ToCs!)

Here is an example of a multi-level ToC which I did in HTML:

http://support.dataacademy.com/default.asp?W10

Oh right! Smile

This perhaps simplifies matters.

I notice you put a return to home page [toc] at the bottom of each page: could you do this in an eBook as well please?

Thanks.
Offline J.S.Egan Reading
22 Sep 2012, 06:06 PM | Post: #50

Just This Guy, You Know?
*****

Posts: 458
Joined: Jun 2012

Thanked 5 times

What I Read

RE: How to upload a MOBI?

Yes - absolutely. (Although there is a bit of a cheat on that site, because there is some code that just automagically inserts the 'Return To Home' thing, whereas you would have to put it there "by hand".)

Currently Reading: Last Book I Read: Favourite Genres:Women's LitFavourite eBooks:
See my recommendations