<?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; 苏洋</title>
	<atom:link href="http://promiseforever.com/author/%e8%8b%8f%e6%b4%8b/feed" rel="self" type="application/rss+xml" />
	<link>http://promiseforever.com</link>
	<description>记录我的一点一滴。</description>
	<lastBuildDate>Sun, 05 Feb 2012 22:14:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>几首感觉不错的关于竹子的诗词</title>
		<link>http://promiseforever.com/2012/02/06/%e5%85%b3%e4%ba%8e%e7%ab%b9%e5%ad%90%e7%9a%84%e8%af%97%e8%af%8d.html</link>
		<comments>http://promiseforever.com/2012/02/06/%e5%85%b3%e4%ba%8e%e7%ab%b9%e5%ad%90%e7%9a%84%e8%af%97%e8%af%8d.html#comments</comments>
		<pubDate>Sun, 05 Feb 2012 22:14:59 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[网文搜集]]></category>
		<category><![CDATA[歌颂]]></category>
		<category><![CDATA[竹子]]></category>
		<category><![CDATA[诗词]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5909</guid>
		<description><![CDATA[九嶷山上白云飞，帝子乘风下翠微。 写取一枝清瘦竹，秋风江上作渔竿。 琼节高吹宿风枝，风流交我立忘归。 束得古书来作枕，梦中熟记筼筜篇。 夜里照时金琐碎，清风拂处玉玲珑。 开书读对圣贤语，一亩清风为主人。 甫能引汝清风到，未暇招渠俗子来。 猿讶便立书案立，鹤之早避钓船回。 清风谁更飘香屑，醉拍阑干情味切 一壶酒，一竿纶，摆渡尘世有几人？ 清风一枕水云边，不独柳眠竹亦眠。]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/06/%e5%85%b3%e4%ba%8e%e7%ab%b9%e5%ad%90%e7%9a%84%e8%af%97%e8%af%8d.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>淘宝开源Tengine(Nginx)服务器</title>
		<link>http://promiseforever.com/2012/02/06/tengine.html</link>
		<comments>http://promiseforever.com/2012/02/06/tengine.html#comments</comments>
		<pubDate>Sun, 05 Feb 2012 21:29:29 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Tengine]]></category>
		<category><![CDATA[开源]]></category>
		<category><![CDATA[淘宝]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5838</guid>
		<description><![CDATA[Tengine是由淘宝核心系统部基于Nginx开发的Web服务器，它在Nginx的基础上，针对大访问量网站的需求，添加了很多功能和特性。Tengine的性能和稳定性已经在大型的网站如淘宝网，淘宝商城等得到了很好的验证。它的最终目标是打造一个高效、稳定、安全、易用的 Web 平台。Tengine现已开源。 从官方简介的页面可以看出，这个项目是一个给力的技术组做的，目前还少有美工介入。 看看特性列表，口水一地。 继承Nginx-1.0.11的所有特性； 输入过滤器机制支持。通过使用这种机制Web应用防火墙的编写更为方便； 组合多个CSS、JavaScript文件的访问请求变成一个请求； 支持管道和syslog形式的日志和抽样； 自动根据CPU数目设置亲缘性； 监控系统的负载和资源占用从而对系统进行保护； 显示对运维人员更友好的出错信息，便于定位出错机器； 更强大的访问速度限制模块； backtrace模块，程序崩溃的时候可以显示出错的调用栈。 &#8230; 官方地址]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/06/tengine.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>网站开发利器HttpWatch v7.2个人版</title>
		<link>http://promiseforever.com/2012/02/05/httpwatch-v7.html</link>
		<comments>http://promiseforever.com/2012/02/05/httpwatch-v7.html#comments</comments>
		<pubDate>Sun, 05 Feb 2012 01:00:54 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[实用软件]]></category>
		<category><![CDATA[HttpWatch]]></category>
		<category><![CDATA[Professional]]></category>
		<category><![CDATA[网站开发]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5829</guid>
		<description><![CDATA[本文工具转载自谷川.HttpWatch是一款强大的网页数据分析工具。使用插件的形式集成在Internet Explorer/FireFox之中。 主要功能包括网页摘要，Cookies管理，缓存管理，消息头发送/接受，字符串查询，POST 数据以及目录管理，报告输出等。 实在是网站开发调试必备工具之一。 本文包括许可文件以及安装文件本体。 先发一个协议,压缩包内还有一个协议. # # This is a license file for HttpWatch Professional 7.x # # Please save this text to a file named httpwatch.lic so # that it can be used by the HttpWatch Professional setup # program. # # You can download the setup program from: # # http://www.httpwatch.com/customerdownload ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/05/httpwatch-v7.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XMAPP子域名设置，实现本地测试</title>
		<link>http://promiseforever.com/2012/02/04/xmapp-sub-domian.html</link>
		<comments>http://promiseforever.com/2012/02/04/xmapp-sub-domian.html#comments</comments>
		<pubDate>Fri, 03 Feb 2012 23:00:27 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[LINUX]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[WIN32]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[子域名]]></category>
		<category><![CDATA[本地测试]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5821</guid>
		<description><![CDATA[XMAPP是一款不错的LAMP集成环境,不论是Ubuntu还是Windows,我都习惯用它来做测试。 虽然说是XMAPP独立子域名设置,但是其实还是Apache的子域名设置。 首先你要检查httpd.conf设置是否开启了Virtual hosts Linux套件环境httpd.conf在/opt/lampp/etc/httpd.conf Windows套件环境httpd.conf在xampp安装目录\apache\conf 打开conf文件,查找Virtual hosts 找到 # Virtual hosts #Include etc/extra/httpd-vhosts.conf 如果 Include etc/extra/httpd-vhosts.conf 前有“#”号的话,去掉“#”，并保存文件。 开始配置虚拟目录，或者说是子域名 Linux 修改/opt/lampp/extra/httpd-vhosts.conf文件 在里面添加下面的内容。 Windows下则是xampp安装目录\apache\conf\extra\httpd-vhosts.conf 注意我的配置里的logs目录设置和DocumentRoot的路径,下面的设置是Windows下的。 NameVirtualHost *:80 #www.test.com &#60;VirtualHost *:80&#62; ServerAdmin admin@test.com DocumentRoot &#34;C:/xampp/htdocs/&#34; ServerName test.com ServerAlias www.test.com ErrorLog &#34;logs/test.localhost.log&#34; CustomLog &#34;logs/test.localhost-access.log&#34; combined &#60;/VirtualHost&#62; &#160; #cache.test.com &#60;Directory &#34;C:/xampp/htdocs/cache&#34;&#62; Options Indexes FollowSymLinks ExecCGI Includes AllowOverride All Order ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/04/xmapp-sub-domian.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>希捷 Barracuda 1TB</title>
		<link>http://promiseforever.com/2012/02/03/barracuda-st1000dm003.html</link>
		<comments>http://promiseforever.com/2012/02/03/barracuda-st1000dm003.html#comments</comments>
		<pubDate>Fri, 03 Feb 2012 05:50:15 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[生活琐事]]></category>
		<category><![CDATA[琐事]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=6010</guid>
		<description><![CDATA[准备安装DVR了，没硬盘可不行，多碟的功耗大，散热多，我们都知道，散热多了，老化也快，所以，单碟就是首选，尤其是在DVR监控设备上长期使用。 题外话一下，可怜的某国人民，因为遭遇海啸，代工受到影响，然后因为经济全球化，大家买硬盘都变的贵了起来。 我看上的是这个希捷 Barracuda 1TB 7200转 64MB 单碟（ST1000DM003）硬盘。 “打公交”跑到青龙电脑城二楼，找了半天1期XX号，惊奇发现这个摊位以前买过他家的盘，而且买过3次，可惜那家转走了（也就是说以前的盘你懂的，彻底没人管鸟。）老板报价800，接受范围之内，小议价了一下，老板否之，看来我只好继续“打公交”回府了。 检查了一下真伪。保到2014年7月，看起来还蛮好的。（3.5寸真心不知道有没有带盒子的，不过做过盒子的硬盘，知道也就是多15块钱的事情。）现在就等待DVR的到来了。图右侧是价格是硬盘百分之一的绝缘胶布和电线卡子。]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/03/barracuda-st1000dm003.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>wordpress脚本跨域解决方法</title>
		<link>http://promiseforever.com/2012/02/03/wordpress%e8%84%9a%e6%9c%ac%e8%b7%a8%e5%9f%9f%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95.html</link>
		<comments>http://promiseforever.com/2012/02/03/wordpress%e8%84%9a%e6%9c%ac%e8%b7%a8%e5%9f%9f%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95.html#comments</comments>
		<pubDate>Fri, 03 Feb 2012 02:47:13 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[WORDPRESS]]></category>
		<category><![CDATA[跨域]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=6008</guid>
		<description><![CDATA[说到跨域问题，我想很多人都知道，所以不做太详细解释了。 针对跨域，wordpress进行了过滤，在定时发布的一篇日志中，我有提到如何去掉wordpress的版本号，文章的修改方法是没有错误的，但是在实践的过程中，我还将静态资源移动到了子域名中，所以呢，资源就跨域访问了。 那么如何解决静态脚本跨域使用呢，在wordpress中有3个专门的函数wp_deregister_script,wp_register_script以及wp_enqueue_script function fir_scripts_method&#40;&#41; &#123; wp_deregister_script&#40; 'jquery' &#41;; wp_register_script&#40; 'jquery', 'http://yoururl/wp-includes/js/jquery/jquery.js'&#41;; wp_enqueue_script&#40; 'jquery' &#41;; &#125; add_action&#40;'wp_enqueue_scripts', 'fir_scripts_method_jquery'&#41;; 将代码添加到你的后台模版或者post.php合适位置,即可. 这么一来,前台依旧是静态化的子域名资源,而后台重新使用函数注册并安全输出脚本,跨域神马的就再见了。]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/03/wordpress%e8%84%9a%e6%9c%ac%e8%b7%a8%e5%9f%9f%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>重归总结时</title>
		<link>http://promiseforever.com/2012/02/03/%e9%87%8d%e5%bd%92%e6%80%bb%e7%bb%93%e6%97%b6.html</link>
		<comments>http://promiseforever.com/2012/02/03/%e9%87%8d%e5%bd%92%e6%80%bb%e7%bb%93%e6%97%b6.html#comments</comments>
		<pubDate>Fri, 03 Feb 2012 02:38:52 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[生活点滴]]></category>
		<category><![CDATA[WORDPRESS]]></category>
		<category><![CDATA[更新]]></category>
		<category><![CDATA[随笔]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5996</guid>
		<description><![CDATA[结直接以LIST形式写文末吧，记录点题外话，07年开始建立独立博客，因为我的颓废，博客荒芜了很久很久。 写总结是我08~09年断断续续坚持过一阵的“习惯”，但是终究没能坚持下来。 现在翻看blog和以前的留言，很多人已经离开了独立博客和网站，但是也不乏少数，把独立博客弄的有声有色，我觉得，这充分说明了坚持的重要性。 虽然PR不能说明网站技术一定出众，网站主能力一定盖世，但是起码肯定了网站主人的毅力。就如同为什么技术较差的站长更容易成功 简单专注这篇文章中的例子一样，成功贵在简单，成功贵在专注。 我觉得我也应该好好的专注一下了，网站断断续续的重写了半个月的功能，现在已经实现全部缓存，目前有必要的脚本和样式已经全部重新生成缓存进行调用，图片也不例外，最后还偷懒了一下，用super-cache做了页面的缓存，毕竟少计算一次，访问效率就提高一番。另外还做了许多细节方面的东西，网站IP流量虽然不够以前的300+了，但是起码更新的这半个月以来，从十几个回升到了80+，但是发现PV和驻留时间变长了，也有了25%+回访者。留一张图，半年后看看情况如何。对了，这张图记录时间是上午，今天的IP数量还未定，百度趋势是会比昨天高，呵呵。 总体来说，博客复活还需要一段时间，现在需要的是挑选适合的内容进行收集，使博客阅读价值提高，添加一定数目的友情链接，看着他们常年不更新，但是有40友链支持起来的blog，真心有压力。还有就是更新了，为了保证哪怕我忙起来也能更新，特别准备了定时发布，还特别做了专门的页面。程序细节的话，只有你去模拟访问者，去实践，才能发现问题所在。 说到模拟访问者，我从统计代码发现/reg目录访问次数有点小多，但是却都跳走了，好奇的打开后发现注册页面是空白了，这才想起来没有写完注册页面，赶紧写了一个，还有就是需要抽空重写一下单点登录插件了。 对了，还发现一个小问题，wordpress似乎后台对跨域的js不能正常加载，果断修复之。]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/03/%e9%87%8d%e5%bd%92%e6%80%bb%e7%bb%93%e6%97%b6.html/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Jquery选择器摘要</title>
		<link>http://promiseforever.com/2012/02/03/jquery%e9%80%89%e6%8b%a9%e5%99%a8%e6%91%98%e8%a6%81.html</link>
		<comments>http://promiseforever.com/2012/02/03/jquery%e9%80%89%e6%8b%a9%e5%99%a8%e6%91%98%e8%a6%81.html#comments</comments>
		<pubDate>Fri, 03 Feb 2012 00:00:38 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[JAVASCRIPT]]></category>
		<category><![CDATA[Jquery]]></category>
		<category><![CDATA[选择器]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5793</guid>
		<description><![CDATA[Jquery选择器是Jquery基础,把一些经典例子留上来吧.. JQuery选择器 load()方法参数解释 插入节点的方法 $.get()方法参数解释]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/03/jquery%e9%80%89%e6%8b%a9%e5%99%a8%e6%91%98%e8%a6%81.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP模拟登陆</title>
		<link>http://promiseforever.com/2012/02/03/php%e6%a8%a1%e6%8b%9f%e7%99%bb%e9%99%86.html</link>
		<comments>http://promiseforever.com/2012/02/03/php%e6%a8%a1%e6%8b%9f%e7%99%bb%e9%99%86.html#comments</comments>
		<pubDate>Thu, 02 Feb 2012 23:31:06 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[模拟]]></category>
		<category><![CDATA[登录]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5936</guid>
		<description><![CDATA[PHP如何模拟登录呢,这里有个简单的例子。 &#60;?php function GetWebContent&#40;$host, $method, $str, $sessid = ''&#41; &#123; $ip = gethostbyname&#40;$host&#41;; $fp = @fsockopen&#40;$ip, 80&#41;; if &#40;!$fp&#41; return; fputs&#40;$fp, &#34;$method\r\n&#34;&#41;; fputs&#40;$fp, &#34;Host: $host\r\n&#34;&#41;; if &#40;!empty&#40;$sessid&#41;&#41; &#123; fputs&#40;$fp, &#34;Cookie: PHPSESSID=$sessid; path=/;\r\n&#34;&#41;; &#125; if &#40;substr&#40;trim&#40;$method&#41;, 0, 4&#41; == &#34;POST&#34;&#41; &#123; fputs&#40;$fp, &#34;Content-Length: &#34; . strlen&#40;$str&#41; . &#34;\r\n&#34;&#41;; &#125; &#160; fputs&#40;$fp, &#34;Content-Type: application/x-www-form-urlencoded\r\n&#34;&#41;; fputs&#40;$fp, &#34;User-Agent: Mozilla/4.0 ...]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/03/php%e6%a8%a1%e6%8b%9f%e7%99%bb%e9%99%86.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>饭否语录</title>
		<link>http://promiseforever.com/2012/02/02/fanfou-past.html</link>
		<comments>http://promiseforever.com/2012/02/02/fanfou-past.html#comments</comments>
		<pubDate>Thu, 02 Feb 2012 00:00:49 +0000</pubDate>
		<dc:creator>苏洋</dc:creator>
				<category><![CDATA[休闲一刻]]></category>
		<category><![CDATA[网文搜集]]></category>
		<category><![CDATA[语录]]></category>
		<category><![CDATA[饭否]]></category>

		<guid isPermaLink="false">http://promiseforever.com/?p=5790</guid>
		<description><![CDATA[现在的饭否使用颇多不便，加上那种回不来了的感觉，已经很久不用饭否了，在收集夹里看到了曾经(2009)的感动，放上来吧。]]></description>
		<wfw:commentRss>http://promiseforever.com/2012/02/02/fanfou-past.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

