11.8.1 wapitout
wapitout是一个在线实现html页面到wap页面转换的过滤器。有关它的详细情况可访问它的站点http://www.wapitout.com。
wapitout的使用方法是这样的,在当前wap页面中加入到wapitout过滤器的超链接http://www.kaufcom.com/wapitoutcom/htmltowap_e.wml,代码为:
<a href="http://www.kaufcom.ch/wapitoutcom/htmltowap_e.wml">
html pages on your handy/htmltowap from wapitout
</a>
这样,页面运行时即可建立该过滤器与当前wap站点的联系,并在浏览器中给出一个输入框。从中输入想要访问的基于html的站点名称,并按确认键,随后wap浏览器即可显示该站点的网页。当然显示时是按照wap浏览器的格式显示的,wapitout过滤器在后台已自动把访问的基于html的站点转换为wap性质的站点。
另外,我们也可以直接在wap页面中增加一个卡片,专门用于输入想要转换的html性质的站点,让wapitout过滤器进行转换。该卡片的代码如下:
<card title=""> //这里可为该卡片起一个名字
<p><img src="http://www.kaufcom.ch/wapitoutcom/htmltowapinfo.wbmp" alt="wapitout"/></p>
<p>
to convert html- to wap-sites put the url in this box:<br/>
<input type="text" name="adresse" size="18" title="url-adresse" value="http://"/>
<anchor>
<go href="http://www.kaufcom.ch/cgi-bin/umwandlerhtml2wml.pl" method="get">
<postfield name="adresse" value="$(adresse:e)"/>
</go>
display site
</anchor>
<br/>
</p>
</card>
[1] [2] 下一页
Java Asp PHP .Net XML C/C++ CGI VB Jsp J2ee J2se J2me EJB Servlet Tomcat Resin Struts Weblogic Eclipse ANT GUI JMS Web servise IDEA Webphere Hibernate Spring Jboss Applet Swing Socket Javamail Perl Ajax P2P 安全 模式 框架 测试 开源 游戏
Windows XP Windows 2000 Windows 2003 Windows Me Windows 9.x Linux UNIX 注册表 操作系统 服务器 应用服务器