[Pro] Download a Kindle (.mobi) file

Hi everyone

On several of my websites I give viewers the opportunity to download a PDF file. This is a service and no payment is involved. I’d like to offer a Kindle version in some cases but the action ‘Link to PDF’ will not see the .mobi file. Try the ‘Link to file’ action, I thought. All was well until I tried downloading it (Safari 5.1.7 OSX 10.6.8) and got a browser full of gibberish!

Is there an equivalent action ‘Link to Mobi’? or another way to download that I’m missing. I’ve not tried this on a PC, whatever method I use it needs to work across most browsers of course.

Any help would be gratefully received.
Many thanks.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I assume you mean that you tried downloading the .mobi file and saw the source code for the file rather than the source code when you tried to download the Action.

The problem is that the server and/or browser don’t know how to support the .mobi file format so they fall back to just showing you the source code as if it were a plain text file.

If the server supports PHP then I’d suggest using the Force Download (PHP) Action;
http://actionsforge.com/actions/view/198-force-download-php

As the name suggests it uses PHP to try and convince the browser that the file should be downloaded rather than displayed in the browser.
Regards,
Tim.

On 16 Sep 2012, at 10:09, WildCottage wrote:

All was well until I tried downloading it (Safari 5.1.7 OSX 10.6.8) and got a browser full of gibberish!


FreewayActions.com - Freeware and commercial Actions for Freeway Express & Pro - http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim

Yes, it’s the contents of the .mobi file that fill the browser window. I’ll give the php action a go. The server is running php v 5.3.14

Many thanks for your quick reply.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Tim

Does exactly what it says on the tin!

Wonderful.

Again many thanks for the info.

Wild Cottage


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options