Hosting LiveCode stacks

Monk in Exile david.bovill at gmail.com
Wed May 7 12:32:23 EDT 2014


Thanks Simon and Richard - so I guess "application/octet-stream" is the way
to go. I'm pretty sure I remember something about "application/livecode"
beign registered?


On 6 May 2014 19:27, Simon Smith <hello at simonsmith.co> wrote:

> Hi
>
> You could just ftp the files up, zip them, or the add the following to your
> themes functions.php file:
>
> add_filter('upload_mimes', 'add_custom_upload_mimes');
>
> function add_custom_upload_mimes($existing_mimes) {
> $existing_mimes['livecode'] = 'application/octet-stream';
> return $existing_mimes;
> }
>
> Kind Regards
> Simon
>
>
> On Tue, May 6, 2014 at 6:38 PM, Richmond <richmondmathewson at gmail.com
> >wrote:
>
> > On 06/05/14 19:12, Monk in Exile wrote:
> >
> >> I want to host some LiveCode sites on a WordPress blog. For this I need
> to
> >> add the mime-type of LiveCode to enable upload and download.
> >>
> >> in the terminal (on OSX), if I use:  file --mime Tuna.livecode
> >>
> >> Returns:  application/octet-stream; charset=binary
> >>
> >> Or is there a LiveCode specific mime type I should use? The other bit is
> >> to
> >> associate the browser and this mime-type with LiveCode so that LiveCode
> >> opens the downloaded stacks?
> >>
> >> It's been a few years since I've done this, any help appreciated :)
> >>
> >> Thanks
> >> _______________________________________________
> >>
> >>
> > I wonder if things wouldn't be a lot easier if you just stored the stacks
> > as ZIP files.
> >
> > Richmond.
> >
> >
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> > subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
> >
>
>
>
> --
>
> *Simon Smith*
> *seo, online marketing, web development*
>
> w. http://www.simonsmith.co
> m. +27 83 306 7862
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list