10-26-2010, 08:23 PM | #16 |
quantum mechanic
Posts: 705
Karma: 483827
Join Date: Aug 2010
Location: NorCal
Device: Nook1, Samsung Transform, Nook2
|
Ah, forgive me if I'm missing something important, but unencrypted mobi files convert fine using Calibre. I've done a fair number of these with no problems and no formatting issues. Or was the question more about coding or having a standalone program to do this?
|
06-29-2012, 11:42 AM | #17 |
Banned
Posts: 4
Karma: 10
Join Date: Jun 2012
Device: none
|
Hello, I bought a kindle book from amazon and downloaded it on my Mac Kindle reader, now I want to convert it to PDF. I read that Calibre can do it but first the DRM needs to be removed. I used a Calibre plugin to do that but it failed saying it couldn't find the PID. I read elsewhere that Mobipocker Reader could give the PID, I installed the Windows version in Wine but it didn't recognize the .azw or .mobi
Any solution ? |
Advert | |
|
06-29-2012, 12:17 PM | #18 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
We can't give you any help with DRM removal here, I'm afraid, but Google for "Apprentice Alf".
|
06-30-2012, 01:25 PM | #19 |
Resident Curmudgeon
Posts: 74,553
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
It's actually really easy to convert azw3 to ePub. All you. Do is tweak ePub it and pull out the files. Then you can build an ePub from the files. You will need to add in a cover XML and a few minor tweaks to make it valid. Then you may have some fairly clean code. Cleaner then you get from Mobi > ePub.
In the azw3 you are extracting the code for the KF8. |
07-04-2012, 06:51 AM | #20 | |
Grand Sorcerer
Posts: 27,598
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Advert | |
|
07-04-2012, 03:37 PM | #21 |
Resident Curmudgeon
Posts: 74,553
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
08-12-2014, 10:16 AM | #22 |
Junior Member
Posts: 5
Karma: 10
Join Date: Aug 2014
Device: Galaxy Tab 4 10.1
|
how do you change file extension from azw to mobi
so I know this is an old thread -
but I am considering buying a samsung tablet and want to use as an ereader - When you put your kindle book on the sd card - kindle will not find it since it in on the maid storage - so as an alternative am considering Moon reader - which reads only mobi and not azw - so this means the need to convert - the solution above - simply change the file extension sounds easy - but I can't figure out how! - when I click on 'rename' I don't have access to the file type. Help! |
08-12-2014, 10:29 AM | #23 | |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Quote:
First thing I do on any Windows computer. |
|
08-14-2014, 02:28 PM | #24 |
Fuzzball, the purple cat
Posts: 1,274
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
|
|
08-14-2014, 03:41 PM | #25 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
(Course, I do have to manually setup a lot of xdg-open file associations. Archlinux, you see. ) |
|
08-14-2014, 04:44 PM | #26 | |
Resident Curmudgeon
Posts: 74,553
Karma: 129670952
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
You have my condolences. Sorry you use some version linux. But for all it's faults, Windows 7 is very good and works very well. Windows 8 is quite good too if you use Classic Shell. |
|
08-14-2014, 05:39 PM | #27 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
To each his own... but my system is now working far better for me than WinXP-8 ever did. Faster, too. |
|
08-15-2014, 09:27 AM | #28 | |
creator of calibre
Posts: 43,996
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
Code:
#!/usr/bin/env python2 # vim:fileencoding=utf-8 from __future__ import (unicode_literals, division, absolute_import, print_function) __license__ = 'GPL v3' __copyright__ = '2013, Kovid Goyal <kovid at kovidgoyal.net>' BROWSER = 'firefox' PDF = 'okular' EBOOK = 'ebook-viewer' EDITOR = ('gvim', '-f') IMAGE = 'gwenview' OFFICE = ('libreoffice', '--nologo') DIRECTORY = 'dolphin' COMIC = 'okular' ARCHIVE = 'ark' import os import sys import mimetypes import urlparse import subprocess import urllib arg = sys.argv[-1] base = os.path.dirname(os.path.abspath(os.path.realpath(__file__))) custom_mimetypes = os.path.join(base, 'conf/mime.types') url = urlparse.urlparse(arg) def call(args, path): if isinstance(args, basestring): args = [args] raise SystemExit(subprocess.Popen(list(args) + [path]).wait()) if url.scheme in {'http', 'https', 'ftp'}: from libqtile.command import Client c = Client() if c.group.info()['name'] != '2': c.screen.togglegroup('2') call(BROWSER, arg) if url.scheme in {'file', ''}: path = url.path if path and not os.path.exists(path): path = urllib.unquote(path) ext = path.rpartition('.')[-1] if path else '' if not path or not os.path.exists(path): print (path, 'does not exist') raise SystemExit(1) if os.path.isdir(path): call(DIRECTORY, path) if ext in {'epub', 'mobi', 'azw', 'azw3', 'fb2', 'lrf', 'pdb', 'prc', 'lit', 'txtz', 'htmlz'}: call(EBOOK, path) if ext == 'pdf': call(PDF, path) if ext in {'cbz', 'cbr'}: call(COMIC, path) if ext in {'gz', 'bz2', 'xz', 'txz', 'tgz', 'tbz2', 'rar', '7z'}: call(ARCHIVE, path) if ext in {'opf', 'xml', 'html', 'htm', 'xhtm', 'xhtml', 'zip'}: call(EDITOR, path) mimetypes.init(mimetypes.knownfiles + [custom_mimetypes]) mt = mimetypes.guess_type(path)[0] if mt: if mt.startswith('text/'): call(EDITOR, path) if mt.startswith('image/'): call(IMAGE, path) if mt.startswith('application/vnd.openxmlformats.') or mt.startswith('application/vnd.oasis.opendocument.'): call(OFFICE, path) for x in {'application/msword', 'application/vnd.ms-'}: call(OFFICE, path) |
|
08-17-2014, 03:24 PM | #29 | |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Quote:
It just works as a command-line wrapper for opening files, though -- not for integrating into a file manager, so ultimately a better solution may simply be to assemble the mimeapps.list that custom-specifies everything I use and add it to the list of dotfiles I would copy from computer to computer. Or setting all files to open with "xdg-open"... |
|
08-17-2014, 10:54 PM | #30 |
creator of calibre
Posts: 43,996
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It depends on the file manager, some of them use xdg-open, some do not. Personally, I dont use file managers. But, if you do use one, then setting all files to open with xdg-open will do the trick. I find maintaining ~/bin/xdg-open for file associations is much easier in the long term. It's more powerful and needs much fewer lines of text to maintain.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to convert .pdf to .azw | maxxim88 | Other formats | 4 | 09-15-2010 04:00 AM |
azw convert for iphone | jomarch | Apple Devices | 4 | 08-11-2010 04:22 AM |
Convert Epub and Msreader formats to Kindle formats | bruc79 | Calibre | 17 | 06-22-2010 04:50 AM |
how to convert azw files? | lizzybeth05 | Amazon Kindle | 11 | 02-17-2010 01:47 PM |
.AZW formats? | crewpsu | Bookeen | 13 | 03-10-2008 01:40 PM |