Erinevus lehekülje "Calibre" redaktsioonide vahel

Allikas: Kuutõrvaja
(Sissejuhatus)
83. rida: 83. rida:
 
To access your library from the Kindle click on Menu –> Experimental –> Launch Web Browser and key in the IP and port number of your Calibre server. Make sure to bookmark it immediately, typing numbers in on the Kindle is extremely tedious.
 
To access your library from the Kindle click on Menu –> Experimental –> Launch Web Browser and key in the IP and port number of your Calibre server. Make sure to bookmark it immediately, typing numbers in on the Kindle is extremely tedious.
  
  # calibre-smtp --attachment /root/calibre/bbc_daily.mobi --relay smtp.gmail.com --port 587 --username  gusername --password gpassword --encryption-method TLS gusername@gmail.com your-kindle@free.kindle.com  ""
+
  # calibre-smtp --attachment /root/calibre/bbc_daily.mobi --relay smtp.gmail.com \
 +
--port 587 --username  gusername --password gpassword \
 +
--encryption-method TLS gusername@gmail.com your-kindle@free.kindle.com  ""

Redaktsioon: 19. märts 2013, kell 13:06

Sissejuhatus

Calibre on üsnagi võimas töövahend e-raamatutega tegelemiseks. Ta suudab konvertida palju erinevaid formaate, omab selleks nii GUI kui CLI (käsurea) töövahendeid ning pakub isegi oma e-raamatutele kaugelt ligipääsemiseks erinevaid võimalusi.

  • EPUB = Nook, Sony PRS, Ipad, and etc...
  • MOBI/PRC = Amazon Kindle and the Cybook

You can use the Connect/share toolbar button to turn the Content Server on and off. If it’s not already visible, visit the toolbar preferences again and add it to the list of current actions:

Käsureal konvertimine

Calibre on hea vahend konvertimiste läbiviimiseks käsureal nimega ebook-converter, mis saab aru ka html failidest.

    <head>
        <title>Sample document</title>
    </head>
    <body>
        <h1>Chapter 1</h1>
        ...
        <h2>Section 1.1</h2>
        ...
        <h2>Section 1.2</h2>
        ...
        <h1>Chapter 2</h1>
        ...
        <h2>Section 2.1</h2>
        ...
    </body>
</html>

Then, we set the options as:

Level 1 TOC : //h:h1 Level 2 TOC : //h:h2

This will result in an automatically generated two level Table of Contents that looks like:

Chapter 1

   Section 1.1
   Section 1.2

Chapter 2

   Section 2.1

Käsureavõti calbrel oleks seljuhul

--level1-toc '//h:h1'

calibre-server

Debianis paigaldamiseks:

# apt-get install calibre

Seejärel kopeerime nt enda raamatukogu /home/calibre ja stardime serveri

# calibre-server --with-library=/home/calibre

Veel võtmeid:

--url-prefix /calibre 
--daemonize

sest vaikimisi lastakse kõik ligi

--password 

Kuulatav port, vaikimisi 8080

--port, -p

kasutajanimi, vaikimisi calibre

--username

Server.png

To access your library from the Kindle click on Menu –> Experimental –> Launch Web Browser and key in the IP and port number of your Calibre server. Make sure to bookmark it immediately, typing numbers in on the Kindle is extremely tedious.

# calibre-smtp --attachment /root/calibre/bbc_daily.mobi --relay smtp.gmail.com \
--port 587 --username  gusername --password gpassword \
--encryption-method TLS gusername@gmail.com your-kindle@free.kindle.com  ""