Welcome to Esato.com




T616 Themes: Can download from Esato, but not my server. Why?


Click to view updated thread with images




Posted by BoulderDash
Hi there,
I am a Mac user who has created a theme file using "Theme Creator Pro 3G" within my Mac's "VirtualPC" application. I then take that theme file from within VirtualPC ("osxjag.thm") and place it onto my Mac desktop. At that point I upload it to my website where I use the following code to try and download it with my Sony Ericsson T616 (which, admittedly, I don't know if it's correct code):

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="Themes">
<p>Themes</p>
<p>
<a href="osxjag.thm">OSXJag</a><br />
</p>
</card>
</wml>

I can navigate to the page just fine with my Sony Ericsson T616 - however, I get an error saying "Item not supported, cannot be downloaded" when I try to download my theme.

What am I doing wrong... I was able to download themes from Esato's "wap.esato.com" website. Is it my wml coding? Is it converting the file from VirtualPC to the Mac and then uploading? I've tried .tar-ing the individual files with FreeTar (as explained in another post) to create a .thm file on the Mac and uploading that as well to no avail for download.

Thanks in advance if you have any thoughts,
BD


[ This Message was edited by: BoulderDash on 2003-10-03 20:24 ]

Posted by BoulderDash
Okay! Okay!

After looking all over the place, I got the answer I needed right back here at Esato (though don't flame me, I had extensively looked before as well):


** Posted by dw **
For theme files to be downloadable by the phone you need to
add a mimetype to the server.
if you run apache/*nix make sure to add
application/vnd.eri.thm thm
to /etc/mime.types otherwise read the man on the http server you use.
Oh and add
audio/imelody imy
too for imelodys to be downloadable.

using xhtml to create the wap pages is great!

[ This Message was edited by: dw on 2002-06-09 08:24
** **

It was the mimetypes which had been doing me in... but no more!
BD





Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum