<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[老艾之家]]></title> 
<link>http://www.looi.com.cn/index.php</link> 
<description><![CDATA[网站优化实验室,SEO工作者交流平台,百度搜索的特点,GOOGLE搜索的优势,Pagerunk的秘密]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[老艾之家]]></copyright>
<item>
<link>http://www.looi.com.cn/post/135/</link>
<title><![CDATA[图片自适应]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[常用代码]]></category>
<pubDate>Wed, 03 Feb 2010 02:37:16 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/135/</guid> 
<description>
<![CDATA[ 
	&lt;div id=article&gt;&lt;img height=&quot;800&quot; alt=&quot;&quot; width=&quot;1280&quot; src=&quot;/down/js/images/12498880470.jpg&quot; /&gt;&lt;/div&gt;<br/>&lt;script type=&quot;text/javascript&quot; &gt;<br/><br/>//缩放图片到合适大小<br/>function ResizeImages()<br/>&#123;<br/>&nbsp;&nbsp; var myimg,oldwidth,oldheight;<br/>&nbsp;&nbsp; var maxwidth=550;<br/>&nbsp;&nbsp; var maxheight=880<br/>&nbsp;&nbsp; var imgs = document.getElementById(&#039;article&#039;).getElementsByTagName(&#039;img&#039;);&nbsp;&nbsp; //如果你定义的id不是article，请修改此处<br/><br/>&nbsp;&nbsp; for(i=0;i&lt;imgs.length;i++)&#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp; myimg = imgs[i];<br/><br/>&nbsp;&nbsp;&nbsp;&nbsp; if(myimg.width &gt; myimg.height)<br/>&nbsp;&nbsp;&nbsp;&nbsp; &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(myimg.width &gt; maxwidth)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oldwidth = myimg.width;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myimg.height = myimg.height * (maxwidth/oldwidth);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myimg.width = maxwidth;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#125;<br/>&nbsp;&nbsp;&nbsp;&nbsp; &#125;else&#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if(myimg.height &gt; maxheight)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#123;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oldheight = myimg.height;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myimg.width = myimg.width * (maxheight/oldheight);<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;myimg.height = maxheight;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#125;<br/>&nbsp;&nbsp;&nbsp;&nbsp; &#125;<br/>&nbsp;&nbsp; &#125;<br/>&#125;<br/>//缩放图片到合适大小<br/>ResizeImages();<br/>&lt;/script&gt;<br/><br/>Tags - <a href="http://www.looi.com.cn/tags/%25E5%259B%25BE%25E7%2589%2587%25E8%2587%25AA%25E9%2580%2582%25E5%25BA%2594/" rel="tag">图片自适应</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/134/</link>
<title><![CDATA[用Google Custom Search装备你的blog ]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[GOOGLE优化]]></category>
<pubDate>Wed, 03 Feb 2010 01:59:58 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/134/</guid> 
<description>
<![CDATA[ 
	最近找点东西，深深体会到了bo-blog自带搜索的不足。无奈于bob沉迷于工口游戏及ero game不可自拔，bo-blog 3.0遥遥无期，在这青黄不接的时候我们能做什么呢？自然是发扬祖先的光荣传统，自己动手丰衣足食，拿起Google Custom Search强奸我们的blog。<br/><br/>===西红柿准备===<br/>1.Google Custom Search申请入口，全中文界面，申请有困难的同学自备新华字典一本。<br/><br/>2.自定义搜索引擎创建成功后依次进入我的搜索引擎-&gt;控制面板-&gt;代码，点击在 Google 托管的网页上即可得到如下代码<br/><br/>&lt;form action=&quot;http://www.google.com/cse&quot; id=&quot;cse-search-box&quot;&gt;<br/>&nbsp;&nbsp;&lt;div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;hidden&quot; name=&quot;cx&quot; value=&quot;~!@##@%#^%DGSDGHT$%^%^&amp;ZS&quot; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;text&quot; name=&quot;q&quot; size=&quot;25&quot; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;submit&quot; name=&quot;sa&quot; value=&quot;搜索&quot; /&gt;<br/>&nbsp;&nbsp;&lt;/div&gt;<br/>&lt;/form&gt;<br/>&lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=zh-Hans&quot;&gt;&lt;/script&gt;<br/><br/>其中~!@##@%#^%DGSDGHT$%^%^&amp;ZS为用户识别码，这是我们后面所唯一需要的。<br/><br/>3.从这里开始将要对模板下手，模板的OOXX分为两类：<br/><br/>通用版：适用于搜索模块待在侧边的传统模板<br/><br/>打开模板的elements.php文件，于某个eot;后插入如下内容：<br/><br/>$elements[&#039;sideblock_search&#039;]=&lt;&lt;&lt;eot<br/>&lt;div class=&quot;panel&quot;&gt;<br/>&lt;h5 onclick=&#039;showhidediv(&quot;sidebar_search&quot;);&#039;&gt;搜索&lt;/h5&gt;<br/>&lt;div class=&quot;panel-content&quot; id=&quot;sidebar_search&quot; style=&quot;display: block&quot;&gt;<br/>&nbsp;&nbsp;&lt;form action=&quot;http://www.google.com/cse&quot; id=&quot;cse-search-box&quot;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;hidden&quot; name=&quot;cx&quot; value=&quot;用户识别码&quot; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;text&quot; name=&quot;q&quot; class=&quot;search-field&quot; style=&quot;width:120px;&quot;/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;submit&quot; name=&quot;sa&quot; value=&quot;搜索&quot; class=&quot;button&quot;/&gt;<br/>&nbsp;&nbsp;&lt;/form&gt;<br/>&lt;/div&gt;<br/>&lt;/div&gt;<br/>eot;<br/><br/><br/>其中，用户识别码处请自行替换；文本框宽度120px可根据需要自由修改。<br/><br/>其他类：适用于搜索框跑至header的少数捣蛋分子<br/><br/>For G7 v5<br/>打开模板的elements.php文件，查找<br/>&lt;form method=&quot;post&quot; action=&quot;visit.php&quot;&gt;<br/>进行定位，将&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;&lt;form method=&quot;post&quot; action=&quot;visit.php&quot;&gt;<br/>&nbsp;&nbsp;&lt;div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input name=&quot;job&quot; type=&quot;hidden&quot; value=&quot;search&quot;/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input name=&quot;searchmethod&quot; type=&quot;hidden&quot; value=&quot;2&quot;/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input name=&quot;keyword&quot; type=&quot;text&quot; id=&quot;search-text&quot; class=&quot;keyword&quot; value=&quot;输入搜索&quot; onfocus=&quot;this.value=&#039;&#039;&quot; onfocus=&quot;this.value=&#039;输入搜索&#039;;this.style.color=&#039;gray&#039;;&quot;/&gt;<br/>&nbsp;&nbsp;&lt;/div&gt;<br/>&lt;/form&gt;<br/><br/><br/>替换为&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&nbsp;&nbsp;&lt;form action=&quot;http://www.google.com/cse&quot; id=&quot;cse-search-box&quot;&gt;<br/>&nbsp;&nbsp;&lt;div&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;hidden&quot; name=&quot;cx&quot; value=&quot;用户识别码&quot; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input name=&quot;q&quot; type=&quot;text&quot; id=&quot;search-text&quot; class=&quot;keyword&quot; value=&quot;输入搜索&quot; onfocus=&quot;this.value=&#039;&#039;&quot; onfocus=&quot;this.value=&#039;输入搜索&#039;;this.style.color=&#039;gray&#039;;&quot;/&gt;<br/>&nbsp;&nbsp;&lt;/div&gt;<br/>&lt;/form&gt;<br/><br/><br/>用户识别码处请自行替换<br/><br/>For BloggingPro<br/>打开模板的elements.php文件，查找<br/>&lt;form method=&quot;post&quot; action=&quot;visit.php&quot;&gt;<br/>进行定位，将&nbsp;&nbsp;&nbsp;&nbsp;<br/><br/>&lt;form method=&quot;post&quot; action=&quot;visit.php&quot;&gt;<br/>&lt;input name=&quot;job&quot; type=&quot;hidden&quot; value=&quot;search&quot;/&gt;<br/>&lt;input name=&quot;searchmethod&quot; type=&quot;hidden&quot; value=&quot;2&quot;/&gt;<br/>&lt;input name=&quot;keyword&quot; type=&quot;text&quot; id=&quot;search-text&quot; class=&quot;keyword&quot;/&gt;<br/>&lt;div id=&quot;buttonsearch&quot;&gt;&lt;input name=&quot;submit&quot; type=&quot;image&quot; class=&quot;search&quot; title=&quot;Search&quot; src=&quot;&#123;$template[&#039;images&#039;]&#125;/transparent.gif&quot; alt=&quot;Search&quot; value=&quot;Go&quot; /&gt;&lt;/div&gt;<br/>&lt;/form&gt;<br/><br/>替换为<br/><br/>&lt;form action=&quot;http://www.google.com/cse&quot; id=&quot;cse-search-box&quot;&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input type=&quot;hidden&quot; name=&quot;cx&quot; value=&quot;用户识别码&quot; /&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;input&nbsp;&nbsp;name=&quot;q&quot; type=&quot;text&quot; id=&quot;search-text&quot; class=&quot;keyword&quot;/&gt;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&lt;div id=&quot;buttonsearch&quot;&gt;&lt;input name=&quot;sa&quot; type=&quot;image&quot; class=&quot;search&quot; title=&quot;Search&quot; src=&quot;&#123;$template[&#039;images&#039;]&#125;/transparent.gif&quot; alt=&quot;Search&quot; value=&quot;Go&quot; /&gt;&lt;/div&gt;<br/>&lt;/form&gt;<br/><br/>用户识别码处请自行替换<br/><br/>更多修改请举一反三，拿起皮鞭SM你的大脑<br/>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/133/</link>
<title><![CDATA[GG AdSense 中文高价关键词]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[GOOGLE优化]]></category>
<pubDate>Wed, 03 Feb 2010 01:58:43 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/133/</guid> 
<description>
<![CDATA[ 
	外汇 有效 ￥17.83 - ￥26.74 <br/><br/>美容 有效 ￥5.45 - ￥6.81 <br/><br/>印刷 有效 ￥2.11 - ￥3.09 <br/><br/>广告 有效 ￥0.54 - ￥0.94 <br/><br/>性病 有效 ￥0.68 - ￥1.13 <br/><br/>成人用品 有效 ￥0.56 - ￥0.93 <br/><br/>鲜花 有效 ￥4.12 - ￥5.18 <br/><br/>健康 有效 ￥0.50 - ￥0.98 <br/><br/>彩票 有效 ￥0.22 - ￥0.39 <br/><br/>杀毒 有效 ￥0.65 - ￥0.68 <br/><br/>游戏 有效 ￥0.52 - ￥0.90 <br/><br/>乙肝 有效 ￥3.79 - ￥5.68 <br/><br/>女人 有效 ￥0.22 - ￥0.40 <br/><br/>婚庆 有效 ￥1.84 - ￥2.63 <br/><br/>建材 有效 ￥0.71 - ￥1.19 <br/><br/>汽车 有效 ￥0.60 - ￥1.00 <br/><br/>电子 有效 ￥0.28 - ￥0.53 <br/><br/>电脑 有效 ￥1.03 - ￥1.71 <br/><br/>健康 有效 ￥0.50 - ￥0.98 <br/><br/>外贸 有效 ￥0.67 - ￥1.26 <br/><br/>学习 有效 ￥0.32 - ￥0.43 <br/><br/>投资 有效 ￥0.93 - ￥1.84 <br/><br/>教育 有效 ￥0.50 - ￥0.65 <br/><br/>服务器 有效 ¥0.51 - ¥0.96 <br/><br/>虚拟主机 有效 ¥5.66 - ¥7.67 <br/><br/>电影 有效 ¥0.32 - ¥0.40 <br/><br/>域名 有效 ¥4.39 - ¥6.59<br/><br/>Tags - <a href="http://www.looi.com.cn/tags/%25E4%25B8%25AD%25E6%2596%2587%25E9%25AB%2598%25E4%25BB%25B7%25E5%2585%25B3%25E9%2594%25AE%25E8%25AF%258D/" rel="tag">中文高价关键词</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/132/</link>
<title><![CDATA[CSS强制图片自适应大小]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[常用代码]]></category>
<pubDate>Wed, 03 Feb 2010 01:50:38 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/132/</guid> 
<description>
<![CDATA[ 
	<br/>&lt;style type=&quot;text/css&quot;&gt;<br/>img &#123;width:expression(this.width&gt;600?&quot;580px&quot;:this.width+&quot;px&quot;);&#125;<br/>&lt;/style&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>图片宽度大于600像素都强制显示为580像素宽&lt;br&gt;&lt;br&gt;<br/>&lt;div&gt;<br/>&lt;img src=&quot;http://d.lanrentuku.com/lanren/wallpaper/wallpaper-0013.jpg&quot; /&gt;<br/>&lt;/div&gt;<br/><br/>Tags - <a href="http://www.looi.com.cn/tags/%25E5%259B%25BE%25E7%2589%2587%25E8%2587%25AA%25E9%2580%2582%25E5%25BA%2594/" rel="tag">图片自适应</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/131/</link>
<title><![CDATA[谷歌不愿对搜索结果进行审查 或全面退出中国]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[互联网新闻]]></category>
<pubDate>Wed, 13 Jan 2010 01:17:20 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/131/</guid> 
<description>
<![CDATA[ 
	<a href="http://www.looi.com.cn/attachment.php?fid=4" target="_blank"><img src="http://www.looi.com.cn/attachment.php?fid=4" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><a href="http://www.looi.com.cn/attachment.php?fid=5" target="_blank"><img src="http://www.looi.com.cn/attachment.php?fid=5" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>　　据国外媒体报道，谷歌日前表示正在评估自己在中国商业运营的可行性，并可能完全退出中国市场。谷歌透露，他们遭受了据信来自中国大陆的重大网络袭击。<br/><br/>　　谷歌首席法律顾问大卫-多姆德(DavidDrummond)周二在博客文章中表达了上述想法。博文中称，去年12月中旬，他们侦测到一次来自中国、针对公司基础架构的高技术、有针对性的攻击，这次攻击导致其知识产权被盗。这些攻击和攻击所暴露出的监视行为，以及过去一年试图进一步限制网络言论自由的行动，促使谷歌决定对中国业务运营的可行性进行评估。<br/><br/>　　多姆德同时称，谷歌已经决定，不愿意继续对谷歌中国网站的搜索结果进行审查，未来几周，谷歌将与中国政府就在法律框架下如何运营一个不过滤搜索结果的引擎网站进行讨论；这可能意味着谷歌将要关闭中国网站，并可能撤销在中国的办事处。 <br/><br/>Tags - <a href="http://www.looi.com.cn/tags/%25E8%25B0%25B7%25E6%25AD%258C%25E4%25B8%25AD%25E5%259B%25BD/" rel="tag">谷歌中国</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/130/</link>
<title><![CDATA[百度遭黑客劫持 手段与12月劫持twitter类似]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[互联网新闻]]></category>
<pubDate>Tue, 12 Jan 2010 02:39:58 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/130/</guid> 
<description>
<![CDATA[ 
	北京时间1月12日晨7点半左右，国内最大搜索引擎百度遭遇伊朗黑客攻击，打开百度首页，出现了“This site has been hacked by IRNIAN CYBER ARMY”的字样。在页面下部，有一连串波斯语的留言，大意是“作为美国当局的干预伊朗内部事务的回应，这个只是一个警告”。<br/><br/>　　但是不久，这张图片随即被去掉，但是百度依然无法访问。输入页面后，出现的是一个含有“YAHOO”标的页面。<br/><br/>　　有技术方面的人士表示，百度的域名有可能被劫持。有技术人员发现，百度的域名解析已由YAHOO接管。（Name Server: YNS1.YAHOO.COM Name Server: YNS2.YAHOO.COM）修改时间信息为“Updated Date: 11-jan-2010”。<br/><br/>　　有百度内部人士认为，黑客攻击百度的难度非常之大，因为百度拥有世界上最先进的服务器和黑客防御系统，百度在“灾备”方面投入是非常大的，整个系统的抵御攻击性很强，而且有一定的自动恢复能力，被攻击导致集体瘫痪的难度非常之大。<br/><br/>　　不过也有业内人士指出，直接盗取或者劫持百度的域名也并非很难，而且百度如此大的请求数量是任何一个黑页服务器也无法抵御的，因此刚开始的时候还能显示黑客页面，最后黑客的服务器也肯定因为不堪重负而瘫痪了，只能是访问失败。<br/><br/>　　不过回想起twitter上次域名被转向，百度和这次攻击有着惊人的相似之处（twitter被黑疑为伊朗的“Cyber army”所为）。<br/><br/>　　可能因为机房分布设置或者有备份的缘故，在中国国内部分地区，依然能够访问百度页面。<br/><br/><br/>Tags - <a href="http://www.looi.com.cn/tags/%25E7%2599%25BE%25E5%25BA%25A6%25E5%258A%25AB%25E6%258C%2581/" rel="tag">百度劫持</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/129/</link>
<title><![CDATA[最近发现百度更新慢了]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[百度优化]]></category>
<pubDate>Fri, 08 Jan 2010 01:34:59 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/129/</guid> 
<description>
<![CDATA[ 
	自百度凤巢09年12月1日正式上线后,百度的更新都慢了<br/><br/>原来每周四一早有次大的更新，现在好象改到周五的早上了~<br/><br/>百度的搜索结果中，网页快照里,独立站少了,而很多B2B网站的文章都排上来了<br/><br/>不知道是百度的算法改变了，还是百度估计打压SEO,让更多的企业迫于做凤巢!<br/>Tags - <a href="http://www.looi.com.cn/tags/%25E7%2599%25BE%25E5%25BA%25A6%25E4%25BC%2598%25E5%258C%2596/" rel="tag">百度优化</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/128/</link>
<title><![CDATA[今日谷歌（google)的pagerunk值(pr)刷新了]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[GOOGLE优化]]></category>
<pubDate>Thu, 31 Dec 2009 07:59:47 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/128/</guid> 
<description>
<![CDATA[ 
	今日谷歌（google)的pagerunk值(pr)刷新了，迎接2010年<br/>Tags - <a href="http://www.looi.com.cn/tags/%25E8%25B0%25B7%25E6%25AD%258Cpagerunk%25E5%2580%25BC/" rel="tag">谷歌pagerunk值</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/127/</link>
<title><![CDATA[Asp调用Jmail组件发送邮件]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[asp技术]]></category>
<pubDate>Thu, 12 Nov 2009 09:25:14 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/127/</guid> 
<description>
<![CDATA[ 
	在Asp程序中用Jmail发邮件的比较多，主要是因为多数虚拟主机支持他，其它的支持的较少。下面是一个Jmail发邮件的例子代码： <br/> <br/><br/>如果您在自己的机器上试，请下载Jmail.dll，下载解压后，双击Setup.bat 即可完成安装！<br/><br/>&lt;%<br/>On error resume next<br/>Dim JMail, contentId<br/>Set JMail = Server.CreateObject(&quot;JMail.Message&quot;) <br/>JMail.Charset = &quot;gb2312&quot; &#039; 邮件字符集，默认为&quot;US-ASCII&quot;<br/>&#039; JMail.ISOEncodeHeaders = False &#039; 是否进行ISO编码，默认为True<br/><br/>&#039; 发送者信息（可用变量方式赋值）<br/>JMail.From = &quot;someone@51windows.net&quot; &#039; 发送者地址<br/>JMail.FromName = &quot;海娃&quot; &#039; 发送者姓名<br/>JMail.Subject = &quot;邮件主题&quot; &#039; 邮件主题<br/><br/>&#039; 身份验证<br/>JMail.MailServerUserName = &quot;myusername&quot; &#039; 身份验证的用户名<br/>JMail.MailServerPassword = &quot;mypassword&quot; &#039; 身份验证的密码<br/><br/>&#039; 设置优先级，范围从1到5，越大的优先级越高，3为普通<br/>JMail.Priority = 3<br/><br/>JMail.AddHeader &quot;Originating-IP&quot;, Request.ServerVariables(&quot;REMOTE_ADDR&quot;)<br/><br/>&#039; 加入一个收件人【变量email：收件人地址】可以同一语句重复加入多个<br/>JMail.AddRecipient(&quot;someone@somehost.com&quot;)<br/><br/>&#039; 加入附件【变量filename：附件文件的绝对地址，确保用户IUSR_机器名有访问的权限】<br/>&#039; 【参数设置是(True)否(False)为Inline方式】<br/>&#039;contentId = JMail.AddAttachment (Server.MapPath(&quot;jmail.asp&quot;), True)<br/><br/>&#039; 邮件主体（HTML(注意信件内链接附件的方式)）<br/>JMail.HTMLBody = &quot;&lt;html&gt;&lt;head&gt;&lt;META content=zh-cn http-equiv=Content-Language&gt;&lt;meta http-equiv=&quot;&quot;Content-Type&quot;&quot; content=&quot;&quot;text/html; charset=gb2312&quot;&quot;&gt;&lt;style type=text/css&gt;A:link &#123; FONT-SIZE: 9pt; TEXT-DECORATION: none; color: #000000&#125;A:visited &#123;FONT-SIZE: 9pt; TEXT-DECORATION: none; color: #666666&#125;A:hover &#123;COLOR: #ff6600; FONT-SIZE: 9pt; TEXT-DECORATION: underline&#125;BODY &#123;FONT-SIZE: 9pt&#125; --&gt;&lt;/style&gt;&lt;/head&gt;&lt;body&gt;&lt;font color=red&gt;邮件正文&lt;/font&gt;&lt;br&gt;&lt;font color=green&gt;邮件正文&lt;/font&gt;&lt;br&gt;&lt;b&gt;邮件正文&lt;/b&gt;&lt;/body&gt;&lt;/html&gt;&quot;<br/><br/>&#039; 邮件主体（文本部分）<br/>JMail.Body = &quot;我们的邮件采用了HTML格式，但是您的邮件查看软件可能不支持。。。邮件正文,邮件正文,邮件正文&quot;<br/><br/>&#039; 发送【调用格式：objJMail.Send([username:password@]SMTPServerAddress[:Port])】<br/>JMail.Send(&quot;smtp.163.com&quot;)<br/><br/>&#039; 关闭并清除对象<br/>JMail.Close()<br/>Set JMail = Nothing<br/><br/>if err.number&lt;&gt;0 then<br/>response.write &quot;发送发送失败！&quot;<br/>else<br/>response.write &quot;邮件发送成功！&quot;<br/>end if<br/>%&gt; <br/><br/>Tags - <a href="http://www.looi.com.cn/tags/jmail%25E7%25BB%2584%25E4%25BB%25B6/" rel="tag">jmail组件</a>
]]>
</description>
</item><item>
<link>http://www.looi.com.cn/post/126/</link>
<title><![CDATA[11月30日,谷歌的PR(pagerunk)值刷新咯]]></title> 
<author>admin &lt;admin@yourname.com&gt;</author>
<category><![CDATA[GOOGLE优化]]></category>
<pubDate>Sun, 01 Nov 2009 01:10:44 +0000</pubDate> 
<guid>http://www.looi.com.cn/post/126/</guid> 
<description>
<![CDATA[ 
	11月30日,谷歌的PR值刷新了<br/><br/>距离上次的刷新，近4个月了~<br/><br/>而最近，百度的刷新也比较频繁,搜索结果天天都有位置变化，不知道是不是因为在调整凤巢的原因<br/>Tags - <a href="http://www.looi.com.cn/tags/%25E8%25B0%25B7%25E6%25AD%258Cpr%25E5%2580%25BC/" rel="tag">谷歌pr值</a>
]]>
</description>
</item>
</channel>
</rss>