WAP multimedia message - WML page layout | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through November 04, 2008 ⬆ |
◄ ► |
Author | Message | |||
Lars Nielsen, MobileNation ApS - Denmark Frequent Contributor Username: Larsmservice Post Number: 279 Registered: 10-2003 |
Regarding: http://support.nowsms.com/discus/messages/485/5911. html i would like to follow up on this. I dont know how many of you out there actually uses it, but i can tell you that its great and works perfect. Here you actually have the posibility to design the page which i am sure your customers would like. But i think its time to do some more. I would like to see it support XHTML files. Is that possible? As it works now we add a parameter and value like: MMWAPTemplate=bollywood.wml Now if we set it to: MMWAPTemplate=bollywood.xhtml, nowsms should build a xhtml-file and not as now, a wml-file. Is that possible ? All the best ;)Lars at mobilenation dot dk | |||
Lars Nielsen, MobileNation ApS - Denmark Frequent Contributor Username: Larsmservice Post Number: 280 Registered: 10-2003 |
Been thinking a bit more about this. Got an idea that is much better. As it works now, nowsms generates INDEX.WML based om the wml-code in the given MMWAPTemplate. The link in the wappush message that nowsms sends out looks a bit like this: C398A0C0.WML?id=4500000000 where id is the phonenumber of the recipient. If nowsms left the file-extension as given in the MMWAPTemplate value, we could really open this up. lets just pretend that it looked like this: "MMWAPTemplate=bollywood.php". Nowsms would grap the template, and place it in the folder generated by nowsms. But instead of chaning the fileextension to .wml nowsms should leave it as .php. The great thing about this is that we would be able to do programming stuff in the file when the client enters the page. How great would that be ??? You could even use all the params available, like @@from@@ etc. to php. <? $from = @@from@@ ?> would output: <? $from = 4500000000 ?> and we could do stuff like stting the contenttype to XHTML. Or we could ask WURFL what the phone prefers and output many types of contenttypes based on what the phone prefers. This could end up being a fantastic way of delivering content or some cool mobile marketing solutions. Catch my drift??? ;)Lars | |||
Lars Nielsen, MobileNation ApS - Denmark Frequent Contributor Username: Larsmservice Post Number: 281 Registered: 10-2003 |
I am aware that one have to have a webserver installed to run php or asp, but i am quite shure i know exactly how to quirke that. all i need is som answers from you guys @nowsms. | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 7552 Registered: 10-2002 |
Hi Lars, I'm not sure about the PHP stuff. We'd have to have some interface to spawn it ... and I'm not sure how feasible that is. Supporting other content-type extensions, however, is not that big of a deal. At least I don't think it is ... let me think about it. It should be as simple as looking at the file extension of the template and applying same to the file we generate. Content-type should get picked up automatically. Then again, maybe PHP might not be so difficult either. I hesitate to even bring that up in a development meeting, because we don't want to have a full blown web server in there, but I might run an experiment or two. -bn | |||
Lars Nielsen, MobileNation ApS - Denmark Frequent Contributor Username: Larsmservice Post Number: 282 Registered: 10-2003 |
I see you point Bryce. But you dont have to put a webserver in there. All you have to do is not to change the file-extension or content-type. Would be cool though if php was supported. Just think of the possibilities. Wml is simply too "out of fashion" ;-). |