MadFly Posted October 7, 2008 Share Posted October 7, 2008 what services do i need to run on the server if i intend to host a wap website, or a copy of my html website?and how do i allow the wml format to be run on a webserver? Link to comment Share on other sites More sharing options...
MadFly Posted October 7, 2008 Author Share Posted October 7, 2008 Here is the code that i have in one of the .wml files. and it gives me a file format unknown error. any ideas? <?xml version="1.0"?><!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml><template><do type="prev" name="prev" label="Go Back"><prev/></do></template><style type="text/css"><!--body { background-color: #FFFFFF;}.contentbox { background-color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000;}a:link { color: #000000;}.footer { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #000000; background-image: url(img/index_12.jpg);}a:visited { color: #000000;}.logo {background-color: #FFFFFF; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 24px; color: #000000; }.elevenpixel {font-size: 11px}--></style><card id="main" title="main"> <table border="1" cellpadding="0" cellspacing="0"> <tr> <td colspan="7"> <img src="img/index_01.jpg" width="100"/></td> </tr> <!-- <tr> <td COLSPAN="3" ROWSPAN="3"> <img src="img/index_02.jpg" WIDTH="10" HEIGHT="2" ALT="" /></td> <td WIDTH="513" HEIGHT="52" class="logo"> Template<br/> <span class="elevenpixel"><em>Template discription</em></span></td> <td COLSPAN="3" ROWSPAN="3"> <img src="img/index_04.jpg" WIDTH="20" HEIGHT="5" ALT=""/></td> </tr> --> <tr> <td colspan="7"> <!-- <div style="width: 513px; height: 380px; overflow-y: scroll; scrollbar-arrow-color: #FFFFFF; scrollbar-face-color: #000000; scrollbar-base-color: #000000; scrollbar-3dlight-color: #000000; scrollbar-darkshadow-color: #000000"><div id="lipsum" > --><br/><h4> Header </h4><p><font face="Arial, Helvetica, sans-serif" size="3"> Text Text Text Text Text </font></p><br/><p><font face="Arial, Helvetica, sans-serif" size="3"> Text will be displayed here</font> </p><p> <font face="Arial, Helvetica, sans-serif" size="3"> This is the template <br/></font> </p><br/><br/><!-- </div> </div>--> </td></tr><tr> <td colspan="7"> <img src="img/index_06.jpg" width="100"/> </td></tr><tr> <td colspan="2" rowspan="2"> <img src="img/index_07.jpg" width="10"/> </td> <td colspan="3" class="contentbox"> <div align="left"><a href="index.html">Home</a></div> </td> <td colspan="2" rowspan="2"> <img src="img/index_09.jpg" width="10" /> </td></tr> <tr> <td colspan="7"> <img src="img/index_10.jpg" width="100" /></td> </tr> <tr> <td rowspan="2" colspan="1"> <img src="img/index_11.jpg" width="10" /></td> <td colspan="5" class="footer"> <div align="right"> <font face="Arial, Helvetica, sans-serif" size="3">Copyright MadFly 2007 </font></div></td> <td rowspan="2" colspan="1"> <img src="img/index_13.jpg" width="20" /></td> </tr> <tr> <td colspan="7"> <img src="img/index_14.jpg" width="100" height="8"/></td> </tr> <!-- <tr> <td> <img src="img/spacer.gif" /></td> <td> <img src="img/spacer.gif" /></td> <td> <img src="img/spacer.gif" /></td> <td> <img src="img/spacer.gif" /></td> <td> <img src="img/spacer.gif" /></td> <td> <img src="img/spacer.gif" /></td> <td> <img src="img/spacer.gif" /></td> </tr> --> </table></card></wml> Link to comment Share on other sites More sharing options...
Synook Posted October 8, 2008 Share Posted October 8, 2008 What sort of webserver do you have? Link to comment Share on other sites More sharing options...
MadFly Posted October 8, 2008 Author Share Posted October 8, 2008 Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.6(2007-09-24) mod_ssl/2.2.8 OpenSSL/0.9.8gHope this info helps and that it is not TOO much Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.