WAP multimedia message - WML page layout Search Search

Now SMS/MMS Gateway » Now SMS/MMS Gateway - MMS & Advanced Issues (Product Support Only) » WAP multimedia message - WML page layout « Previous Next »

Author Message
Lars Nielsen, MobileNation ApS - Denmark
Member
Username: Larsmservice

Post Number: 279
Registered: 10-2003
Posted on Wednesday, February 13, 2008 - 01:53 pm:   

Regarding:
http://www.nowsms.com/framer.htm?http://www.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
Member
Username: Larsmservice

Post Number: 280
Registered: 10-2003
Posted on Friday, February 15, 2008 - 12:02 am:   

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
Member
Username: Larsmservice

Post Number: 281
Registered: 10-2003
Posted on Wednesday, February 27, 2008 - 02:57 pm:   

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
Posted on Friday, February 29, 2008 - 04:17 pm:   

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
Member
Username: Larsmservice

Post Number: 282
Registered: 10-2003
Posted on Friday, February 29, 2008 - 04:50 pm:   

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" ;-).

Add Your Message Here
Post:
Bold text Italics Underline Create a hyperlink Insert a clipart image

Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Click here to register with this discussion board.
Password:
Options: Automatically activate URLs in message
Action:

Search Search Tree View Tree View   Home Home
Login Login / Register Topics Topics Search Last 1|3|7 Days   Previous Page Previous Next Next Page

© Copyright 2002-2008 by Now Wireless Limited
Airport House, Purley Way, Croydon, London, CR0 0XZ, UK
UK Tel: +44-20-8286-8080 US Tel: +1.410.833.8711
email : nowsms@now.co.uk