<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>碧云涛小屋 &#187; WEB</title>
	<atom:link href="http://blog.axqd.net/categories/tech/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.axqd.net</link>
	<description>by aXqd</description>
	<lastBuildDate>Tue, 09 Aug 2011 16:12:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<atom:link rel='hub' href='http://blog.axqd.net/?pushpress=hub'/>
		<item>
		<title>What&#8217;s wrong with BuzzCounter?</title>
		<link>http://blog.axqd.net/2010/09/18/whats-wrong-with-buzzcounter/</link>
		<comments>http://blog.axqd.net/2010/09/18/whats-wrong-with-buzzcounter/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 06:48:31 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[buzz]]></category>
		<category><![CDATA[buzzcounter]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jsonp]]></category>
		<category><![CDATA[restful]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=1029</guid>
		<description><![CDATA[在自己的Blog上展示Buzz，以前一直用的BuzzCounter提供的服务，但BuzzCounter最近开始出问题， 始终显示很老的buzz，不能更新，加之他本来有的一些其他的问题，比如：1. 有广告贴；2. 贴子是通过他服务器中转的，而不是从客户浏览器直接去Google取的。 再加上Google Buzz API现在也RESTful了，更好的是，还支持JSONP，跨域的问题也解决了，所以还是觉得自己写一个比较好。 参见侧边栏和附件，Google ID在buzz.js里的第一行就可以设置。至于颜色、外观啥的，自己改改buzz.css吧。 当然，前提是你的Buzz是Public的。 附件：aXqd Buzz<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Google Buzz in Chengdu" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559517.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Google Buzz in Chengdu</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Google Earth Cracked" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F19%2Fgoogle-earth-cracked%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559522.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Google Earth Cracked</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Better Javascript Syntax Support" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F09%2Fbetter-javascript-syntax-support%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Better Javascript Syntax Support</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Google Code Jam 2009 (Practise)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F30%2Fgoogle-code-jam-2009-practise%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Google Code Jam 2009 (Practise)</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>在自己的Blog上展示Buzz，以前一直用的BuzzCounter提供的服务，但BuzzCounter最近开始出问题， 始终显示很老的buzz，不能更新，加之他本来有的一些其他的问题，比如：1. 有广告贴；2. 贴子是通过他服务器中转的，而不是从客户浏览器直接去Google取的。</p>
<p>再加上Google Buzz API现在也RESTful了，更好的是，还支持JSONP，跨域的问题也解决了，所以还是觉得自己写一个比较好。</p>
<p>参见<a href="http://blog.axqd.net/" target="_blank">侧边栏</a>和附件，Google ID在buzz.js里的第一行就可以设置。至于颜色、外观啥的，自己改改buzz.css吧。</p>
<p>当然，前提是你的Buzz是Public的。</p>
<p>附件：<a href="http://blog.axqd.net/wp-content/uploads/2010/09/aXqd_Buzz.zip">aXqd Buzz</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Google Buzz in Chengdu" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559517.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Google Buzz in Chengdu</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Google Earth Cracked" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F19%2Fgoogle-earth-cracked%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559522.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Google Earth Cracked</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Better Javascript Syntax Support" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F09%2Fbetter-javascript-syntax-support%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Better Javascript Syntax Support</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Google Code Jam 2009 (Practise)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F30%2Fgoogle-code-jam-2009-practise%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F18%2Fwhats-wrong-with-buzzcounter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Google Code Jam 2009 (Practise)</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2010/09/18/whats-wrong-with-buzzcounter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Buzz in Chengdu</title>
		<link>http://blog.axqd.net/2010/02/11/google-buzz-in-chengdu/</link>
		<comments>http://blog.axqd.net/2010/02/11/google-buzz-in-chengdu/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 03:20:22 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[buzz]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=806</guid>
		<description><![CDATA[Buzz发布后的第二天一早，成都BUZZ分布图： Zoom zoom&#8230;<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F19%2Fgoogle-earth-cracked%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Earth Cracked</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2011%2F05%2F08%2Fgoogle-code-jam-2011-qualification%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Code Jam 2011 (Qualification)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F09%2Fgoogle-snapshot%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于google的网页快照</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F30%2Fgoogle-code-jam-2009-practise%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Code Jam 2009 (Practise)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Buzz发布后的第二天一早，成都BUZZ分布图：</p>
<div id="attachment_807" class="wp-caption alignnone" style="width: 330px"><a href="http://blog.axqd.net/wp-content/uploads/2010/02/IMG_6616.png"><img src="http://blog.axqd.net/wp-content/uploads/2010/02/IMG_6616.png" alt="BUZZ in Chengdu" title="BUZZ in Chengdu" width="320" height="480" class="size-full wp-image-807" /></a><p class="wp-caption-text">BUZZ in Chengdu</p></div>
<p>Zoom zoom&#8230;</p>
<div id="attachment_808" class="wp-caption alignnone" style="width: 330px"><a href="http://blog.axqd.net/wp-content/uploads/2010/02/IMG_6615.png"><img src="http://blog.axqd.net/wp-content/uploads/2010/02/IMG_6615.png" alt="BUZZ in Chengdu" title="BUZZ in Chengdu" width="320" height="480" class="size-full wp-image-808" /></a><p class="wp-caption-text">BUZZ in Chengdu</p></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F19%2Fgoogle-earth-cracked%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Earth Cracked</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2011%2F05%2F08%2Fgoogle-code-jam-2011-qualification%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Code Jam 2011 (Qualification)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F09%2Fgoogle-snapshot%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于google的网页快照</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F30%2Fgoogle-code-jam-2009-practise%2F&from=http%3A%2F%2Fblog.axqd.net%2F2010%2F02%2F11%2Fgoogle-buzz-in-chengdu%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Code Jam 2009 (Practise)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2010/02/11/google-buzz-in-chengdu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web 2.0之流毒</title>
		<link>http://blog.axqd.net/2009/11/28/lick/</link>
		<comments>http://blog.axqd.net/2009/11/28/lick/#comments</comments>
		<pubDate>Sat, 28 Nov 2009 12:01:47 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[omytime]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=753</guid>
		<description><![CDATA[好吧，国人有了推、咪咪、土豆、豆瓣。但是作为一个挺有爱的网站，实在不知为何非要搞成这样&#8230; 1. OhMyTime要译成&#8230; 2. 我舔&#8230; 3. 舔后还要有感&#8230;<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F07%2F06%2F8box-music%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">web2.0应用-八音盒</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F08%2F29%2Fweb-readin-experience%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">中文 Web 阅读体验</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2F%25E5%258F%2591%25E5%25B8%2583web-services%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">发布Web Services</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F07%2F06%2Flomo-life-casual-shot-2%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Lomo life, Casual shot – 2</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>好吧，国人有了推、咪咪、土豆、豆瓣。但是作为一个<a href="http://www.omytime.com/">挺有爱的网站</a>，实在不知为何非要搞成这样&#8230;</p>
<p>1. OhMyTime要译成&#8230;</p>
<div id="attachment_755" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.axqd.net/wp-content/uploads/2009/11/1.JPG"><img class="size-medium wp-image-755" title="Oh my God" src="http://blog.axqd.net/wp-content/uploads/2009/11/1-300x196.jpg" alt="Oh my God" width="300" height="196" /></a><p class="wp-caption-text">Oh my God</p></div>
<p>2. 我舔&#8230;</p>
<div id="attachment_756" class="wp-caption alignnone" style="width: 128px"><a href="http://blog.axqd.net/wp-content/uploads/2009/11/2.JPG"><img class="size-full wp-image-756" title="舔" src="http://blog.axqd.net/wp-content/uploads/2009/11/2.JPG" alt="舔" width="118" height="82" /></a><p class="wp-caption-text">舔</p></div>
<p>3. 舔后还要有感&#8230;</p>
<div id="attachment_754" class="wp-caption alignnone" style="width: 310px"><a href="http://blog.axqd.net/wp-content/uploads/2009/11/3.JPG"><img class="size-medium wp-image-754" title="舔后感" src="http://blog.axqd.net/wp-content/uploads/2009/11/3-300x69.jpg" alt="舔后感" width="300" height="69" /></a><p class="wp-caption-text">舔后感</p></div>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F07%2F06%2F8box-music%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">web2.0应用-八音盒</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F08%2F29%2Fweb-readin-experience%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">中文 Web 阅读体验</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2F%25E5%258F%2591%25E5%25B8%2583web-services%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">发布Web Services</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F07%2F06%2Flomo-life-casual-shot-2%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F11%2F28%2Flick%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Lomo life, Casual shot – 2</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2009/11/28/lick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Camtasia Studio 6</title>
		<link>http://blog.axqd.net/2009/10/17/camtasia-studio-6/</link>
		<comments>http://blog.axqd.net/2009/10/17/camtasia-studio-6/#comments</comments>
		<pubDate>Sat, 17 Oct 2009 15:44:27 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Camtasia Stuidio]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=737</guid>
		<description><![CDATA[下周要负责录一个内部产品的Tutorial，于是先行用Camtasia Studio来录了一个测试教程，还是蛮好用的。 缺点有: Smart Focus显得移动过于频繁； 生成Flash预加载缓冲内容过多，将近5%；（不知有没有配置选项） 机器embeded的话筒录下来，感觉完全是另外一个人的声音； 突然发现，&#8221;嗯啊哈&#8221;的，如此之多，呵呵。 附测试结果：【教程整个很白痴，纯粹测试性质】 http://www.axqd.net/hotkey/ for Hotkey Power on http://www.axqd.net/ PS: 工作后真是没法坚持定期写Blog了，一切随缘吧，想起了又无事，就多写几篇。<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F26%2Fsms-tutorial%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">SMS在企业中的应用—微软系列讲座1</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Gmail试用报告</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F23%2Fpanda%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">还不会熊猫举牌的进来看看</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F10%2F19%2Fserial-communication%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在C++ Builder中利用串行通信控件编程</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>下周要负责录一个内部产品的Tutorial，于是先行用Camtasia Studio来录了一个测试教程，还是蛮好用的。</p>
<p>缺点有:</p>
<p>Smart Focus显得移动过于频繁；</p>
<p>生成Flash预加载缓冲内容过多，将近5%；（不知有没有配置选项）</p>
<p>机器embeded的话筒录下来，感觉完全是另外一个人的声音；</p>
<p>突然发现，&#8221;嗯啊哈&#8221;的，如此之多，呵呵。</p>
<p>附测试结果：【教程整个很白痴，纯粹测试性质】</p>
<p><a href="http://www.axqd.net/hotkey/">http://www.axqd.net/hotkey/</a> for Hotkey Power on <a href="http://www.axqd.net/">http://www.axqd.net/</a></p>
<p>PS: 工作后真是没法坚持定期写Blog了，一切随缘吧，想起了又无事，就多写几篇。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F26%2Fsms-tutorial%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">SMS在企业中的应用—微软系列讲座1</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Gmail试用报告</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F23%2Fpanda%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">还不会熊猫举牌的进来看看</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F10%2F19%2Fserial-communication%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F10%2F17%2Fcamtasia-studio-6%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">在C++ Builder中利用串行通信控件编程</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2009/10/17/camtasia-studio-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oh&#8230;Twitter</title>
		<link>http://blog.axqd.net/2009/08/10/ohtwitter/</link>
		<comments>http://blog.axqd.net/2009/08/10/ohtwitter/#comments</comments>
		<pubDate>Mon, 10 Aug 2009 08:08:38 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[gfw]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/2009/08/10/ohtwitter/</guid>
		<description><![CDATA[云南真是避暑胜地，闭关一周安安静静看看书，其实也挺不错的。 言归正传，一直以来因为公司提供了很多VPN，所以也没有特别关注翻墙的问题。但今天突然发现博客首页的flash twitter插件没法用了。所以干脆就直接换成javascript的，然后开始翻墙。 翻墙基本原理是拿我这台博客服务器做代理，php不太熟，其间还google了一下“php if statement”： http://blog.axqd.net/wp-content/themes/emplode/axqd.php?callback=TWTR.Widget.receiveCallback&#38;count=50&#38;since_id=2769255170&#38;clientsource=TWITTERINC_WIDGET &#60;?php if( $_GET[ 'since_id' ] &#38;&#38; preg_match( &#8216;/^[0-9]+$/&#8217;, $_GET[ 'since_id' ] ) ) &#160; echo file_get_contents(&#34;http://twitter.com/statuses/user_timeline/axqd.json?callback=TWTR.Widget.receiveCallback&#38;count=50&#38;clientsource=TWITTERINC_WIDGET&#38;since_id=&#34;.$_GET[ 'since_id' ]); else &#160; echo file_get_contents(&#34;http://twitter.com/statuses/user_timeline/axqd.json?callback=TWTR.Widget.receiveCallback&#38;count=50&#38;clientsource=TWITTERINC_WIDGET&#34;); ?&#62; 搞定之后，可以选择自己处理这个json对象。不过既然已经有现成的，为什么不用呢？于是比照博客皮肤，在twitter官方配色了一个JS版本的client。 接下来转换资源地址有点麻烦： 先啃容易的骨头，VPN出去，下载相应的静态资源，比如style sheet，js file，还有几个png、gif啥的，然后修改其中一些资源里面的引用地址，再通通一股脑传到服务器上。 接下来改js文件，可惜的是，这个js文件是混淆过的，也不太知道怎么还原。好在混淆器大多像下面这样，在后面搞得像是符号表似的： &#8216;&#124;&#124;&#124;&#124;this&#124;function&#124;return&#124;&#124;if&#124;var&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;&#124;twtr&#124;false&#124;div&#124;id&#124;else&#124;true&#124;tweet&#124;&#124;user&#124;class&#124;net&#124;http&#124;call&#124;results…&#8217; 我试着替换其中某些字符串，在本地多尝试几遍，居然找到一个可用的替换。 当然这种方式也有不太爽的地方，细心的你会发现到twitter.com的链接全都被换成了blog.axqd.net。:P 不过反正放这个插件的目的在于展示，而不在于收集reply，所以也就懒得处理这个问题了，呵呵。<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Steps to install mirrorrr and birdnest to GAE" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F04%2F14%2Fsteps-to-install-mirrorrr-and-birdnest-to-gae%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Steps to install mirrorrr and birdnest to GAE</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="梦寐以求，太强了，自己看，不爽砍我" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F12%2F22%2Fperfect%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559678.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">梦寐以求，太强了，自己看，不爽砍我</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="靠，略一看，还蛮真实的" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F02%2F25%2Freal%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559860.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">靠，略一看，还蛮真实的</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="相爱不如相知—七夕节致词" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F12%2Fchinese-valentine-s-day%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1560187.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">相爱不如相知—七夕节致词</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>云南真是避暑胜地，闭关一周安安静静看看书，其实也挺不错的。</p>
<p>言归正传，一直以来因为公司提供了很多VPN，所以也没有特别关注翻墙的问题。但今天突然发现博客首页的flash twitter插件没法用了。所以干脆就直接换成javascript的，然后开始翻墙。</p>
<p>翻墙基本原理是拿我这台博客服务器做代理，php不太熟，其间还google了一下“php if statement”：</p>
<p><u>http://blog.axqd.net/wp-content/themes/emplode/axqd.php?callback=TWTR.Widget.receiveCallback&amp;count=50&amp;since_id=2769255170&amp;clientsource=TWITTERINC_WIDGET</u></p>
<p>&lt;?php    <br />if( $_GET[ 'since_id' ] &amp;&amp; preg_match( &#8216;/^[0-9]+$/&#8217;, $_GET[ 'since_id' ] ) )     <br />&#160; echo file_get_contents(<u>&quot;http://twitter.com/statuses/user_timeline/axqd.json?callback=TWTR.Widget.receiveCallback&amp;count=50&amp;clientsource=TWITTERINC_WIDGET&amp;since_id=&quot;.$_GET[ 'since_id' ]</u>);     <br />else     <br />&#160; echo file_get_contents(<u>&quot;http://twitter.com/statuses/user_timeline/axqd.json?callback=TWTR.Widget.receiveCallback&amp;count=50&amp;clientsource=TWITTERINC_WIDGET&quot;</u>);     <br />?&gt;</p>
<p>搞定之后，可以选择自己处理这个json对象。不过既然已经有现成的，为什么不用呢？于是比照博客皮肤，在twitter官方配色了一个JS版本的client。</p>
<p>接下来转换资源地址有点麻烦：</p>
<p>先啃容易的骨头，VPN出去，下载相应的静态资源，比如style sheet，js file，还有几个png、gif啥的，然后修改其中一些资源里面的引用地址，再通通一股脑传到服务器上。</p>
<p>接下来改js文件，可惜的是，这个js文件是混淆过的，也不太知道怎么还原。好在混淆器大多像下面这样，在后面搞得像是符号表似的：</p>
<p>&#8216;||||this|function|return||if|var||||||||||||||||||||||||||||||||||||||twtr|false|div|id|else|true|tweet||user|class|net|http|call|results…&#8217;</p>
<p>我试着替换其中某些字符串，在本地多尝试几遍，居然找到一个可用的替换。</p>
<p>当然这种方式也有不太爽的地方，细心的你会发现到twitter.com的链接全都被换成了blog.axqd.net。:P</p>
<p>不过反正放这个插件的目的在于展示，而不在于收集reply，所以也就懒得处理这个问题了，呵呵。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Steps to install mirrorrr and birdnest to GAE" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F04%2F14%2Fsteps-to-install-mirrorrr-and-birdnest-to-gae%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Steps to install mirrorrr and birdnest to GAE</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Gmail试用报告" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559529.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Gmail试用报告</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Ashes to ashes, Dust to dust" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F04%2F07%2Fashes-to-ashes-dust-to-dust%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559464.png" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Ashes to ashes, Dust to dust</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="5.12汶川8.0级地震[杂]" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2008%2F05%2F21%2Fearthquake%2F&from=http%3A%2F%2Fblog.axqd.net%2F2009%2F08%2F10%2Fohtwitter%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559766.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">5.12汶川8.0级地震[杂]</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2009/08/10/ohtwitter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>一道面试题</title>
		<link>http://blog.axqd.net/2008/08/28/face-questions/</link>
		<comments>http://blog.axqd.net/2008/08/28/face-questions/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 10:15:51 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[心情日记]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=484</guid>
		<description><![CDATA[最近帮某公司出了一道面试题，由于面试官技术参差不齐。所以，题目要求：上手容易（不然冷场了，面试官不易处理），还有就是不怎么暴露面试官的无知。 题目内容比较open，没有标准答案，只是要求用伪码实现简化版的windows计算器标准模式，相信大家上手应该都不成问题。 然而实际效果，这道题目区分度还是蛮大的。正是因为按键少，上手就写程序，很容易就成为意大利面条式的代码。甚至有人电话面试的时候，没到5分钟，就直接压了电话。 按键设定为只有以下18个： 0 1 2 3 4 5 6 7 8 9 . + &#8211; * / = C +/- 由于对一切乱七八遭的输入，都要能够接受，不做异常处理，我们有下面一些约定： 1. 忽略前置0: 000000 => 0； 2. 忽略多个.：1&#8230;..23 => 1.23； 3. 多个操作符(包括=)取最后一个（这与windows的版本有细微出入）：*/2 => /2； 最后，是一些考量： 1. 有限状态机在这里是比较自然的思路； 2. 初始计算前加入0+的计算，可以与后面的情况合并处理； 3. Clear和+/-可以不进入状态机处理，而提前解决掉； 4. 一般都能把数字&#8221;0~9&#8243;和&#8221;.&#8221;、&#8221;+-*/&#8221;和&#8221;=&#8221;统一处理；但问题在于，用了大量的if来别扭的处理&#8221;=&#8221;，其实&#8221;=&#8221;之所以别扭，就是因为他和&#8221;+-*/&#8221;最大的不同，在于它是unary operator，而其他的是binary operator。如果考虑到这里，那么对于后续问题。例如，如何加入对于sin/cos/开根号等的支持，也能作出较好的回答； 5. 还有一个小陷阱，除0的考虑； 总之，简单的一道题目，但在面试的特殊环境下，能够较好的区分出应聘者的设计水平。 为了更好的在面试的时候说明题目，我用flex实现了一个界面（因为只起演示作用，所以有个已知的bug就是超长的输入数字，或者回显的超长数字结果，会使程序的显示产生未定义行为）[Updated: 加了个限长为10，现在可以忽略这句话了]。 附件里有代码和状态转换图，有兴趣的可以下来看看。有更好的考量，还望多多指教。 http://www.axqd.net/calculator/<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="面试时候如何回答" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F11%2F07%2Finterview%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">面试时候如何回答</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Near Future…" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fnear-future%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559551.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Near Future…</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="新春送桌面" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F02%2F16%2Fnew-year-desktop%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559876.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">新春送桌面</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="大杂烩" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F05%2F25%2Fmix%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559807.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">大杂烩</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>最近帮某公司出了一道面试题，由于面试官技术参差不齐。所以，题目要求：上手容易（不然冷场了，面试官不易处理），还有就是不怎么暴露面试官的无知。</p>
<p>题目内容比较open，没有标准答案，只是要求用伪码实现简化版的windows计算器标准模式，相信大家上手应该都不成问题。</p>
<p>然而实际效果，这道题目区分度还是蛮大的。正是因为按键少，上手就写程序，很容易就成为意大利面条式的代码。甚至有人电话面试的时候，没到5分钟，就直接压了电话。</p>
<p>按键设定为只有以下18个：<br />
0 1 2 3 4 5 6 7 8 9 . + &#8211; * / = C +/-</p>
<p>由于对一切乱七八遭的输入，都要能够接受，不做异常处理，我们有下面一些约定：<br />
1. 忽略前置0: 000000 => 0；<br />
2. 忽略多个.：1&#8230;..23 => 1.23；<br />
3. 多个操作符(包括=)取最后一个（这与windows的版本有细微出入）：*/2 => /2；</p>
<p>最后，是一些考量：<br />
1. 有限状态机在这里是比较自然的思路；<br />
2. 初始计算前加入0+的计算，可以与后面的情况合并处理；<br />
3. Clear和+/-可以不进入状态机处理，而提前解决掉；<br />
4. 一般都能把数字&#8221;0~9&#8243;和&#8221;.&#8221;、&#8221;+-*/&#8221;和&#8221;=&#8221;统一处理；但问题在于，用了大量的if来别扭的处理&#8221;=&#8221;，其实&#8221;=&#8221;之所以别扭，就是因为他和&#8221;+-*/&#8221;最大的不同，在于它是unary operator，而其他的是binary operator。如果考虑到这里，那么对于后续问题。例如，如何加入对于sin/cos/开根号等的支持，也能作出较好的回答；<br />
5. 还有一个小陷阱，除0的考虑；</p>
<p>总之，简单的一道题目，但在面试的特殊环境下，能够较好的区分出应聘者的设计水平。</p>
<p>为了更好的在面试的时候说明题目，我用flex实现了一个界面（因为只起演示作用，所以有个已知的bug就是超长的输入数字，或者回显的超长数字结果，会使程序的显示产生未定义行为）[Updated: 加了个限长为10，现在可以忽略这句话了]。</p>
<p>附件里有代码和状态转换图，有兴趣的可以下来看看。有更好的考量，还望多多指教。</p>
<p><a href="http://www.axqd.net/calculator/">http://www.axqd.net/calculator/</a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="面试时候如何回答" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F11%2F07%2Finterview%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">面试时候如何回答</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="乐山印象" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F05%2Ffeel-le-shan%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1560518.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">乐山印象</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Lomo life, Casual shot – 2" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F07%2F06%2Flomo-life-casual-shot-2%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559460.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Lomo life, Casual shot – 2</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="第一次大胜" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F03%2F26%2F%25E7%25AC%25AC%25E4%25B8%2580%25E6%25AC%25A1%25E5%25A4%25A7%25E8%2583%259C%2F&from=http%3A%2F%2Fblog.axqd.net%2F2008%2F08%2F28%2Fface-questions%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559841.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">第一次大胜</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2008/08/28/face-questions/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>古灵精怪</title>
		<link>http://blog.axqd.net/2006/04/29/strange/</link>
		<comments>http://blog.axqd.net/2006/04/29/strange/#comments</comments>
		<pubDate>Sat, 29 Apr 2006 09:03:03 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=313</guid>
		<description><![CDATA[以前一直很惊叹解析DOC的quirks模式，居然能在如此多错误的情况下容错，保持健壮。但最近看看Macromedia公司的AS2官方类库，才更为惊叹AS脚本解析器的容错能力； 代码里面一堆堆错误，硬是能够正常跑起来，结果放到Eclipse下，一大堆报错，类库编译都通不过，用FDT+Aswing随便个小东西就得改一大堆的错误才能运行，随便举几个例子： 以下摘抄都是官方公布类库: Directory: Documents and Settings\Administrator\Local Settings\Application Data\Macromedia\Flash 8\zh_cn\Configuration\Classes\ 例一、类型不匹配 不过ASv1本身就是弱类型的，所以不算太错，但Number-Date真不知运行的时候为啥不会错，因为确实没找到转换函数 mx\services\WSDL.as if (src != undefined) { var start = new Date(); this.wsdl.log.logInfo("Received WSDL document from the remote service", Log.VERBOSE); this.parseXML(src); this.loaded = true; //加入此行，真不知 Math.round(new Date().getMilliseconds())错在哪里T T var end = new Date(); //106 var parseTime = Math.round(new Date()) - start; var parseTime = [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="乐山大佛在四姑娘山" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F30%2Ffour-girls-mountain%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1560160.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">乐山大佛在四姑娘山</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Firefox Fan" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F12%2F07%2Ffirefox-fan%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559924.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Firefox Fan</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="朋友出书" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2009%2F05%2F15%2Fauthor-friends%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559724.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">朋友出书</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="和XX对弈" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F12%2F23%2Fgo%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559909.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">和XX对弈</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>以前一直很惊叹解析DOC的quirks模式，居然能在如此多错误的情况下容错，保持健壮。但最近看看Macromedia公司的AS2官方类库，才更为惊叹AS脚本解析器的容错能力；<br />
代码里面一堆堆错误，硬是能够正常跑起来，结果放到Eclipse下，一大堆报错，类库编译都通不过，用FDT+Aswing随便个小东西就得改一大堆的错误才能运行，随便举几个例子：<br />
以下摘抄都是官方公布类库:<br />
Directory:<br />
Documents and Settings\Administrator\Local Settings\Application Data\Macromedia\Flash 8\zh_cn\Configuration\Classes\<br />
<strong>例一、类型不匹配</strong><br />
不过ASv1本身就是弱类型的，所以不算太错，但Number-Date真不知运行的时候为啥不会错，因为确实没找到转换函数<br />
mx\services\WSDL.as</p>
<p><code>if (src != undefined)<br />
{<br />
  var start = new Date();<br />
  this.wsdl.log.logInfo("Received WSDL document from the remote service", Log.VERBOSE);<br />
  this.parseXML(src);<br />
  this.loaded = true;<br />
  //加入此行，真不知 Math.round(new Date().getMilliseconds())错在哪里T T<br />
  var end = new Date();<br />
  //106 var parseTime = Math.round(new Date()) - start;<br />
  var parseTime = Math.round((end.getMilliseconds()) - start.getMilliseconds());<br />
  this.wsdl.log.logInfo("Parsed WSDL XML [" + parseTime + " millis]", Log.VERBOSE);<br />
}</code><br />
<strong>例二、变量名重复定义</strong><br />
<strong>例三、缺少结尾分号</strong><br />
mx\services\WebServiceProxy.as</p>
<p><code>  // Shut off the __resolve<br />
  this.service.__resolve = function(operationName) {<br />
  var callback = new PendingCall();<br />
  callback.genSingleConcurrencyFault = function()<br />
  {<br />
    clearInterval(this.timerID);  // only once<br />
    //192对应例二 var fault = new SOAPFault("Client.NoSuchMethod",<br />
    var innerFault = new SOAPFault("Client.NoSuchMethod", "Couldn't find method '" + operationName + "' in service!");<br />
    this.__handleFault(innerFault);<br />
    this.onFault(innerFault);<br />
    //197对应例三<br />
  };<br />
  callback["timerID"] = setInterval(function() { callback.genSingleConcurrencyFault(); }, 50);  // 5 ms<br />
  return callback;<br />
};</code></p>
<p><strong>例四、相等与赋值乱用</strong><br />
mx\services\WSDL.as</p>
<p><code>// per WSDL 1.1 spec, if message is not named default to op Name plus suffix by mode:<br />
if (message.name == undefined)<br />
{<br />
  if (mode == SOAPConstants.MODE_IN)<br />
  {<br />
    message.name = operationName + "Request";<br />
  }<br />
  else<br />
  {<br />
    //598message.name == operationName + "Response";<br />
    message.name = operationName + "Response";<br />
  }<br />
}</code></p>
<p><strong>例五、不知为何</strong><br />
mx\services\NameSpace.as</p>
<p><code>//18<br />
  static var _doc = new XML();<br />
//65不知为何必须使用this来访问static成员，反正少了编不过<br />
  var node = this._doc.createTextNode(value);</code></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="小姐语出惊人" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F12%2F06%2Fshocking-word%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559932.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">小姐语出惊人</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Model Tang" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F07%2F18%2Fmodel-tang%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559473.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Model Tang</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Browser Helper Object" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F12%2F16%2Fbrowser-helper-object%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559680.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Browser Helper Object</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="朋友出书" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2009%2F05%2F15%2Fauthor-friends%2F&from=http%3A%2F%2Fblog.axqd.net%2F2006%2F04%2F29%2Fstrange%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559724.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">朋友出书</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2006/04/29/strange/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>关于Single Sign On的一些设想</title>
		<link>http://blog.axqd.net/2005/11/09/single-sign-on/</link>
		<comments>http://blog.axqd.net/2005/11/09/single-sign-on/#comments</comments>
		<pubDate>Wed, 09 Nov 2005 10:51:47 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=408</guid>
		<description><![CDATA[单点登陆，始终有其吸引力。然而就实现而言，结合栋力无限现有情况，比较困难。 主要原因在于栋力无限门户下属各个子站点，不仅有自己开发的，也有直接使用的他人开发的开源项目的。特别对于后者，如果花大力气，对其进行修改，使其使用我们自身的passport，一旦其有所升级、打patch等变动，就会导致大量的重复劳动。 在现有条件下，是否存在一种花费最小代价的Single Sign On实现方式？换句话说，使得插接到passport的各个子站点，所作的修改尽量的少？ 最近有一个设想，就是如果想要尽可能少的修改各个子站点，实现passport的通用性，唯有通过模拟各个子站点自身的登陆行为。 法1、填写username password，并post到其form的action链接里面; 法2、直接在用户本机写入cookie文件; 两种方式其实都可以。具体一点说： 第一阶段试验目标： 1、登陆passport.dormforce.net后，passport修改用户登陆状态信息为已登录（并以Web Services或其他方式对外公开）。 2、passport调用放在各个子站点自身程序里的一个模板页面，那个页面实现的唯一功能就是采用法1或法2模拟登陆本子站点，若有必要，在这里，还可以增加对Session,Application等变量的支持;（由于开源，可以跟踪入内，找到其登陆代码，copy过来修改一下即可）（调用的时候，最好使用AJAX等技术后台加载，防止页面频繁刷新，提高用户体验） 3、passport调用放在各个子站点自身程序里的一个模板页面，那个页面实现的唯一功能就是采用法1或法2登出本子站点，若有必要，在这里，还可以增加对Session,Application等变量的支持;（由于开源，可以跟踪入内，找到其登出代码，copy过来修改一下即可）（调用的时候，最好使用AJAX等技术后台加载，防止页面频繁刷新，提高用户体验） 至此，应该能够实现在passport登陆后，畅通访问各个子站点；在passport登出后，退出所有子站点； 第二阶段试验目标： 1、通过用户登陆状态信息等其他验证安全的手段，确保放在各个自站点的模拟登陆页面安全。 2、修改各个子站点的登陆和登出链接，指向passport 至此，应该能够实现我们最初的目标。 我再稍微总结一下： passport实现的功能就是登陆时，自动登陆各个站点；登出时，自动登出所有站点。这里和通常意义的passport不一样，因为通常意义的passport一般就只有一个cookie。 一个新插入的子站点（不管自身项目还是开源项目），若想使用passport认证，则进行如下操作： 1、找到登陆的代码，套入passport提供的模板页面中； 2、找到登陆和登出的链接，指向passport； 当然，对于第二步来说，仍然比较困难，但是较之完全替换其帐户系统，理论上讲应该轻松许多，这也是我目前能想到的代价最小的实现Single Sign On的方式了。 由于这只是一些设想，跟曾毅和卢浩森聊了一下，据称问题不大，而且曾毅貌似已在音乐站上测试成功第一阶段的目标，所以特贴出来，看看各位达人认为： 1、有可行性么？ 2、有没有其他更好更贴近栋力无限自身特点的方式？<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F03%2F08%2Fons-groupon%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ons-&gt;Groupon</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2011%2F07%2F22%2Fimport-flip-ultra-videos-to-imovie-on-ipad2%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Import Flip Ultra Videos to iMovie on iPad2</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F07%2F17%2Fvideo-and-photo-solution-on-wordpress%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Video and photo solution on WordPress</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F02%2Fon-the-bus%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">公车奇遇</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>单点登陆，始终有其吸引力。然而就实现而言，结合栋力无限现有情况，比较困难。</p>
<p>主要原因在于栋力无限门户下属各个子站点，不仅有自己开发的，也有直接使用的他人开发的开源项目的。特别对于后者，如果花大力气，对其进行修改，使其使用我们自身的passport，一旦其有所升级、打patch等变动，就会导致大量的重复劳动。</p>
<p>在现有条件下，是否存在一种花费最小代价的Single Sign On实现方式？换句话说，使得插接到passport的各个子站点，所作的修改尽量的少？</p>
<p>最近有一个设想，就是如果想要尽可能少的修改各个子站点，实现passport的通用性，唯有通过模拟各个子站点自身的登陆行为。</p>
<p>法1、填写username password，并post到其form的action链接里面;<br />
法2、直接在用户本机写入cookie文件;</p>
<p>两种方式其实都可以。具体一点说：</p>
<p>第一阶段试验目标：</p>
<p>1、登陆passport.dormforce.net后，passport修改用户登陆状态信息为已登录（并以Web Services或其他方式对外公开）。</p>
<p>2、passport调用放在各个子站点自身程序里的一个模板页面，那个页面实现的唯一功能就是采用法1或法2模拟登陆本子站点，若有必要，在这里，还可以增加对Session,Application等变量的支持;（由于开源，可以跟踪入内，找到其登陆代码，copy过来修改一下即可）（调用的时候，最好使用AJAX等技术后台加载，防止页面频繁刷新，提高用户体验）</p>
<p>3、passport调用放在各个子站点自身程序里的一个模板页面，那个页面实现的唯一功能就是采用法1或法2登出本子站点，若有必要，在这里，还可以增加对Session,Application等变量的支持;（由于开源，可以跟踪入内，找到其登出代码，copy过来修改一下即可）（调用的时候，最好使用AJAX等技术后台加载，防止页面频繁刷新，提高用户体验）</p>
<p>至此，应该能够实现在passport登陆后，畅通访问各个子站点；在passport登出后，退出所有子站点；</p>
<p>第二阶段试验目标：</p>
<p>1、通过用户登陆状态信息等其他验证安全的手段，确保放在各个自站点的模拟登陆页面安全。</p>
<p>2、修改各个子站点的登陆和登出链接，指向passport</p>
<p>至此，应该能够实现我们最初的目标。</p>
<p>我再稍微总结一下：</p>
<p>passport实现的功能就是登陆时，自动登陆各个站点；登出时，自动登出所有站点。这里和通常意义的passport不一样，因为通常意义的passport一般就只有一个cookie。</p>
<p>一个新插入的子站点（不管自身项目还是开源项目），若想使用passport认证，则进行如下操作：</p>
<p>1、找到登陆的代码，套入passport提供的模板页面中；<br />
2、找到登陆和登出的链接，指向passport；</p>
<p>当然，对于第二步来说，仍然比较困难，但是较之完全替换其帐户系统，理论上讲应该轻松许多，这也是我目前能想到的代价最小的实现Single Sign On的方式了。</p>
<p>由于这只是一些设想，跟曾毅和卢浩森聊了一下，据称问题不大，而且曾毅貌似已在音乐站上测试成功第一阶段的目标，所以特贴出来，看看各位达人认为：</p>
<p>1、有可行性么？<br />
2、有没有其他更好更贴近栋力无限自身特点的方式？</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F03%2F08%2Fons-groupon%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Ons-&gt;Groupon</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2011%2F07%2F22%2Fimport-flip-ultra-videos-to-imovie-on-ipad2%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Import Flip Ultra Videos to iMovie on iPad2</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F07%2F17%2Fvideo-and-photo-solution-on-wordpress%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Video and photo solution on WordPress</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F02%2Fon-the-bus%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F11%2F09%2Fsingle-sign-on%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">公车奇遇</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2005/11/09/single-sign-on/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>多文件批量上传</title>
		<link>http://blog.axqd.net/2005/09/30/multi-file-upload/</link>
		<comments>http://blog.axqd.net/2005/09/30/multi-file-upload/#comments</comments>
		<pubDate>Fri, 30 Sep 2005 10:43:29 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=405</guid>
		<description><![CDATA[用一个页面实现文件上传，一般只需要使用HtmlInputFile的runat=server版本就行了，但是现在有些不同的地方： 1、直接上传到数据库的image类型的字段中，而不产生本地文件； 2、多个文件同时上传； 3、上传的文件组最后要同其他相关信息进行关联； 解决方法主要有两种： 1、每次上传一个文件到临时目录，返回并保存相关信息到ViewState，最后提交的时候，统一将文件写入数据库，并根据相关信息做关联； 2、每次上传一个文件到数据库，返回并保存相关信息到ViewState，最后提交的时候，根据相关信息做关联； 3、每次采集HtmlInputFile中的信息到ListBox，最后统一上传多个文件，并做相关关联； 无疑，第三种是其中最好的一种，但是上传多个文件却比较麻烦，本来想在提交的时候，分别多次设置 HtmlInputFile.PostedFile.FileName属性，再多次调用SaveAs进行上传，但在一次提交过程中它不允许重设 FileName属性(事后想想，确实应该不行:P) 后来又想在后台动态添加HtmlInputFile控件并且设其Visible属性为false，结果好像还是不行，因为还是不准自己指定那个怨念的FileName属性 结果： 增加文件按钮： if( null == m_htmlInputFile ) m_htmlInputFile = new ArrayList(); m_htmlInputFile.Add( FileInputField ); 其中FileInputField为System.Web.UI.HtmlControls.HtmlInputFile类型; 并且注意设置m_htmlInputFile这个ArrayList为static，以防每次增加文件后被刷新为null:( 这里其实就每次Add那个Html控件就行了，他们都对应相同的html控件，但是后台的对象每Add一次增加一个:) 提交按钮： if( null == m_imageList ) m_imageList = new ArrayList(); if( null == m_imageTypeList ) m_imageTypeList = new ArrayList(); foreach( HtmlInputFile hif in m_htmlInputFile ) { [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="电影文件名的秘密" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F11%2Fsecrets-of-names-of-movies%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">电影文件名的秘密</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="梦寐以求，太强了，自己看，不爽砍我" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F12%2F22%2Fperfect%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559678.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">梦寐以求，太强了，自己看，不爽砍我</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="第一次大胜" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F03%2F26%2F%25E7%25AC%25AC%25E4%25B8%2580%25E6%25AC%25A1%25E5%25A4%25A7%25E8%2583%259C%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559841.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">第一次大胜</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Lomo life, Casual shot – 1" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F06%2F05%2Flomo-life-casule-shoot-1%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559463.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Lomo life, Casual shot – 1</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>用一个页面实现文件上传，一般只需要使用HtmlInputFile的runat=server版本就行了，但是现在有些不同的地方：<br />
1、直接上传到数据库的image类型的字段中，而不产生本地文件；<br />
2、多个文件同时上传；<br />
3、上传的文件组最后要同其他相关信息进行关联；</p>
<p>解决方法主要有两种：<br />
1、每次上传一个文件到临时目录，返回并保存相关信息到ViewState，最后提交的时候，统一将文件写入数据库，并根据相关信息做关联；<br />
2、每次上传一个文件到数据库，返回并保存相关信息到ViewState，最后提交的时候，根据相关信息做关联；<br />
3、每次采集HtmlInputFile中的信息到ListBox，最后统一上传多个文件，并做相关关联；</p>
<p>无疑，第三种是其中最好的一种，但是上传多个文件却比较麻烦，本来想在提交的时候，分别多次设置 HtmlInputFile.PostedFile.FileName属性，再多次调用SaveAs进行上传，但在一次提交过程中它不允许重设 FileName属性(事后想想，确实应该不行:P)<br />
后来又想在后台动态添加HtmlInputFile控件并且设其Visible属性为false，结果好像还是不行，因为还是不准自己指定那个怨念的FileName属性</p>
<p>结果：<br />
增加文件按钮：<br />
<code>if( null == m_htmlInputFile )<br />
 m_htmlInputFile = new ArrayList();<br />
m_htmlInputFile.Add( FileInputField );</code><br />
其中FileInputField为System.Web.UI.HtmlControls.HtmlInputFile类型;<br />
并且注意设置m_htmlInputFile这个ArrayList为static，以防每次增加文件后被刷新为null:(<br />
这里其实就每次Add那个Html控件就行了，他们都对应相同的html控件，但是后台的对象每Add一次增加一个:)</p>
<p>提交按钮：<br />
<code>if( null == m_imageList )<br />
 m_imageList = new ArrayList();<br />
if( null == m_imageTypeList )<br />
 m_imageTypeList = new ArrayList();<br />
foreach( HtmlInputFile hif in m_htmlInputFile )<br />
{<br />
 System.Drawing.Image image = System.Drawing.Image.FromStream( hif.PostedFile.InputStream );<br />
 m_imageList.Add( image );<br />
 m_imageTypeList.Add( hif.PostedFile.ContentType );<br />
}</code></p>
<p>显示图片：<br />
在GetImage.aspx?ImageID=*页面的Page_Load中<br />
<code> Response.ContentType = m_image.ImageType;<br />
 Response.BinaryWrite( m_image.Img );</code><br />
注意采用BinaryWrite以及设置ContentType为image/pjpeg等</p>
<p>最后在保存文件到后端数据库的时候有点小不爽：<br />
<code>MemoryStream ms = new MemoryStream();<br />
image.Save( ms, System.Drawing.Imaging.ImageFormat.Jpeg );//image是System.Drawing.Image<br />
m_image = new byte[ms.Length];//m_image是byte[]<br />
ms.Position = 0;<br />
//If Too Long, ...<br />
ms.Read( m_image, 0, Convert.ToInt32(ms.Length));</code></p>
<p>这里ms.Length是long类型，但是同一个类－MemoryStream的Read方法的第三个参数是int型，涉及到一个向下的类型转换，如果Length过大，应该这里会有问题，不知是怎么回事:(</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="电影文件名的秘密" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F11%2Fsecrets-of-names-of-movies%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">电影文件名的秘密</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="小姐语出惊人" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F12%2F06%2Fshocking-word%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559932.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">小姐语出惊人</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Lomo life, Casual shot – 1" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F06%2F05%2Flomo-life-casule-shoot-1%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559463.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Lomo life, Casual shot – 1</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="新春送桌面" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F02%2F16%2Fnew-year-desktop%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F09%2F30%2Fmulti-file-upload%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559876.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">新春送桌面</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2005/09/30/multi-file-upload/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>ZTMD宁愿重写，也不排错</title>
		<link>http://blog.axqd.net/2005/04/09/ztm/</link>
		<comments>http://blog.axqd.net/2005/04/09/ztm/#comments</comments>
		<pubDate>Sat, 09 Apr 2005 08:14:10 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[.NET框架]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[心情日记]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=383</guid>
		<description><![CDATA[奋战了一个星期的简易登陆系统排错，最后的结果让人汗颜： 将Web.Config里面的 &#60;authentication mode="Windows"&#62; &#60;/authentication&#62; 改为 &#60;authentication mode="Forms"&#62; &#60;forms name="TheSky" path="/" loginUrl="/TheSky/WebModules/Users/Login.aspx" protection="All" timeout="30"&#62; &#60;/forms&#62; &#60;/authentication&#62; 我一直没有查Web.Config。唉，已经欲哭无泪了，呜呜&#8230; ps：ztmd,ztmD,ztMd,zTmd,Ztmd,ztMD,zTmD,ZtmD,zTMd,ZtMd,ZTmd,zTMD,ZtMD,ZTmD,ZTMd,ZTMD<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F27%2Fbasic-question-of-c-sharp%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于C#一个基础问题的初步探查</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F14%2Fi-am-a-student%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">我ZTMD是大学生，TMD人格担保</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">假期意识流</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F06%2F11%2Fiis6-ssl%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">任务稿：IIS6+SSL Based On 2k3</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>奋战了一个星期的简易登陆系统排错，最后的结果让人汗颜：<br />
将Web.Config里面的<br />
<code>&lt;authentication mode="Windows"&gt;<br />
&lt;/authentication&gt;</code><br />
改为<br />
<code>&lt;authentication mode="Forms"&gt;<br />
&lt;forms name="TheSky" path="/" loginUrl="/TheSky/WebModules/Users/Login.aspx" protection="All" timeout="30"&gt;<br />
&lt;/forms&gt;<br />
&lt;/authentication&gt;</code><br />
我一直没有查Web.Config。唉，已经欲哭无泪了，呜呜&#8230;</p>
<p>ps：ztmd,ztmD,ztMd,zTmd,Ztmd,ztMD,zTmD,ZtmD,zTMd,ZtMd,ZTmd,zTMD,ZtMD,ZTmD,ZTMd,ZTMD</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F27%2Fbasic-question-of-c-sharp%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于C#一个基础问题的初步探查</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F14%2Fi-am-a-student%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">我ZTMD是大学生，TMD人格担保</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">假期意识流</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F06%2F11%2Fiis6-ssl%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">任务稿：IIS6+SSL Based On 2k3</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2005/04/09/ztm/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>假期意识流</title>
		<link>http://blog.axqd.net/2005/02/26/vacation/</link>
		<comments>http://blog.axqd.net/2005/02/26/vacation/#comments</comments>
		<pubDate>Sat, 26 Feb 2005 09:12:24 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[.NET框架]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[心情日记]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[scu]]></category>
		<category><![CDATA[uestc]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=380</guid>
		<description><![CDATA[意识流 &#8212;假期生活乱纪 这个假期不堪回首，单调得可怕，除了4本书之外，记忆中仅存的就全是某大学的研究生会的网站了。网站说来更不堪回首，完全算得上“赶鸭子上架”的典型（我“可爱”的姐在网站“八字还没有一撇”的时候，居然就敢将“网站建设费”挥霍一空，后来备受挫折后，无力还债，于是栽赃到了我的头上- -！）。下面将网站建设过程中的点点滴滴乱纪下来，想到哪里写到哪里，逻辑未免混乱，各位大虾莫要见笑。目的也很简单，让各位看看一个新手眼中的网站建设过程。 1、 研究生会： 因为这个网站，我就已经堂而皇之成为某大学研究生会编制中的一员，这种“海纳百川”的“气势”令我无不拜倒- -！ 2、 网站需求： 刚开始的网站需求很“明确”&#8212;“美观、大方、展现当代研究生风采”。让我感到在这种“派头”的指导老师手下干起事情来一定比较“自由”，但是后来事实证明我错了，这种指导老师也有开始变“聪明”的时候。 需求增加了一条&#8212;“采用最新的Asp.Net技术，并且务必使用SQL Server最新版本”，我在深入理解这条需求之后，对于各个软件、框架的版本甚是犹豫，不知beta版是否也计算在内- -！ 3、 美工： 这个我没有发言权，反正阿梅和阿楠看过（因为当时我不会用PS分页- -！） 4、 VS .NET环境： 由于以前习惯于Borland的BCB，于是“疏”在于没RAD就不活了，“密”在于任何东西都希望有根有据，简单明了。对于VC++6.0从未涉猎，因为当时第一印象就觉得不像是拿来编程的，加之MFC的封装没有一定的实力，定会感到极其莫名其妙，那消息映射的编程方式更是使得局势错综复杂，不像VCL里面虽然依然有很多不懂，但至少容易把握过程。 介于上述原因，所以当我观之Visual Studio .NET的时候还是大吃一惊，惊叹微软也终于RAD了一把。于是看了本《C# Primer》上手就干。 但是现实总是残酷的，虽然很多东西感觉用起很顺手，但还是有很多极其不习惯： 首当其冲的就是一个解决方案里面的类、函数等等，不用.h，不用#include好像就能够在各个文件中可见，原因可能是采用namespace的组织方式，但是老是觉得没有#include &#60;*.h&#62;就是不爽（我理想中的世界应该是把文件include过来后，再在namespace里面避免污染，而不要在一个解决方案里面的文件到处都可见似的）。 其次就是所谓的大名鼎鼎的“Code Behind”，这个倒是在很大程度上解决了网页程序设计中的版权问题，并且使代码和外观分离，便于和传统窗口编程靠拢。但是对于新手而言，在不具备驾驭的能力的情况下，无非是场灾难，代码直接生成DLL，不用export，不用声明，只需assembly一下，就可以使用，随便咋看都极其莫名其妙。 介于以上，我终于放弃了使用VS .NET，本来想选择同出Borland之手的C# Builder，但是令人郁闷的是没有找到注册码- -！所以最后我还是选择了以前写ASP程序时候采用的Dreamweaver+EditPlus+MSDN，本来记事本足已，但是少了调试器，要是连行号都看不到，那我还是直接跳楼算了。 5、 风格： 回头看我写的代码，感觉很多地方看起来还是像用ASP写的：P，不过因为毕竟是ASP.NET的东西，还是初步感受了一下ASP.NET的便利，诸如：DataGrid、DataList、Page_Load、还有在连接SQL数据库时候的便利等等等等。 6、 语言： 这个是我最无语的一点，由于C# 是刚学的，所以开始的时候还是在尝试VB，在花了很长时间都没有发现下面代码为什么通不过之后，我还是痛下决心用C# 吧- -！ #region code &#60;script language=”VB” runat=server&#62; sub foo(object sender,eventargs e) { //---------- [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F03%2F25%2Fwoo-hoo-uestc%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">电子科技大学终于要卖地还债了</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F09%2Fbetter-javascript-syntax-support%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Better Javascript Syntax Support</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ZTMD宁愿重写，也不排错</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fboys-declaration-of-uestc%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">科大男生宣言</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong>意识流</strong></p>
<p style="text-align: right;">&#8212;假期生活乱纪</p>
<p>这个假期不堪回首，单调得可怕，除了4本书之外，记忆中仅存的就全是某大学的研究生会的网站了。网站说来更不堪回首，完全算得上“赶鸭子上架”的典型（我“可爱”的姐在网站“八字还没有一撇”的时候，居然就敢将“网站建设费”挥霍一空，后来备受挫折后，无力还债，于是栽赃到了我的头上- -！）。下面将网站建设过程中的点点滴滴乱纪下来，想到哪里写到哪里，逻辑未免混乱，各位大虾莫要见笑。目的也很简单，让各位看看一个新手眼中的网站建设过程。</p>
<p>1、  研究生会：</p>
<p>因为这个网站，我就已经堂而皇之成为某大学研究生会编制中的一员，这种“海纳百川”的“气势”令我无不拜倒- -！</p>
<p>2、  网站需求：</p>
<p>刚开始的网站需求很“明确”&#8212;“美观、大方、展现当代研究生风采”。让我感到在这种“派头”的指导老师手下干起事情来一定比较“自由”，但是后来事实证明我错了，这种指导老师也有开始变“聪明”的时候。</p>
<p>需求增加了一条&#8212;“采用最新的Asp.Net技术，并且务必使用SQL Server最新版本”，我在深入理解这条需求之后，对于各个软件、框架的版本甚是犹豫，不知beta版是否也计算在内- -！</p>
<p>3、  美工：</p>
<p>这个我没有发言权，反正阿梅和阿楠看过（因为当时我不会用PS分页- -！）</p>
<p>4、  VS .NET环境：</p>
<p>由于以前习惯于Borland的BCB，于是“疏”在于没RAD就不活了，“密”在于任何东西都希望有根有据，简单明了。对于VC++6.0从未涉猎，因为当时第一印象就觉得不像是拿来编程的，加之MFC的封装没有一定的实力，定会感到极其莫名其妙，那消息映射的编程方式更是使得局势错综复杂，不像VCL里面虽然依然有很多不懂，但至少容易把握过程。</p>
<p>介于上述原因，所以当我观之Visual Studio .NET的时候还是大吃一惊，惊叹微软也终于RAD了一把。于是看了本《C# Primer》上手就干。</p>
<p>但是现实总是残酷的，虽然很多东西感觉用起很顺手，但还是有很多极其不习惯：</p>
<p>首当其冲的就是一个解决方案里面的类、函数等等，不用.h，不用#include好像就能够在各个文件中可见，原因可能是采用namespace的组织方式，但是老是觉得没有#include &lt;*.h&gt;就是不爽（我理想中的世界应该是把文件include过来后，再在namespace里面避免污染，而不要在一个解决方案里面的文件到处都可见似的）。</p>
<p>其次就是所谓的大名鼎鼎的“Code Behind”，这个倒是在很大程度上解决了网页程序设计中的版权问题，并且使代码和外观分离，便于和传统窗口编程靠拢。但是对于新手而言，在不具备驾驭的能力的情况下，无非是场灾难，代码直接生成DLL，不用export，不用声明，只需assembly一下，就可以使用，随便咋看都极其莫名其妙。</p>
<p>介于以上，我终于放弃了使用VS .NET，本来想选择同出Borland之手的C# Builder，但是令人郁闷的是没有找到注册码- -！所以最后我还是选择了以前写ASP程序时候采用的Dreamweaver+EditPlus+MSDN，本来记事本足已，但是少了调试器，要是连行号都看不到，那我还是直接跳楼算了。</p>
<p>5、  风格：</p>
<p>回头看我写的代码，感觉很多地方看起来还是像用ASP写的：P，不过因为毕竟是ASP.NET的东西，还是初步感受了一下ASP.NET的便利，诸如：DataGrid、DataList、Page_Load、还有在连接SQL数据库时候的便利等等等等。</p>
<p>6、  语言：</p>
<p>这个是我最无语的一点，由于C# 是刚学的，所以开始的时候还是在尝试VB，在花了很长时间都没有发现下面代码为什么通不过之后，我还是痛下决心用C# 吧- -！</p>
<p><code>#region code<br />
&lt;script language=”VB” runat=server&gt;<br />
sub foo(object sender,eventargs e)<br />
{<br />
//----------<br />
}<br />
&lt;/script&gt;<br />
#endregion</code></p>
<p>接踵而来的转化工作，幸好还不算很困难，但确实很烦，下面将我在转化时的主要工作总结一下：</p>
<p>a）  大小写：VB里面的标识符不区分大小写，如：page_load、datagrid也可以通过，但是到了C# 里面就必须区分大小写了（这里是改得最郁闷的了，对照到MSDN一个一个挨到改，想当初写VB Script的时候不偷懒就好了）</p>
<p>b）  索引（Item）：VB里面使用object（index）就可以索引了，但是到了C#里面索引可必须使用object[index]符号，不过如果你使用Item调用就一致了，不过新手一般都不会那样做。</p>
<p>其他可能还有很多转化工作，不过我倒是幸运的没有碰到。</p>
<p>7、  基本代码组织方式：</p>
<p>由于那个网站大量的都是带图像文本处理，所以基本上前台采用的是把分页后形成的静态页面里面的动态部分挖空，以iframe填充之，iframe的src里面要不就指向list.aspx文件（显示前多少项，以及more按钮），并传入类别、css、行数、列数作为参数控制外观；要不就指向multilist.aspx文件（显示所有内容，以DataGrid进行分页控制），传入的外观控制参数一致。并且二者都接受hot=1参数，若设置了，则排序的方式由order by subdate desc变为order by 点击次数 desc</p>
<p>8、  前台：</p>
<p>前台如前述方式架构，我觉得最有用的就是DataGrid与DataList的基本使用及外观控制，如果实在觉得不方便，新手还是用&lt;ItemTemplate&gt;来得快：），另外在进行数据绑定的时候，我基本上就只用到了下面一条语句：</p>
<p><code>&lt;%#  ((DataRowView)Container.DataItem)["foo"]  %&gt;</code></p>
<p>9、  后台管理：</p>
<p>a）FreeTextBox：</p>
<p>说起后台管理自然想到了熟悉的DormForce Blog的后台，那里的那个输入控件，令人感觉甚爽，在IE里面察看源，发现名字叫做FreeTextBox- -！这个名字实在是…</p>
<p>于是Google后下载了一个，感觉封装得很好，使用也很方便，直接register就可以用了，令我倍感ASP.NET还是很爽的，也对Web Control产生了一丝眷恋。但是问题也出来了，他的“插入图片”按钮令人极其郁闷，只能插入图片URL，而没有提供上传，本来想在FTB控件旁边单独提供一个UploadImg按钮，提供上传然后返回URL，供使用FTB插入之需。</p>
<p>但是在看了“宝玉”的文章后突然发现FTB对于Button提供了接口ToolBarButton，于是可以把上传的工作集成到按钮里面。用宝玉提供的方法，在VS .NET里面“依样画葫芦”很快便搞定了，其实就是直接从ToolBarButton直接继承构造新的Button就可以了。</p>
<p>但是问题是我没有用Code Behind的方式，而且找了半天也没有发现，如果不用Code Behind，把类的定义写在哪里？所以只有自己想办法，看了半天英文版的FTB帮助，终于找到了方法：</p>
<p><code>&lt;FTB:TOOLBARBUTTON title="插入图片"<br />
runat="server" ScriptBlock="myOpenFunc();" ButtonImage="insertimage" /&gt;</code></p>
<p>其中的ButtonImage指定名称后会自动从aspnet_client目录调用图片资源，若要更换可以直接替换文件即可，不过注意保持长宽比（不然会很难看的）。另外我感觉aspnet_client这个名字很可疑，可能有特殊的用途，诸如用于客户端的啥子东西，没有敢改名字：（</p>
<p>其中的ScriptBlock直接在FTB生成的Html页面里面加入内容，如上例就生成如下咚咚：</p>
<p><code>… = new FTBButton(… function(){myOpenFunc();} …)…</code></p>
<p>myOpenFunc()为调用此FTB控件页面上&lt;script&gt;内定义的函数。藉由此实现runat=server代码对于本机函数的调用，即通常所谓的Response.Write法。</p>
<p>另外，我还需要从本机函数调取runat=server中控件的属性。想了半天，找到了如下的不是办法的办法：</p>
<p><code>function myOpenFunc(){<br />
var dt=eval('myForm.myDataTable');<br />
var tempurl='../inc/uploadimg.aspx?tab=';<br />
tempurl = tempurl+dt.value;<br />
window.open(tempurl,'_uploadimg','width=300 height=50');<br />
}</code></p>
<p>其中myForm、myDataTable分别为runat=server里面Form和DropDownList的Id名称，使得本机获得的html页面里的form和select的id为这二者，从而为本机函数的实现提供可能性。</p>
<p>在uploadimg.aspx中只需完成上传文件，调用opener.top.InsertText(…)方法传入图片地址即可，而在myOpenFunc()所在页面中定义InsertText方法完成插入。</p>
<p>b）  编辑区域：</p>
<p>编辑区域的实质，宝玉已经说得比较清楚了，其实就是一个document.designMode设为on的Iframe。因此可以方便的用本机函数进行各种编辑工作以及调用focus()获取焦点。</p>
<p>c）  DropDownList的数据绑定：</p>
<p>由于需要，选定一个DropDownList后要对另外一个重新进行数据绑定，实现方式如下：</p>
<p>指定DropDownList的属性OnSelectedIndexChanged=&#8221;SelectionChangeFunc&#8221; AutoPostBack=&#8221;true&#8221;，SelectionChangeFunc会传送给一个delegate型别从而起到类似函数指针的作用。</p>
<p><code>void SelectionChangeFunc(Object sender, System.EventArgs e)<br />
{<br />
myDataClass.DataSource = CreateDataSource(...);<br />
myDataClass.DataTextField = "TextField";<br />
myDataClass.DataValueField = "ValueField";<br />
myDataClass.DataBind();<br />
myDataClass.SelectedIndex = 0;<br />
}<br />
ICollection CreateDataSource(…)<br />
{<br />
System.Data.DataTable myDt = new System.Data.DataTable();<br />
myDt.Columns.Add(new System.Data.DataColumn("TextField", typeof(String)));<br />
myDt.Columns.Add(new System.Data.DataColumn("ValueField", typeof(String)));<br />
...<br />
myDt.Rows.Add(CreateRow("…", "…", myDt));<br />
...<br />
System.Data.DataView myDv = new System.Data.DataView(dt);<br />
return myDv;<br />
}<br />
System.Data.DataRow CreateRow(String Text, String Value, System.Data.DataTable dt)<br />
{<br />
System.Data.DataRow myDr = dt.NewRow();<br />
dr[0] = Text;<br />
dr[1] = Value;<br />
return myDr;<br />
}</code></p>
<p>d）  DataGrid的CommandButton：</p>
<p>column字段：<code>&lt;asp:ButtonColumn HeaderText="Del Button"<br />
Text="Del" CommandName="DelBtn" /&gt;</code></p>
<p>指定DataGrid属性OnItemCommand=&#8221;Grid_DelCommand&#8221;</p>
<p>通过Grid_DelCommand函数处理所有的CommandButton信息，而Grid_DelCommand函数只需根据CommandName指定的值选择操作即可。</p>
<p><code>void Grid_DelCommand(Object sender, DataGridCommandEventArgs e)<br />
{<br />
if(((LinkButton)e.CommandSource).CommandName == "DelBtn")<br />
{<br />
...<br />
}<br />
}</code></p>
<p>这里有两个问题：</p>
<p>其一，好像DataGrid被提交的时候也会调用此OnItemCommand函数，因为当时由于只有一个command，没有用if判断CommandName值的时候，一提交就要出错，而且是在这个函数里面出错的。所以建议就算只有一个command也用if后者select判断一下。</p>
<p>其二，我本来是把&lt;asp:ButtonColumn&gt;定义为“PushButton”的，但是在进行强制类型转换的时候没有找到相应的类型，不管是Button、PushButton都不对，所以只好换用默认的LinkButton才调试通过。</p>
<p>e）  DataGrid的分页：</p>
<p>设置DataGrid的</p>
<p>AllowPaging=True<br />
PagerStyle-Mode=NumericPages<br />
PagerStyle-HorizontalAlign=Right<br />
OnPageIndexChanged=&#8221;Change_Page_Index&#8221;属性</p>
<p>定义下列函数：</p>
<p><code>void Change_Page_Index(Object sender, DataGridPageChangedEventArgs e)<br />
{<br />
myDataGrid.CurrentPageIndex=e.NewPageIndex;<br />
...<br />
myDataGrid.DataBind();<br />
}<br />
void PagerButtonClick(Object sender, EventArgs e)<br />
{<br />
String arg = ((LinkButton)sender).CommandArgument;<br />
switch(arg)<br />
{<br />
case ("next"):<br />
if (myDataGrid.CurrentPageIndex &lt; (myDataGrid.PageCount - 1))<br />
myDataGrid.CurrentPageIndex ++;<br />
break;<br />
case ("prev"):<br />
if (myDataGrid.CurrentPageIndex &gt; 0)<br />
myDataGrid.CurrentPageIndex --;<br />
break;<br />
case ("last"):<br />
myDataGrid.CurrentPageIndex = (myDataGrid.PageCount - 1);<br />
break;<br />
default:<br />
myDataGrid.CurrentPageIndex = Convert.ToInt32(arg);<br />
break;<br />
}<br />
myDataGrid.DataBind();<br />
}</code></p>
<p>这里注意的是换了页要重新DataBind()一下。</p>
<p>f）  SQL：</p>
<p>不多说了，下面是我觉得常用的函数：</p>
<p><code>System.Data.DataSet MyQuery(String querystring)<br />
{<br />
String connectionString = @"...";<br />
System.Data.IDbConnection dbConnection = new<br />
System.Data.SqlClient.SqlConnection(connectionString);<br />
System.Data.IDbCommand dbCommand = new<br />
System.Data.SqlClient.SqlCommand();<br />
dbCommand.CommandText = querystring;<br />
dbCommand.Connection = dbConnection;<br />
System.Data.IDbDataAdapter dataAdapter = new<br />
System.Data.SqlClient.SqlDataAdapter();<br />
dataAdapter.SelectCommand = dbCommand;<br />
System.Data.DataSet dataSet = new System.Data.DataSet();<br />
dataAdapter.Fill(dataSet);<br />
return dataSet;<br />
}<br />
int MyDelete(String delString)<br />
{<br />
String connectionString = @"...";<br />
System.Data.IDbConnection dbConnection = new<br />
System.Data.SqlClient.SqlConnection(connectionString);<br />
System.Data.IDbCommand dbCommand = new<br />
System.Data.SqlClient.SqlCommand();<br />
dbCommand.CommandText = delString;<br />
dbCommand.Connection = dbConnection;<br />
int rowsAffected = 0;<br />
dbConnection.Open();<br />
try<br />
{<br />
rowsAffected = dbCommand.ExecuteNonQuery();<br />
}<br />
finally<br />
{<br />
dbConnection.Close();<br />
}<br />
return rowsAffected;<br />
}<br />
int MyInsert(...)<br />
{<br />
String connString = "...";<br />
System.Data.IDbConnection dbConnection = new<br />
System.Data.SqlClient.SqlConnection(connString);<br />
String queryString = "INSERT INTO [...]([...], ...) VALUES (";<br />
queryString +="@..., ...)";<br />
System.Data.IDbCommand dbCommand = new<br />
System.Data.SqlClient.SqlCommand();<br />
dbCommand.CommandText = queryString;<br />
dbCommand.Connection = dbConnection;<br />
System.Data.IDataParameter dbParam_... = new<br />
System.Data.SqlClient.SqlParameter();<br />
dbParam_...ParameterName = "@...";<br />
dbParam_...Value = ...;<br />
dbParam_...DbType = System.Data.DbType.String;<br />
dbCommand.Parameters.Add(dbParam_...);<br />
...<br />
int rowsAffected = 0;<br />
dbConnection.Open();<br />
try {<br />
rowsAffected = dbCommand.ExecuteNonQuery();<br />
}<br />
finally {<br />
dbConnection.Close();<br />
}<br />
return rowsAffected;<br />
}</code></p>
<p>10、    其他点点滴滴：</p>
<p>a）  去掉图片加链接后外包框：</p>
<p><code>&lt;img border=0&gt;</code></p>
<p>b）  去掉IE图片悬停工具栏：<br />
<code><br />
&lt;img galleryimg=”no”&gt;或者&lt;meta http-equiv="imagetoolbar" content="no"&gt;</code></p>
<p>c）  去掉链接点击后的虚线：</p>
<p><code>&lt;a href="…" onFocus="this.blur()"&gt;&lt;/a&gt;</code></p>
<p>d）  使iframe自适应长宽：</p>
<p><code>&lt;iframe src="..."<br />
onload="this.height =<br />
this.document.body.offsetHeight;this.width=this.document.body.offsetWidth;"&gt;<br />
&lt;/iframe&gt;</code></p>
<p>另外千万注意不要漏了&lt;/iframe&gt;，网页被撑开了，我查了半天才发现是这个原因。</p>
<p>e）  连续滚动：</p>
<p>一般的marquee会两次滚动间会有一段时间的空白，采用<a href="http://blog.axqd.net/wp-content/uploads/2008/07/4marquee.rar">此处的代码</a>可以使得其连续滚动。</p>
<p>上面这些就是这个网站的点点滴滴，没有什么技术含量，只是写篇乱纪，以标明这个颓废的寒假。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F03%2F25%2Fwoo-hoo-uestc%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">电子科技大学终于要卖地还债了</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F09%2Fbetter-javascript-syntax-support%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Better Javascript Syntax Support</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ZTMD宁愿重写，也不排错</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fboys-declaration-of-uestc%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">科大男生宣言</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2005/02/26/vacation/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Firefox Extension</title>
		<link>http://blog.axqd.net/2005/01/09/firefox-extension/</link>
		<comments>http://blog.axqd.net/2005/01/09/firefox-extension/#comments</comments>
		<pubDate>Sun, 09 Jan 2005 09:04:32 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[firefox]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=379</guid>
		<description><![CDATA[Adblock v.5 https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=10&#038;vid=664 广告拦截 Add Bookmark Here 0.5.3 https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=11&#038;vid=1249 All-in-one Gestures 0.12.4 https://addons.update.mozilla.org/extensions/moreinfo.php?id=12 鼠标手势 FlashGot 0.5.5 https://addons.update.mozilla.org/extensions/moreinfo.php?id=220 Gmail Notifier 0.4 http://nexgenmedia.net/extensions/ Sage 1.3 https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=77&#038;vid=1147 In the vicinity of RSS Super DragAndGo 0.2.4 http://superdragandgo.mozdev.org/installation.html 一拉就打开，呵呵 Web Developer 0.8 https://addons.update.mozilla.org/extensions/moreinfo.php?id=60 QuickTabPrefToggle 0.0.4 https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=353&#038;vid=1132 ieview 0.84 https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=35&#038;vid=1179 Image Zoom 0.1.7 https://addons.update.mozilla.org/extensions/moreinfo.php?id=139 Disable Targets For Downloads 0.8 https://addons.update.mozilla.org/extensions/moreinfo.php?id=241&#038;vid=635 下载时免得弹出窗口 [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Firefox Fan" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F12%2F07%2Ffirefox-fan%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559924.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Firefox Fan</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="上海纪行(图片篇)" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F05%2F09%2Fshanghai-pics%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559818.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">上海纪行(图片篇)</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Happy Valentine" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F02%2F13%2Fhappy-valentine%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559881.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Happy Valentine</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="今天看到这个图片，突然小小震动了一下" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2008%2F03%2F31%2Fshock%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559779.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">今天看到这个图片，突然小小震动了一下</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Adblock v.5</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=10&#038;vid=664</p>
<p>广告拦截</p>
<p>Add Bookmark Here 0.5.3</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=11&#038;vid=1249</p>
<p>All-in-one Gestures 0.12.4</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?id=12</p>
<p>鼠标手势</p>
<p>FlashGot 0.5.5</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?id=220</p>
<p>Gmail Notifier 0.4</p>
<p>http://nexgenmedia.net/extensions/</p>
<p>Sage 1.3</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=77&#038;vid=1147</p>
<p>In the vicinity of RSS</p>
<p>Super DragAndGo 0.2.4</p>
<p>http://superdragandgo.mozdev.org/installation.html</p>
<p>一拉就打开，呵呵</p>
<p>Web Developer 0.8</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?id=60</p>
<p>QuickTabPrefToggle 0.0.4</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=353&#038;vid=1132</p>
<p>ieview 0.84</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=35&#038;vid=1179</p>
<p>Image Zoom 0.1.7</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?id=139</p>
<p>Disable Targets For Downloads 0.8</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?id=241&#038;vid=635</p>
<p>下载时免得弹出窗口</p>
<p>ConQuery 1.5.2</p>
<p>http://conquery.mozdev.org/installation.html</p>
<p>很多搜索引擎，可结合desktop search配置桌面搜索</p>
<p>Auto Copy 0.3</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=383&#038;vid=1247</p>
<p>记住安装后要配置，把text那项去掉，要不然太不科学了</p>
<p>Minimize to Tray 0.0.1</p>
<p>http://minimizetotray.mozdev.org/installation.html</p>
<p>找了很久的</p>
<p>SwitchProxy Tool 1.3.1</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=125&#038;vid=1144</p>
<p>Download Statusbar 0.9.2</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=26&#038;vid=1272</p>
<p>Mozilla Archive Format 0.4.3</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;version=1.0%20&#038;os=all&#038;category=Download%20Tools&#038;numpg=10&#038;id=212</p>
<p>可保存mht等格式</p>
<p>Tab Clicking Options 0.3</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;id=260&#038;vid=1220</p>
<p>其中可配置双击关闭，原来的double click现在好像不能用了，就用这个吧</p>
<p>Focus Last Selected Tab  0.8.1</p>
<p>https://addons.update.mozilla.org/extensions/moreinfo.php?application=firefox&#038;version=1.0%20&#038;os=all&#038;category=Tabbed%20Browsing&#038;numpg=10&#038;id=32</p>
<p>另外：</p>
<p>如果google搜索栏没有办法搜索，总是到google的主页面<br />
则将about:config中“browser.search.param.Google.1.custom”和“browser.search.aram.Google.1.default”的值清空即可。<br />
当然，这样改后，使用的是Google的英文搜索页，但是一样可以搜索中文。如果不习惯，再改[FIREFOR_INSTALLATION]searchpluginsgoogle.src这个文件，</p>
<p>在&lt;input name=&#8221;q&#8221; user>和<inputnext name=&#8221;start&#8221; factor=&#8221;10&#8243;&gt;之间加入：<br />
&lt;input name=&#8221;hl&#8221; value=&#8221;zh-CN&#8221;&gt;即可。</p>
<p>如果想在点击连接的时候在新tab打开，而不是新窗口<br />
则about:config然后browser.link.open_newwindow把值改成3</p>
<p>如果已经设了Firefox为默认浏览器，但是还是有问题<br />
则你之前用过maxthon/gb，要先去maxthon/gb的设置那里改ie为默认浏览器，然后再去firefox里面设置firefox为默认浏览器</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="Firefox Fan" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F12%2F07%2Ffirefox-fan%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559924.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Firefox Fan</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Fantastic Doodle" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2009%2F01%2F16%2Ffantastic-doodle%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559743.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Fantastic Doodle</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Can U Believe?" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F03%2F10%2Fcan-u-believe%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559858.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Can U Believe?</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Dress Up Against AIDS" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2006%2F12%2F08%2Fdress-up-against-aids%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F01%2F09%2Ffirefox-extension%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559920.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Dress Up Against AIDS</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2005/01/09/firefox-extension/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Gmail试用报告</title>
		<link>http://blog.axqd.net/2004/09/18/try-gmai/</link>
		<comments>http://blog.axqd.net/2004/09/18/try-gmai/#comments</comments>
		<pubDate>Sat, 18 Sep 2004 13:29:01 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[WEB]]></category>
		<category><![CDATA[心情日记]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=346</guid>
		<description><![CDATA[首先，进行一下Gmail扫盲吧 一、Gmail是什么？ Gmail简单的说就是Google提供的大容量免费邮箱（什么？Google是什么？还是去问浏览器吧） 来初步领略一下Gmail的风采 够漂漂吧！ 二、Gmail有什么特别之处？ 1、大容量免费邮箱 Gmail提供1G的免费邮箱容量，并且不限制附件数量，大小（基本上可以当网络硬盘用了）这是Gmail的最大特点，正是这一特点决定了Gmail的诸多过人之处，这是Gmail的基石！ 当然1G也不是不可逾越的。当你容量接近1G时，Gmail会在下图所示地方警示，如果超出了，Gmail会保留一段时间您的邮件。如果不理睬，发往你帐号的邮件会被退回，你不能再收到邮件。 2、以label代替文件夹 可能刚开始的时候会有些不适应，但是随着使用的深入，以及对Gmail理念的接受程度的加深，你会越来越觉得这一变化的必要性。一个邮件可以被标上多个label，但是一个邮件却无法属于多个文件夹。 3、以Google强大的搜索性能代替手工找寻 邮件的搜索带来的便利是巨大的，它使得你不会再为找到一封很久以前重要的邮件而眼睛都看大了。其实仔细想想，在对网络资源的搜索如此普及的今天，对于邮件的搜索还几乎处于空白，实在是有些不可思议。再者，Google的搜索引擎的能力，我就不用多废话了。 点击Show search options后如下图，足可见功能之强大。 点击Create a Filter，如下图： 搜索的内容会以高亮显示哦！！！ 如果你嫌麻烦，那么看下图： 直接选Select总简单了哈！ 目前测试阶段的Gmail还不支持搜索附件内容，但是以后会加入这一功能。（BTW：如果附件是txt，Gmail会默认展开，这点在我看来不知安全性方面是否考虑欠妥） 此外Gmail的搜索功能是精确组合搜索，不支持拼写容错及其他相应咚咚。 需要特别注意的是，如果你的label包含空格，则须如下录入： from:Bob label:my-friends 4、以archive代替删除 由于耽心误删除，人们往往花很多精力在邮件的删除工作中。在大容量和搜索的强力支持下，存档使邮件简单的从你面前消失，达到人们希望删除达到的目的，而又没有误删除的担忧。所有的存档邮件可在All Mail中看见，并且在搜索的时候也可列入搜索范围。 5、提供snippets（摘录）功能 这个功能的有点不用多说了吧，现在的人们都懒，写完正文都懒得写subject，即使被迫填写，也词不达意得乱写一通。有了这个功能，打开一封邮件之前便能知道他得大概内容，实在可谓“科技以人为本”。不说了，看图看图（在第6点内的图）。 6、用Conversation组织邮件 不多说了，看图：（还可以看到snippets哦&#8212;-注意看名字右边的内容缩略） 三、如何拥有Gmail？ 由于Gmail目前还处于测试阶段，而且确实不错，空间又大，所以没有提供注册按钮，而采用一传多的方式。如果您想要拥有Gmail，则只有找到 Gmail invatation（中国人美其名曰“蛋”）。Gmail invatation只会发给Gmail现有用户，发放方式是随机发布（呜呜，我都还没有生蛋，我们同学才一天就生了，郁闷，看来碰到一只公鸡了） 这个就是我们同学生蛋后的截图。如果他邀请我，我就会收到这样一封信。 I've been using Gmail and thought you might like to try it out. Here's an [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F08%2Fgmail-attachment%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于Gmail怨念的附件下载</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F09%2Fgoogle-snapshot%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于google的网页快照</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F19%2Fgoogle-earth-cracked%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Earth Cracked</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2011%2F05%2F08%2Fgoogle-code-jam-2011-qualification%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Code Jam 2011 (Qualification)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>首先，进行一下Gmail扫盲吧</p>
<p>一、Gmail是什么？</p>
<p>Gmail简单的说就是Google提供的大容量免费邮箱（什么？Google是什么？还是去问浏览器吧）</p>
<p>来初步领略一下Gmail的风采</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_15.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_15-300x225.jpg" alt="Gmail Login" title="Gmail Login" width="300" height="225" class="alignnone size-medium wp-image-345" /></a></p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_14.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_14-300x225.jpg" alt="Gmail Inbox" title="Gmail Inbox" width="300" height="225" class="alignnone size-medium wp-image-344" /></a></p>
<p>够漂漂吧！</p>
<p>二、Gmail有什么特别之处？</p>
<p>1、大容量免费邮箱</p>
<p>Gmail提供1G的免费邮箱容量，并且不限制附件数量，大小（基本上可以当网络硬盘用了）这是Gmail的最大特点，正是这一特点决定了Gmail的诸多过人之处，这是Gmail的基石！</p>
<p>当然1G也不是不可逾越的。当你容量接近1G时，Gmail会在下图所示地方警示，如果超出了，Gmail会保留一段时间您的邮件。如果不理睬，发往你帐号的邮件会被退回，你不能再收到邮件。</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_12.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_12-300x54.jpg" alt="Gmail Capacity" title="Gmail Capacity" width="300" height="54" class="alignnone size-medium wp-image-342" /></a></p>
<p>2、以label代替文件夹</p>
<p>可能刚开始的时候会有些不适应，但是随着使用的深入，以及对Gmail理念的接受程度的加深，你会越来越觉得这一变化的必要性。一个邮件可以被标上多个label，但是一个邮件却无法属于多个文件夹。</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_7.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_7.jpg" alt="Gmail Label" title="Gmail Label" width="114" height="100" class="alignnone size-medium wp-image-337" /></a></p>
<p>3、以Google强大的搜索性能代替手工找寻</p>
<p>邮件的搜索带来的便利是巨大的，它使得你不会再为找到一封很久以前重要的邮件而眼睛都看大了。其实仔细想想，在对网络资源的搜索如此普及的今天，对于邮件的搜索还几乎处于空白，实在是有些不可思议。再者，Google的搜索引擎的能力，我就不用多废话了。</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_9.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_9-300x27.jpg" alt="Gmail Search Bar" title="Gmail Search Bar" width="300" height="27" class="alignnone size-medium wp-image-339" /></a></p>
<p>点击Show search options后如下图，足可见功能之强大。</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_10.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_10-300x75.jpg" alt="Gmail Advanced Search" title="Gmail Advanced Search" width="300" height="75" class="alignnone size-medium wp-image-340" /></a></p>
<p>点击Create a Filter，如下图：</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_11.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_11-300x76.jpg" alt="Gmail Filter" title="Gmail Filter" width="300" height="76" class="alignnone size-medium wp-image-341" /></a></p>
<p>搜索的内容会以高亮显示哦！！！</p>
<p>如果你嫌麻烦，那么看下图：</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_13.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_13-300x40.jpg" alt="Gmail Select" title="Gmail Select" width="300" height="40" class="alignnone size-medium wp-image-343" /></a></p>
<p>直接选Select总简单了哈！</p>
<p>目前测试阶段的Gmail还不支持搜索附件内容，但是以后会加入这一功能。（BTW：如果附件是txt，Gmail会默认展开，这点在我看来不知安全性方面是否考虑欠妥）</p>
<p>此外Gmail的搜索功能是精确组合搜索，不支持拼写容错及其他相应咚咚。</p>
<p>需要特别注意的是，如果你的label包含空格，则须如下录入：</p>
<p>from:Bob label:my-friends</p>
<p>4、以archive代替删除</p>
<p>由于耽心误删除，人们往往花很多精力在邮件的删除工作中。在大容量和搜索的强力支持下，存档使邮件简单的从你面前消失，达到人们希望删除达到的目的，而又没有误删除的担忧。所有的存档邮件可在All Mail中看见，并且在搜索的时候也可列入搜索范围。</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_8.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_8-300x21.jpg" alt="Gmail Archive" title="Gmail Archive" width="300" height="21" class="alignnone size-medium wp-image-338" /></a></p>
<p>5、提供snippets（摘录）功能</p>
<p>这个功能的有点不用多说了吧，现在的人们都懒，写完正文都懒得写subject，即使被迫填写，也词不达意得乱写一通。有了这个功能，打开一封邮件之前便能知道他得大概内容，实在可谓“科技以人为本”。不说了，看图看图（在第6点内的图）。</p>
<p>6、用Conversation组织邮件</p>
<p>不多说了，看图：（还可以看到snippets哦&#8212;-注意看名字右边的内容缩略）</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_6.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_6-300x160.jpg" alt="Gmail Conversation" title="Gmail Conversation" width="300" height="160" class="alignnone size-medium wp-image-336" /></a></p>
<p>三、如何拥有Gmail？</p>
<p>由于Gmail目前还处于测试阶段，而且确实不错，空间又大，所以没有提供注册按钮，而采用一传多的方式。如果您想要拥有Gmail，则只有找到 Gmail invatation（中国人美其名曰“蛋”）。Gmail invatation只会发给Gmail现有用户，发放方式是随机发布（呜呜，我都还没有生蛋，我们同学才一天就生了，郁闷，看来碰到一只公鸡了）</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_3.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_3-300x50.jpg" alt="Gmail Invitation" title="Gmail Invitation" width="300" height="50" class="alignnone size-medium wp-image-333" /></a></p>
<p>这个就是我们同学生蛋后的截图。如果他邀请我，我就会收到这样一封信。</p>
<p><code>I've been using Gmail and thought you might like to try it out. Here's<br />
an invitation to create an account.<br />
-----------------------------------------------------------------------<br />
Shen Hong has invited you to open a free Gmail account. The invitation<br />
will expire in three weeks and can only be used to set up one account.<br />
To accept this invitation and register for your account, visit</p>
<p>http://gmail.google.com/gmail/**************************</p>
<p>Once you create your account, Shen Hong will be notified with<br />
your new @gmail.com address so you can stay in touch with Gmail!<br />
If you haven't already heard about Gmail, it's a new search-based webmail<br />
service that offers:<br />
- 1,000 megabytes (one gigabyte) of free storage<br />
- Built-in Google search that instantly finds any message you want<br />
- Automatic arrangement of messages and related replies into<br />
 "conversations"<br />
- Text ads and related pages that are relevant to the content of your<br />
 messages<br />
Gmail is still in an early stage of development. If you set up an<br />
account, you'll be able to keep it even after we make Gmail more<br />
widely available and as one of the system's early testers, you will<br />
be helping us improve the service through your feedback. We might ask<br />
for your comments and suggestions periodically and we appreciate your<br />
help in making Gmail even better.<br />
Thanks,<br />
The Gmail Team<br />
To learn more about Gmail before registering, visit:</p>
<p>http://gmail.google.com/gmail/help/benefits.html</p>
<p>(If clicking the URLs in this message does not work, copy and paste them<br />
into the address bar of your browser).</code></p>
<p>点击链接接受invatation就可以启用Gmail，并且指定您所用的用户名。</p>
<p>想要invatation？找我？呵呵，我也没有。有个网站gmailswap，上面有很多好心的人。</p>
<p>另外水木清华上面也有不少蛋，“只要功夫深，铁杵磨成针”！</p>
<p>四、使用Gmail有哪些注意事项？</p>
<p>1、建议采用https://gmail.google.com登录而不是http://gmail.google.com，这除了安全方面的考虑外，对Gmail而言更特别的是，二者的稳定性不同，前者更加稳定，不容易出错。</p>
<p>2、如果使用过程中遇到“oop&#8230;”错误或者邮件显示不完整，首先应该检查浏览器得设置</p>
<p>Internet选项＝>高级＝>使用TLS1.0，SSL2.0，SSL3.0</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_2.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_2-282x300.jpg" alt="Gmail Internet Options" title="Gmail Internet Options" width="282" height="300" class="alignnone size-medium wp-image-332" /></a></p>
<p>Gmail使用了这些协议（ SSL(Security Socket Layer)加密套接字协议层是世界上部署最为广泛的安全协议，每种商业测览器和服务器都在其内部使用SSL来支持安全的Web交易，TLS(Transport Layer Security)是SSL的后继。）</p>
<p>如果依然出错，应再检查代理服务器的设置，可能不支持TLS，则需要更换代理服务器。可以试试关闭浏览器（注意是关掉所有窗口），再重新登录。浏览器建议使用IE，对其他的浏览器Gmail虽然也称能支持，但测试证明支持基本不是很好，经常出错。</p>
<p>另外其他的一些Gmail问题，可能大多数都跟浏览器有关：</p>
<p>清除浏览器Cache经常会有意想不到的用处。</p>
<p>把google.com加入安全站点也不乏为解决之道。只要您能够信任google。</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_4.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_4-289x300.jpg" alt="Gmail Trust Site" title="Gmail Trust Site" width="289" height="300" class="alignnone size-medium wp-image-334" /></a></p>
<p>3、虽然Gmail目前还处于测试阶段，用英文编写，并且界面也为英文，但是由于Gmail Translation Work得开展，内部收发其他语言的文字，已经没有问题了：</p>
<p>Simplified Chinese (HZ &#038; GBK)<br />
Cyrillic/Ukrainian (KOI8-U)<br />
Vietnamese (TCVN)<br />
Hebrew (ISO-8859-8-I)<br />
Nordic (ISO-8859-10)<br />
Armenia (ARMSCII-8)<br />
Thai (windows-874)</p>
<p>如果你收到或者发出的依然为乱码，请检查浏览器设置</p>
<p>查看=>编码＝>Unicode（UTF－8）</p>
<p>这是Gmail所采用的编码方式。</p>
<p>如果依然不能解决乱码，那么可能是邮件客户端的问题，可以选择more opinions</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_1.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_1-300x72.jpg" alt="Gmail More Options" title="Gmail More Options" width="300" height="72" class="alignnone size-medium wp-image-331" /></a></p>
<p>然后再选择&#8217;Show original&#8217; 直接查看邮件源码</p>
<p>4、Gmail的常用快捷键（注意需要在Gmail里设置后才能使用）</p>
<p>c      写信<br />
u      收件箱列表<br />
/       搜索（不到长城非好汉，不用搜索非用Gmail），这个也是vi里面的搜索符号吧，呵呵～<br />
n      下一封信<br />
p      上一封信<br />
k      下一个的对话<br />
j       前一点的对话<br />
o/Enter     打开对话或者展开对话<br />
y       存档<br />
x       选择对话<br />
s       将信或者对话标星<br />
r       回复<br />
f       转发<br />
！     报告垃圾邮件<br />
        跳出输入状态（只有这样才能使用快捷键，废话）</p>
<p>5、如何删除邮件？</p>
<p>如果你有洁癖，那么就用move to trash吧！</p>
<p><a href='http://blog.axqd.net/wp-content/uploads/2008/06/o_5.jpg'><img src="http://blog.axqd.net/wp-content/uploads/2008/06/o_5.jpg" alt="Gmail Trash" title="Gmail Trash" width="177" height="278" class="alignnone size-medium wp-image-335" /></a></p>
<p>6、目前Gmail还处于测试阶段，所以没有提供pop3等等服务，不过由于Gmail理念的特殊性，我很怀疑stable版是否会提供这些功能。</p>
<p>==============================================================================</p>
<p>Gmail 就介绍到这里，其实写这篇报告时，我再一次被Gmail所感动，希望我能够将这种感动传达给读者您。</p>
<p>Email，也许平常看来普普通通的东西，但只要深入分析用户需求，不先入为主，不闭门造车，真正在心中建立“以人文本”的信念，自己多一分汗水，让用户获得更多的便利，便能获得成功，赢得尊重。所以说用户就是上帝，用户的苛刻不需要理由！</p>
<p>您也许现在同我一样感受到，Email的革命即将到来，而Gmail便是这场革命的引领者，弄潮儿。任何事情只要走在前面，引领潮流，成为标准，我相信，就一定能够获得巨大的成功。因此，平凡的一样东西，或许我们应该更深入的思考它，对他进行革命，从而走向成功。</p>
<p>有的东西，我们也许认为很正常，很合理，即使有时会感到别扭，但也先入为主的认为是自己的问题，是没有办法解决的。但事实上，往往是大众意识的力量在阻止我们对问题的根源有正确的认识。</p>
<p>回顾历史，马列主义诞生之前，工人们虽然也觉得很累，很痛苦，但是却没有意识到问题的根源，还以为是自己工作方式方法的问题，甚至对资本家的提供的安栖之所心存感激，认为这些都很合理；但是，马克思、恩格斯却摆脱了这种大众观念的枷锁，意识到了剩余价值的存在，从意识形态，行为方式上进行了一场大革命。他们获得了巨大的成功！</p>
<p>眼观现在，Gmail之前，人们整天花大力气去把邮箱整理的井井有条，结果一然为了找到一封邮件大费周遭。虽然觉得很麻烦，但却依然认为非常正常，非常合理，甚至为此欣喜；但Gmail的需求分析师们摆脱了大众意识的重重阻碍，意识到了这种方式的及其不合理之处；并且更为重要的是，他们敢于花大力气，大资本来改变人们几十年来对使用邮件的错误的行为方式和理念，也就是所谓的意识形态的东西。让人们意识到真正的邮件应该是轻松惬意的使用，而不是去算计还剩多少空间，去小心翼翼的防止误删除。来了邮件就收到，看了就放到，要找就搜到，学会享受生活，品味生活，从烦杂的工序中走出来，把这些都交给 Gmail的设计者们去实现。看似低效（因为实现复杂，花费精力大），实际上是最大程度的高效（因为功能的复用）。</p>
<p>总之，我们网管会不求有这般大动作，但我认为应该有这种魄力与精神！应该有这样的信念与理念！对工作更加的兢兢业业！</p>
<p>希望此文能为此献上一份力！！希望大家能够通过此文开始真正接触Gmail，使用Gmail，学会享受生活，品味生活，并在工作中，为别人如此这般创造条件！</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F08%2Fgmail-attachment%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于Gmail怨念的附件下载</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F09%2Fgoogle-snapshot%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于google的网页快照</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F08%2F19%2Fgoogle-earth-cracked%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Earth Cracked</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2011%2F05%2F08%2Fgoogle-code-jam-2011-qualification%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F09%2F18%2Ftry-gmai%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Google Code Jam 2011 (Qualification)</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2004/09/18/try-gmai/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

