Internal hyperlinks in a MMS

只谈情不闲聊 提交于 2019-12-12 17:33:25

问题


Is it possible to put an internal hypertext link (or anchor) inside a MMS. I wan't to offer a user of a MMS service to choose between several links and make his way inside the MMS. Any idea how it is possible ?


回答1:


how are you composing your MMS? are you using some kind of API or gateway message compiler? or creating the message from scratch (multipart MIME)?

I believe the default mimetype in MMS is WAP/WML (possibly application/vnd.wap.mms-message ?) in which case you can construct your page as series of cards. i.e. something like this:

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>

<card id="part1" title="Intro">
<p>
<go href="#part3">click to go to card 3</go>
</p>
</card>

<card id="part2" title="And More">
<p>
blah blah blah
</p>
</card>

<card id="part3" title="Target Page">
<p>
blah blah blah
</p>
</card>

</wml>

w3schools have a good tutorial on wml



来源:https://stackoverflow.com/questions/368348/internal-hyperlinks-in-a-mms

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!