Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 just a question about wap
Google
Post new topic Reply to topic
Author Message
cigraphics
 
 


Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

PostPosted: Fri Mar 17, 2006 10:01 pm Reply with quoteBack to top

what index should the wap page have index.php, index.html, index.cgi, index.pl, index.spy, index.wml, index.asp which one is the good one ? the first page looks like this

Code:

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="index" title="| CIGraphics Wap |">
<p align="center" mode="wrap">
<img src="files/wap.gif" alt="CIGraphics Logo" /><br/>
<small><b><a href="#sonerii">::Sonerii::</a></b></small><br/>
<small><b><a href="#poze">::Poze::</a></b></small><br/>
<small><b><a href="#video">::Video::</a></b></small><br/><br/>
<small>Free wap site provided by CIGraphics. Copyright 2006.</small><br/>
</p>
</card>

<card id="poze" title="| Poze |">
<p align="center" mode="wrap">
<small><b><a href="images-gif-jpg/jpg.wml">::Wallpapere::</a></b></small><br/>
<small><b><a href="images-gif-jpg/gif.wml">::Animatii::</a></b></small><br/><br/>
<small><i><a href="#index">| Inapoi |</a></i></small>
</p>
</card>

<card id="sonerii" title="| Sonerii |">
<p align="center" mode="wrap">
<small><b><a href="poly.wml">::Polifonice::</a></b></small><br/>
<small><b><a href="voice.wml">::Voce::</a></b></small><br/><br/>
<small><i><a href="#index">| Inapoi |</a></i></small>
</p>
</card>

<card id="video" title="| Videoclipuri |">
<p align="center" mode="wrap">
<small><a href="download/3gp/Crazy_Frog_-_Axel_F.3gp">Crazy Frog - Axel F (1.60mb)</a></small><br/>
<small><a href="download/3gp/Crazy_Frog_TurboForce.3gp">Crazy Frog - TurboForce (1.60mb)</a></small><br/>
<small><a href="download/3gp/emotii_300k.3gp">Sistem - emotii (1.50mb)</a></small><br/>
<small><a href="download/3gp/nuvreaubaniitai-lauravas.3gp">Laura Vas - Nu vreau banii tai (3.80mb)</a></small><br/><br/>
<small><i><a href="#index">| Inapoi |</a></i></small>
</p>
</card>
</wml>


and i want something to detect the browser and if wap go to wap.domain.tld/wap else go to wap.domain.tld/site
View user's profileSend private messageSend e-mailYahoo Messenger
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Sat Mar 18, 2006 4:24 pm Reply with quoteBack to top

The markup language used for WAP (Wireless Application Protocol) is WML (Wireless Markup Language) , hence the extension of wml files is .wml with MIME Type of text/vnd.wap.wml or text/wml

Because you have asked in the apache forum i will tell you how to detect the browser with apache , http://httpd.apache.org/docs/2.0/mod/mod_setenvif.html#browsermatch
View user's profileSend private message
cigraphics
 
 


Joined: 21 Aug 2005
Posts: 148
Location: Romania, Pitesti

PostPosted: Sun Mar 19, 2006 11:38 am Reply with quoteBack to top

thank you Vlad Smile
View user's profileSend private messageSend e-mailYahoo Messenger
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT