Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-17-2013, 11:07 PM   #76
JGSTYLE
Junior Member
JGSTYLE began at the beginning.
 
JGSTYLE's Avatar
 
Posts: 6
Karma: 10
Join Date: Apr 2012
Device: iPhone 4
Hi Dale,

Thanks for your help. I did as directed and this output was returned:

Quote:
W:\Documents\epub>type "\\.psf\Home\Documents\epub\The Cold Elf.epub"
PK♥♦
`½▄6oa½,¶ ¶ mimetypeapplication/epub+zipPK♥♦¶ á]π6
g╚╙ú ± ▬ META-INF/container.xmlUÄ┴
┬0►D∩é*►÷*m⌠
looks like I've got an extra line there...is that a possible issue?
JGSTYLE is offline   Reply With Quote
Old 07-18-2013, 02:17 AM   #77
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,781
Karma: 5072196
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
No, that looks fine. It is exactly what you should expect. The additional line doesn't matter. Only the 2 PK's with the mimetype in between matters.
DaleDe is offline   Reply With Quote
Old 07-18-2013, 12:20 PM   #78
JGSTYLE
Junior Member
JGSTYLE began at the beginning.
 
JGSTYLE's Avatar
 
Posts: 6
Karma: 10
Join Date: Apr 2012
Device: iPhone 4
Ok, thanks. Well, it's obvious the problem is with Smashwords then.

I had contacted them earlier but still have not heard back.

After Googling some more, it seems that the browser may be reporting the mimetype wrong at upload time -but still only with their service.

The funny thing is one of the recommended solutions was to upload using Chrome, except that I was already using Chrome, so that's already tried and failed.

Just for closure I'll report back if I get any decent workaround or resolution from Smashwords.
JGSTYLE is offline   Reply With Quote
Old 07-18-2013, 08:37 PM   #79
amyg
Enthusiast
amyg is on a distinguished road
 
Posts: 39
Karma: 56
Join Date: Sep 2011
Location: Los Angeles, CA
Device: Nook simple touch, iPad
For what it's worth, I have submitted epub books to Smashwords that I made using this applescript and they were accepted.

Is it possible Apple iTunes added its iTunesMetadata.plist? That might cause problems with Smashwords.
amyg is offline   Reply With Quote
Old 07-18-2013, 08:56 PM   #80
JGSTYLE
Junior Member
JGSTYLE began at the beginning.
 
JGSTYLE's Avatar
 
Posts: 6
Karma: 10
Join Date: Apr 2012
Device: iPhone 4
Quote:
Originally Posted by amyg View Post
For what it's worth, I have submitted epub books to Smashwords that I made using this applescript and they were accepted.

Is it possible Apple iTunes added its iTunesMetadata.plist? That might cause problems with Smashwords.
Yeah, it's definitely not this script. I was grasping at straws, apparently. The epubs I create are accepted everywhere else. I'm just going to have to backup and go through my process of building the files to see where I could be going wrong.

Smashwords responded to me today but all they will say is to make sure it's an epub 2, as they don't accept epub 3 yet.

I don't want to hijack this thread any longer since my issue is not with this script, but thanks to all who made suggestions, I appreciate it.
JGSTYLE is offline   Reply With Quote
Old 08-03-2013, 05:40 PM   #81
LLV
Junior Member
LLV began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2013
Device: none
ePub Unzip 1.0 app and the Epub Zip 1.0.3.app

Quote:
Originally Posted by danrodney View Post
First I wanted to thank pdurrant so much for writing the EPUB Zip script!

However I disagree that unzipping is so easy. I've had some EPUBs that do not properly unzip with the Finder's native unzipper (and renaming your files is a pain if you need to do it a lot). Using pdurrant's code as a reference, I went ahead and made an UnZip app that uses the terminal command which I find more reliable.

While I was at it I updated the EPUB Zip 1.0.2.app to remove the confirmation dialog at the end (to speed things up) and make the dialog messages more consistent with the UnZipper I created.

Here's the new version for all to enjoy. It contains:
EPUB UnZip 1.0.app
EPUB Zip 1.0.3.app


Thanks again for your contribution.
Dan
Dan,

I would like to try the ePub Unzip and the Epub Zip, where can I get them?

Thanks!
LLV is offline   Reply With Quote
Old 08-03-2013, 06:17 PM   #82
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,335
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by LLV View Post
Dan,

I would like to try the ePub Unzip and the Epub Zip, where can I get them?

Thanks!
Dan posted them in his very next post to the one you quoted. But since he posted them I enhanced my AppleScript to do both zipping and unzipping.
pdurrant is offline   Reply With Quote
Old 08-03-2013, 06:21 PM   #83
LLV
Junior Member
LLV began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2013
Device: none
Quote:
Originally Posted by pdurrant View Post
Dan posted them in his very next post to the one you quoted. But since he posted them I enhanced my AppleScript to do both zipping and unzipping.
Hi, That is great! Where can I find them?

Thanks!
LLV is offline   Reply With Quote
Old 08-03-2013, 06:27 PM   #84
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,335
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Quote:
Originally Posted by LLV View Post
Hi, That is great! Where can I find them?

Thanks!
Dan's scripts.

My script.

(From this post and this post respectively.)
pdurrant is offline   Reply With Quote
Old 08-03-2013, 06:29 PM   #85
LLV
Junior Member
LLV began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2013
Device: none
Quote:
Originally Posted by LLV View Post
Hi, That is great! Where can I find them?

Thanks!
I just found them. Thanks!
LLV is offline   Reply With Quote
Old 08-03-2013, 06:31 PM   #86
LLV
Junior Member
LLV began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2013
Device: none
Quote:
Originally Posted by pdurrant View Post
Dan's scripts.

My script.

(From this post and this post respectively.)


Hi, You are just wonderful! Thanks so much!
LLV is offline   Reply With Quote
Old 10-17-2013, 04:02 PM   #87
stuzog
Junior Member
stuzog began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2013
Device: Kindle for Mac, iPad2,Kindle Paperwhite
ePub Zip/Unzip 2.1.1 copies folder

Today, when dropping a complete EPUB folder onto the ePub Zip/Unzip 2.1.1 icon (OS X 10.8.5) it started copying the epub folder before compressing it into an epub file. As a result, I get original, original.epub + copy1, copy1.epub generated, instead of original, (new)original.epub, and so on.

What's happening? Is this just a bug in 2.1.1 or is it something on my Mac?
stuzog is offline   Reply With Quote
Old 10-17-2013, 04:13 PM   #88
stuzog
Junior Member
stuzog began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2013
Device: Kindle for Mac, iPad2,Kindle Paperwhite
OK, a restart cured that condition!
stuzog is offline   Reply With Quote
Old 11-19-2013, 01:27 PM   #89
Wonderment
Junior Member
Wonderment began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2013
Device: iPad
Thanks pdurrant- this still continues to help.
Wonderment is offline   Reply With Quote
Old 04-02-2014, 02:16 PM   #90
Bonnie_27
Member
Bonnie_27 began at the beginning.
 
Bonnie_27's Avatar
 
Posts: 24
Karma: 10
Join Date: Mar 2014
Location: Canada
Device: Kobo Glo N613
Quote:
Originally Posted by pdurrant View Post
Dan's scripts.

My script.

(From this post and this post respectively.)
hi I just came across this I know its a old post but I was wondering if this works for Windows as well I have version 8
Bonnie_27 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Applescript Wrapper Application for Kindlegen pdurrant Kindle Formats 20 07-09-2014 06:29 PM
How to unzip a Calibre ZIP file on a Mac? webfolk Calibre 15 06-03-2012 07:01 PM
Useful Applescript for Mac OS X users pdurrant Kindle Formats 11 07-23-2011 06:00 AM
Mobiperl mobi2html changesetR84.zip won't unzip cyberbaffled Kindle Formats 0 06-15-2010 11:25 PM
Mac OS X lit2rtf AppleScript thingy FourOhFour Sony Reader 11 08-11-2007 01:02 AM


All times are GMT -4. The time now is 12:49 AM.


MobileRead.com is a privately owned, operated and funded community.