From: Jeffrey A. F. <je...@fe...> - 2000-10-25 05:07:26
|
> Cool ... our first WAP guy! WAP: Wireless Application > Protocol? WML is XML > for wireless, right?? Yep. Then there are "Decks" and "Cards" within a wml page...The deck is essentially the page, cards are various small wap-bite-sized chunks of the deck...I think. :) Right now, I'm doing single-deck, single-card. A good basic intro/overview is at http://www.wapdesign.org.uk/tutorial.html Slightly more detail at http://www.wirelessdevnet.com/training/WAP/WML.html and you need these mime types: .wml text/vnd.wap.wml .wmls text/vnd.wap.wmlscript .wbmp image/vnd.wap.wbmp > > Here's what I'm running in to...Using /SET commands don't work, > > because WML > > uses the $ structure to figure out variables. There's > probably a way to > > escape it, but since RUN commands seem to work just fine, I > > Dang. Hmmm, if there is not escape mechanism, we should allow for a $ > substitute. Should be pretty easy. Its odd...I figured out it was doing substitution when I went to an e-commerce page and everything that should have been $15.99 was $5.99...Tho that may just be the way my phone handles the text...it shouldn't have a problem when $ is in the text; only when its in the URL... :) Still haven't figured out how to escape the $ when it is part of the URL... > Did you also try Bill's fix (in 2.32): Cache-control: no-cache I haven't been able to get 2.32 downloaded. Sourceforge, as is often the case, only gives me about 100-200K then fails....the src_232.zip from your /public directory is zero bytes. > I created a mh/web/wap dir and put a modifed version of your > test case in > there. Is .html still the proper extention for WML? Actually, it's .wml (.html will work, I've found...but .wml is the "standard") > You probably want to override the h_response field to something like > last_response, so you get something your phone can display. > For example: > > <a href=/RUN:last_response?Display_the_next_deep_thought>Deep > Thought</a><br> > <a href=/RUN:last_response?Show_internet_weather_forecast>Weather > forecast</a><BR> Hey, good idea...And I think I read somewhere that 2.32 will support /RUN:Referrer?Turn_Living_Room_Light_On to return me back to the control page.... |