<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[ASP检测客户端是否为手机]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Tue, 26 Sep 2006 05:38:04 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	对于WAP开发者来说,非常实用的代码.<br/>可以判断访问者是使用手机还是使用电脑访问<br/>从而进入不同目录.<br/><%<br/>if instr(request.ServerVariables("HTTP_USER_AGENT"),"Mozilla")=0 then<br/>response.redirect "/wap" '如果客户端为手机访问,则进入/wap目录<br/>else<br/>response.redirect "http://siyizhu.com/" '如果客户端不是手机访问,则进入指定地址<br/>end if<br/>%><br/><br/>其实，上面的asp代码中，response.redirect并不是在所有地区所有手机上都可以成功的。例如，response.redirect "http://xxx.xxx.com/xxx.dll?xxx",客户可以直接进去“”中的地址，但是通过asp文件再redirect是不行的。各位有没有更好的解决办法？<br/><br/>这个是不对的吧，搜索引擎的蜘蛛也没有Mozilla，我印象中是这样的啊<br/><br/>我站上用的是:<br/><%<br/>Response.Buffer = TRUE<br/>Dim IsWap<br/>httpAccept = LCase(Request.ServerVariables("HTTP_ACCEPT"))<br/>if Instr(httpAccept,"wap") then<br/>IsWap=1<br/>Else Response.Redirect "/index.html" : Response.Flush : Response.End<br/>End if<br/>%>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] ASP检测客户端是否为手机]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>