<?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>Hacklog</title>
	<atom:link href="http://ihacklog.com/feed" rel="self" type="application/rss+xml" />
	<link>http://ihacklog.com</link>
	<description>荒野无灯weblog</description>
	<lastBuildDate>Sat, 04 Feb 2012 11:50:05 +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>gravatar头像缓存插件——Hacklog Gravatar Cache 2.2 正式版发布</title>
		<link>http://ihacklog.com/php/wordpress/plugins/hacklog-gravatar-cache.html</link>
		<comments>http://ihacklog.com/php/wordpress/plugins/hacklog-gravatar-cache.html#comments</comments>
		<pubDate>Fri, 03 Feb 2012 15:01:55 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[wp插件]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5336</guid>
		<description><![CDATA[插件特点 以前我一直是用的Scott Yang 的一个gravatar缓存脚本（@url http://fucoder.com/code/gravatar-cache/） 不过觉得此脚本还是有一些限制，如不能根据参数生成不同尺寸大小的头像缓存。 这次的Hacklog Gravatar Cache ，主要有以下特点： 1.支持使用cookie-free domain，加速缓存头像显示（也可以选择使用默认的域名） 2.可根据传递的参数缓存各种尺寸大小的头像，简而言之，显示头像再也不用靠浏览器缩放图片了，要显示...]]></description>
			<content:encoded><![CDATA[<h3>插件特点</h3>
<p>以前我一直是用的Scott Yang <scotty#yang.id.au>的一个gravatar缓存脚本（@url http://fucoder.com/code/gravatar-cache/）<br />
不过觉得此脚本还是有一些限制，如不能根据参数生成不同尺寸大小的头像缓存。<br />
这次的Hacklog Gravatar Cache ，主要有以下特点：</p>
<blockquote><p>1.支持使用cookie-free domain，加速缓存头像显示（也可以选择使用默认的域名）<br />
2.可根据传递的参数缓存各种尺寸大小的头像，简而言之，显示头像再也不用靠浏览器缩放图片了，要显示多大的图片，就给你多大的图片。这样亦能加速头像的显示（相对于要scale图像的情况而言）。<br />
3.头像的缓存处理仅使用一个独立的php文件，无需加载wp环境，给wp减轻负担，高效快速。</p></blockquote>
<p>4.可以通过访问url后加&#038;purge清空个别头像的缓存（评论者若发现自己头像不对可自行更新缓存）<br />
5.增加了后台配置，方便操作</p>
<p>为什么要使用Cookie-free Domains？，见这里：<br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fdeveloper.yahoo.com%2Fperformance%2Frules.html%23cookie_free" target="_blank">Use Cookie-free Domains for Components</a></p>
<hr />
<h3>让头像使用独立域名(cookie-free domain)的方法</h3>
<p>例如，将 <strong>/var/www/path-to-static</strong> 绑定到 <strong>static.ihacklog.com</strong><br />
 使用 <strong>/var/www/path-to-static/gravatar_cache</strong> 目录存储头像</p>
<p>然后到后台修改配置,以上述情况为例：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">//缓存目录 /var/www/path-to-static/gravatar_cache/</span><br />
<span style="color: #666666; font-style: italic;">//缓存URL http://static.ihacklog.com/gravatar_cache/</span></div></td></tr></tbody></table></div>
<p>注意都要最后以/ 结尾。</p>
<p>目前我自己在使用。</p>
<h3>插件下载</h3>
注意：该页面嵌入了下载文件，请访问 <a href="http://ihacklog.com/php/wordpress/plugins/hacklog-gravatar-cache.html">该页面</a>下载该文件。

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5336";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5336" title="Permanent Link to gravatar头像缓存插件——Hacklog Gravatar Cache 2.2 正式版发布" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5336</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2012年01月8日  //  <a href="http://ihacklog.com/software/powerfulvim/vim-tags-auto-update.html" title="实现Vim tags自动更新">实现Vim tags自动更新</a> (0)</li><li>2008年12月9日  //  <a href="http://ihacklog.com/software/tips/firefox-plugin-autopager.html" title="firefox插件：浏览帖子必用利器之 AutoPager">firefox插件：浏览帖子必用利器之 AutoPager</a> (0)</li><li>2009年10月21日  //  <a href="http://ihacklog.com/software/tips/secret-in-windows-xp-wallpaper.html" title="windows xp 桌面壁纸的秘密">windows xp 桌面壁纸的秘密</a> (7)</li><li>2010年04月21日  //  <a href="http://ihacklog.com/php/wordpress/plugins/shrinktheweb-webshot.html" title="也来折腾ShrinkTheWeb网页缩略图服务">也来折腾ShrinkTheWeb网页缩略图服务</a> (7)</li><li>2009年05月24日  //  <a href="http://ihacklog.com/linux/ubuntu-desktop/linuxxiageshihuacipanmingling.html" title="Linux下格式化磁盘命令">Linux下格式化磁盘命令</a> (0)</li><li>2011年04月28日  //  <a href="http://ihacklog.com/php/drupal/show-taxonomy-as-menus-in-drupal.html" title="drupal分类显示在菜单中的方法">drupal分类显示在菜单中的方法</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/php/wordpress/plugins/hacklog-gravatar-cache.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>玩转WordPress之配置篇——9条实用配置技巧</title>
		<link>http://ihacklog.com/php/wordpress/wpskills/9-practical-wordpress-configuration-skills.html</link>
		<comments>http://ihacklog.com/php/wordpress/wpskills/9-practical-wordpress-configuration-skills.html#comments</comments>
		<pubDate>Mon, 23 Jan 2012 14:31:54 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[wp技巧]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5335</guid>
		<description><![CDATA[春节快乐，各位 好久没发文章了，这里把前些日子写的一篇日志发出来~~ WP的特点就是你可以完全按你自己的想法来建立属于你自己的博客,这里说一下几个比较实用的配置项。 新手注意事项： 不要用记事本编辑wp-config.php文件，也不要给这个文件末尾加上?&#62;标签。 以下所有涉及到要添加代码的，除非特别说明，否则，都是修改wp-config.php文件，需要添加的代码应该加在wp-config.php文件的 1/* That's all, stop editing! Happy blogging. ...]]></description>
			<content:encoded><![CDATA[<p>春节快乐，各位 <img src='http://ihacklog.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' />  好久没发文章了，这里把前些日子写的一篇日志发出来~~</p>
<p>WP的特点就是你可以完全按你自己的想法来建立属于你自己的博客,这里说一下几个比较实用的配置项。</p>
<hr />
<p>新手注意事项：<br />
不要用记事本编辑wp-config.php文件，也不要给这个文件末尾加上<strong>?&gt;</strong>标签。<br />
以下所有涉及到要添加代码的，除非特别说明，否则，都是修改wp-config.php文件，需要添加的代码应该加在wp-config.php文件的</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">/* That's all, stop editing! Happy blogging. */</span></div></td></tr></tbody></table></div>
<p>这一条注释之上。</p>
<hr />
<h3>1.版本与语言</h3>
<p>目前英文版和中文版都能在官方下载到，不过如果你首先装的英文版，后来又想用中文版了也没关系，下载中文版的，然后把wp-content/languages目录下面的语言文件放到你博客的wp-content/languages 目录下面，再在wp-config.php中定义语言为中文即可，如：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WPLANG'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'zh_CN'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>什么？你想要前台使用中文，后面使用英文？可以，有个名叫 admin-in-english 的小插件，装上就能满足你的要求。<br />
如果要从单用户版转为多用户版，见我以前写过的文章。</p>
<h3>2.用多大内存，你说了算</h3>
<p>定义一般情况下允许wp使用的最大内存,如：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_MEMORY_LIMIT'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'30M'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>对于单用户博客，wp默认值是32M,对于多用户站点，默认是64M,你可以根据你的实际情况调整，如果你愿意的话。<br />
这个参数值最终将作用在php配置的memory_limit项上。</p>
<p>定义处理图片时允许使用的最大内存：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'WP_MAX_MEMORY_LIMIT'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'128M'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>因为wp默认是256M的，这在某些内存较小的vps上面的话，可能会导致内存超出可分配值的错误。因此，你可以根据自己的情况调整之。<br />
需要说明的是，这个限制仅用于限制imagecreatefromstring函数处理图片时的内存使用。因为GD在内存中处理图片时是没有压缩图片数据的。具体在function wp_load_image中有说明。</p>
<h3>3.博客出问题了？调试一下吧</h3>
<p>加上如下代码，WP将会老老实实的话所有错误信息显示出来：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'WP_DEBUG'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'WP_DEBUG_DISPLAY'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">true</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<h3>4.自动保存相关</h3>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #666666; font-style: italic;">//每30秒自动保存一次：</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'AUTOSAVE_INTERVAL'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">30</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//每周清理一次回收站（定义为0禁用回收站）：</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'EMPTY_TRASH_DAYS'</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">7</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #666666; font-style: italic;">//禁用日志修订</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'WP_POST_REVISIONS'</span><span style="color: #339933;">,</span> <span style="color: #009900; font-weight: bold;">false</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<h3>5.用的Unix/Linux/BSD主机？用UNIX Socket连接mysql数据库吧</h3>
<p>如：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'DB_HOST'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'localhost:/var/lib/mysql/mysql.sock'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<h3>6.更新插件或主题时出现“要执行请求的操作，WordPress 需要访问您网页服务器的权限。 请输入您的 FTP 登录XXXX的解决方法”</h3>
<p>这种情况一般是主机的目录所有者与php的执行者（一般是apache或lighthttpd，nginx等）不同导致的，一般采用suphp以cgi方式运行php的站点不会出现此情况。<br />
在wp-config.php中加入如下代码即可：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FS_METHOD'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'direct'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FS_CHMOD_DIR'</span><span style="color: #339933;">,</span> <span style="color: #208080;">0777</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<a href="http://www.php.net/define"><span style="color: #990000;">define</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'FS_CHMOD_FILE'</span><span style="color: #339933;">,</span> <span style="color: #208080;">0777</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>另外在wp-content目录下面新建一目录upgrade并且权限设置为777，插件目录plugins和主题目录themes也要给777权限（注意只是这两个目录本身，而不是目录下面的文件及目录！）</p>
<h3>7.想要cookie-free domain的图片URL ？这个也很简单</h3>
<p>你可以在同一服务器上面新建一子站点，如<strong>static.ihacklog.com</strong> ,假设把附件保存在wp-files目录下面，wp-files的绝对路径假设为<br />
<strong>/home/ihacklog.com/www/static</strong> (这个路径要根据你自己的主机确定）<br />
在后台，“<strong>设置</strong>”－－〉“<strong>媒体选项</strong>”<br />
<strong>文件上传</strong>处，默认上传路径填写绝对路径 <strong>/home/ihacklog.com/www/static</strong><br />
注意，假如你是windows主机的话，这个路径要用这样的形式，如：<strong>D:\\htdocs\\ihacklog.com\\static</strong><br />
文件的完整 URL 地址填写：<strong>http://static.ihacklog.com/wp-files</strong><br />
这样以后，再更新数据库中的URL信息：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">UPDATE wp_posts SET post_content<span style="color: #339933;">=</span> replace<span style="color: #009900;">&#40;</span>post_content<span style="color: #339933;">,</span><span style="color: #0000ff;">'http://your-domain.com/wp-content/uploads/'</span><span style="color: #339933;">,</span><span style="color: #0000ff;">'http://static.ihacklog.com/wp-files/'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>然后把你wp-content/uploads/目录下面的所有东东都移动到<strong>/home/ihacklog.com/www/static/wp-files/</strong> 目录下面即可。</p>
<h3>8.想把WP放在某个子目录下面？</h3>
<p>这个对于用cp等主机面板的用户比较实用。因为主站目录是public_html（实际上是指向www目录的一个符号链接）的话，子站的目录也是在这个目录下面。直接把WP装在这下面的话，整个站点目录就显得比较乱了。把wp安装在子目录下面比较好一些。如，把wp安装在wp目录下面：<br />
（这里假设你已经直接把wp安装在站点根目录下面了）<br />
先去后台，“常规” －－〉“常规”<br />
WordPress 地址（URL）填写： <strong>http://your-domain.com/wp</strong><br />
站点地址（URL）不变，还是：http://your-domain.com<br />
这样保存以后，在站点根目录下面新建一名为wp的目录，再把所有除.htaccess和 index.php的文件和目录全部移动到wp目录下面。<br />
修改index.php文件require语句为：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #b1b100;">require</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'./wp/wp-blog-header.php'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<h3>9.嫌默认的wp-login.php这个登录URL太麻烦？你可以修改它</h3>
<p>将以下代码放到当前主题的functions.php文件中：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp; &nbsp; add_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'init'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_login_url_rewrite'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">function</span> wp_login_url_rewrite<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; add_rewrite_rule<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'login/?$'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp-login.php'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'top'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
&nbsp; &nbsp; <span style="color: #009900;">&#125;</span></div></td></tr></tbody></table></div>
<p>然后，访问一下“设置” －－〉“固定链接”（在这里什么事也不用干，打开一下这个页面即可），让wp自动更新一下rewrite规则好让规则即时生效。<br />
好了，现在你可以在你博客域名的后面直接加上 /login来访问登录页面了。</p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5335";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5335" title="Permanent Link to 玩转WordPress之配置篇——9条实用配置技巧" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5335</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2009年09月22日  //  <a href="http://ihacklog.com/net/proficient-ip-address.html" title="精通ip地址之ipv4">精通ip地址之ipv4</a> (5)</li><li>2009年04月26日  //  <a href="http://ihacklog.com/xml_html_css_js_ajax/14geguanyutuxiangchulidejqueryplugins.html" title="14个关于图像处理的jQuery Plugins">14个关于图像处理的jQuery Plugins</a> (0)</li><li>2008年02月22日  //  <a href="http://ihacklog.com/php/skills/php%e4%b8%ad%e4%bd%bf%e7%94%a8_session%e5%b8%a6%e6%9d%a5%e7%9a%84%e9%97%ae%e9%a2%98.html" title="PHP中使用$_SESSION带来的问题">PHP中使用$_SESSION带来的问题</a> (0)</li><li>2011年05月24日  //  <a href="http://ihacklog.com/linux/chmsee.html" title="linux下的CHM阅读器：chmsee">linux下的CHM阅读器：chmsee</a> (1)</li><li>2010年04月17日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/use-gzip-to-compressed-your-web-content.html" title="用gzip压缩js和css,加速页面装载">用gzip压缩js和css,加速页面装载</a> (5)</li><li>2009年11月2日  //  <a href="http://ihacklog.com/software/cool_software_share/sogou-cloud-input-method.html" title="搜狗云输入法">搜狗云输入法</a> (6)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/php/wordpress/wpskills/9-practical-wordpress-configuration-skills.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>祝各位新年快乐</title>
		<link>http://ihacklog.com/memory/happy-new-year-2012.html</link>
		<comments>http://ihacklog.com/memory/happy-new-year-2012.html#comments</comments>
		<pubDate>Sun, 22 Jan 2012 06:37:41 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[碎片]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5333</guid>
		<description><![CDATA[我博客80%以上的流量来自搜索引擎，但是依然有一些的朋友坚持订阅或访问我的博客。感谢你们的支持！ 祝福各位龙年工作顺心。 我希望我还能坚持喊以前的口号：生命不惜，折腾不止！以后更新的周期可能会长一些，不过，只要站在，更新就会在。 喜欢这篇文章吗?请订阅本站 RSS feed 或 作者：荒野无灯 出处：Hacklog【荒野无灯weblog】 声明: 本站遵循 署名-非商业性使用-相同方式共享 2.5 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】 本文链接: http://ihacklog...]]></description>
			<content:encoded><![CDATA[<p>我博客80%以上的流量来自搜索引擎，但是依然有一些的朋友坚持订阅或访问我的博客。感谢你们的支持！<br />
祝福各位龙年工作顺心。<br />
我希望我还能坚持喊以前的口号：生命不惜，折腾不止！以后更新的周期可能会长一些，不过，只要<strong>站在，更新就会在。</strong></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5333";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5333" title="Permanent Link to 祝各位新年快乐" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5333</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年06月4日  //  <a href="http://ihacklog.com/security_optimization/use-yuicompressor-to-compress-your-js-css-code.html" title="用yuicompressor来压缩你的js、css代码">用yuicompressor来压缩你的js、css代码</a> (11)</li><li>2009年06月11日  //  <a href="http://ihacklog.com/php/wordpress/wordpress2-8chutiyan.html" title="wordpress 2.8初体验">wordpress 2.8初体验</a> (2)</li><li>2010年03月1日  //  <a href="http://ihacklog.com/php/wordpress/plugins/about-codecolorer.html" title="关于codecolorer这个插件">关于codecolorer这个插件</a> (0)</li><li>2010年04月21日  //  <a href="http://ihacklog.com/php/wordpress/plugins/add-media-quicktags-for-wp.html" title="在后台添加quicktags——续《不用audio-player插件也播放mp3》">在后台添加quicktags——续《不用audio-player插件也播放mp3》</a> (23)</li><li>2011年11月25日  //  <a href="http://ihacklog.com/php/wordpress/upgrade/wordpress-multisite-setup.html" title="wordpress多用户站点配置">wordpress多用户站点配置</a> (1)</li><li>2012年01月3日  //  <a href="http://ihacklog.com/hacklog/%e8%bf%98%e6%98%af%e5%b0%8f%e5%bc%a0%e7%9a%84%e8%99%9a%e6%8b%9f%e4%b8%bb%e6%9c%ba%e7%89%9bx.html" title="还是小张的虚拟主机牛X">还是小张的虚拟主机牛X</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/memory/happy-new-year-2012.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>年终了，丢两张图&#8230;&#8230;</title>
		<link>http://ihacklog.com/memory/hacklog/blog-pending.html</link>
		<comments>http://ihacklog.com/memory/hacklog/blog-pending.html#comments</comments>
		<pubDate>Sun, 08 Jan 2012 15:03:21 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5324</guid>
		<description><![CDATA[丢后台数据截图一张： 再丢桌面图一张： 送上vim思维导图一张（beta,正在不断修改中） 喜欢这篇文章吗?请订阅本站 RSS feed 或 作者：荒野无灯 出处：Hacklog【荒野无灯weblog】 声明: 本站遵循 署名-非商业性使用-相同方式共享 2.5 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】 本文链接: http://ihacklog.com/?p=5324 随机日志2010年05月10日 // C语言学习——计算某年某月某日是星期几的函数 (4)2010年04月3日 ...]]></description>
			<content:encoded><![CDATA[<p>丢后台数据截图一张：</p>
<p><a href="http://static.ihacklog.com/wp-files/2012/01/wp-2011.png" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://static.ihacklog.com/wp-files/2012/01/wp-2011-550x299.png" alt="" title="wp-2011" width="550" height="299" class="alignnone size-medium wp-image-5325" /> </a></p>
<p>再丢桌面图一张：<br />
<a href="http://static.ihacklog.com/wp-files/2012/01/2012-01-10-161218_1366x768_scrot.png" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://static.ihacklog.com/wp-files/2012/01/2012-01-10-161218_1366x768_scrot-550x309.png" alt="" title="2012-01-10-161218_1366x768_scrot" width="550" height="309" class="alignnone size-medium wp-image-5332" /> </a></p>
<p>送上vim思维导图一张（beta,正在不断修改中）<br />
<a href="http://static.ihacklog.com/wp-files/2012/01/Vim-mindmap.png" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://static.ihacklog.com/wp-files/2012/01/Vim-mindmap-376x400.png" alt="" title="Vim-mindmap" width="376" height="400" class="alignnone size-medium wp-image-5329" /> </a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5324";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5324" title="Permanent Link to 年终了，丢两张图&#8230;&#8230;" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5324</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2012年01月3日  //  <a href="http://ihacklog.com/hacklog/%e8%bf%98%e6%98%af%e5%b0%8f%e5%bc%a0%e7%9a%84%e8%99%9a%e6%8b%9f%e4%b8%bb%e6%9c%ba%e7%89%9bx.html" title="还是小张的虚拟主机牛X">还是小张的虚拟主机牛X</a> (5)</li><li>2009年04月9日  //  <a href="http://ihacklog.com/php/wordpress/plugins/ruhexiangwordpressguanwangtijiaozijizuodechajian.html" title="如何向 Wordpress 官网提交自己做的插件">如何向 Wordpress 官网提交自己做的插件</a> (1)</li><li>2008年12月17日  //  <a href="http://ihacklog.com/php/skills/gbk%e8%bd%acutf-8.html" title="gbk转utf-8">gbk转utf-8</a> (0)</li><li>2009年11月6日  //  <a href="http://ihacklog.com/memory/trainee-journey.html" title="见习小记">见习小记</a> (0)</li><li>2008年11月27日  //  <a href="http://ihacklog.com/php/wordpress/50-wordpress-theme.html" title="50个精美WordPress免费风格下载 ">50个精美WordPress免费风格下载 </a> (0)</li><li>2011年08月2日  //  <a href="http://ihacklog.com/php/skills/10-advanced-php-tips-revisited.html" title="10条PHP高级技巧[修正版]">10条PHP高级技巧[修正版]</a> (5)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/memory/hacklog/blog-pending.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>两个Mac风格主题推荐</title>
		<link>http://ihacklog.com/php/wordpress/theme/two-mac-like-wordpress-theme.html</link>
		<comments>http://ihacklog.com/php/wordpress/theme/two-mac-like-wordpress-theme.html#comments</comments>
		<pubDate>Sun, 08 Jan 2012 03:12:02 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[主题风格]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5307</guid>
		<description><![CDATA[在浏览http://dirk.sh/这个博客时看到这个风格的。 i3Theme 下载：http://www.mangoorange.com/resources/i3theme/ FAQ Can I remove the drag-and-drop function? Yes, you can. Just go to the dbx-key.js and comment all the codes there. By doing so, you will also remove the toggle but...]]></description>
			<content:encoded><![CDATA[<p>在浏览<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fdirk.sh%2F" target="_blank">http://dirk.sh/</a>这个博客时看到这个风格的。</p>
<h3>i3Theme</h3>
<p>下载：<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwww.mangoorange.com%2Fresources%2Fi3theme%2F" target="_blank">http://www.mangoorange.com/resources/i3theme/</a><br />
<a href="http://www.mangoorange.com/wp-content/uploads/2008/02/i3theme-5colours.jpg" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://www.mangoorange.com/wp-content/uploads/2008/02/i3theme-5colours.jpg" alt="i3theme" /> </a><br />
FAQ<br />
Can I remove the drag-and-drop function? Yes, you can. Just go to the dbx-key.js and comment all the codes there. By doing so, you will also remove the toggle button feature as well as the green/orange/grey button at the corner of the box.<br />
Can I remove sponsored links? Yes, you can. The license only required you to maintain the N. Design Studio , Mango Orange, and Already Hosting links.<br />
Why do wp_tags() fatal error appear? That&#8217;s because you need to upgrade to WordPress 2.3 as the wp_tags is a new feature in WordPress 2.3.</p>
<h3>i2Theme</h3>
<p>下载：<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwww.mangoorange.com%2Fresources%2Fi2theme%2F" target="_blank">http://www.mangoorange.com/resources/i2theme/</a></p>
<p><a href="http://www.mangoorange.com/wp-content/uploads/2008/03/i2theme.jpg" class="tinybox2"  onclick="TINY.box.show({image:this.href,boxid:'frameless',animate:true,fixed:false});return false;"  title="Click to enlarge（点击查看大图）" ><img src="http://www.mangoorange.com/wp-content/uploads/2008/03/i2theme.jpg" alt="i3theme" /> </a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5307";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5307" title="Permanent Link to 两个Mac风格主题推荐" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5307</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2010年03月2日  //  <a href="http://ihacklog.com/software/cool_software_share/my-software-on-windows.html" title="我都装了些什么软件之win篇">我都装了些什么软件之win篇</a> (5)</li><li>2011年06月2日  //  <a href="http://ihacklog.com/linux/archlinux/use-luit-to-solve-garbled-problem-in-telnet-in-xfce-terminal.html" title="xfce terminal中telnet访问非utf-8编码服务器乱码的解决办法">xfce terminal中telnet访问非utf-8编码服务器乱码的解决办法</a> (0)</li><li>2009年11月2日  //  <a href="http://ihacklog.com/linux/ubuntu-desktop/share-a-fast-ubuntu-9-10-source.html" title="share a fast UBUNTU 9.10 source">share a fast UBUNTU 9.10 source</a> (0)</li><li>2008年12月31日  //  <a href="http://ihacklog.com/php/cpu%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%ef%bc%9acpu%e5%a4%96%e9%a2%91.html" title="CPU基础知识：CPU外频">CPU基础知识：CPU外频</a> (0)</li><li>2011年05月7日  //  <a href="http://ihacklog.com/linux/archlinux/install-win7-and-archlinux-part-2.html" title="win7/archlinux双系统安装手记（二）">win7/archlinux双系统安装手记（二）</a> (0)</li><li>2011年11月3日  //  <a href="http://ihacklog.com/software/tips/what-is-my-ip.html" title="what is my IP">what is my IP</a> (11)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/php/wordpress/theme/two-mac-like-wordpress-theme.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>实现Vim tags自动更新</title>
		<link>http://ihacklog.com/software/powerfulvim/vim-tags-auto-update.html</link>
		<comments>http://ihacklog.com/software/powerfulvim/vim-tags-auto-update.html#comments</comments>
		<pubDate>Sun, 08 Jan 2012 02:46:45 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5305</guid>
		<description><![CDATA[这里要用到两个插件： projtags.vim : Set tags file for per project AutoTag : Updates entries in a tags file automatically when saving 这两个插件单独工作都不能满足我的要求，但是他们合起来使用却是非常方便。 projtags.vim用于给项目配置tags文件，如配置项目路径为 /path-to-proj ,那么，当文件在 /path-to-proj及其子目录时，tags选项此时被局部地设置为了/p...]]></description>
			<content:encoded><![CDATA[<p>这里要用到两个插件：<br />
projtags.vim : Set tags file for per project<br />
AutoTag : Updates entries in a tags file automatically when saving</p>
<p>这两个插件单独工作都不能满足我的要求，但是他们合起来使用却是非常方便。<br />
projtags.vim用于给项目配置tags文件，如配置项目路径为 /path-to-proj ,那么，当文件在 /path-to-proj及其子目录时，tags选项此时被局部地设置为了/path-to-proj/tags ，这样，即使是在子目录，tags选项的配置也能工作。<br />
现在还有一个问题是tags自动更新的问题了。总不能每添加一个新文件就手动运行一下命令吧？而且，ctags的-a选项(append)并不会自动删除已经不存在的tag,此时，autotag.vim华丽登场～～，它能搞定这一切。</p>
<p>不过直接把这两个插件扔plugin目录是不会达到上述效果的，得稍做一些修改。<br />
AutoTag.vim 作者的安装指导是要你直接在.vimrc里面source它。<br />
这里我把它修改一下，然后放到~/.vim/plugin目录，给出补丁吧：</p>
<div class="codecolorer-container diff default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;height:500px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br /></div></td><td><div class="diff codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="">&#91;</span>admin@huangye plugin<span style="">&#93;</span>$ diff -urNB ~/document/vim/plugins/autotag.vim autotag.vim <br />
<span style="color: #888822;">--- /home/admin/document/vim/plugins/autotag.vim&nbsp; &nbsp; 2012-01-06 16:50:37.912729822 +0800</span><br />
<span style="color: #888822;">+++ autotag.vim 2012-01-08 10:43:21.423301599 +0800</span><br />
<span style="color: #440088;">@@ -87,7 +87,7 @@</span><br />
&nbsp; &nbsp; &nbsp; &nbsp;while file:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; file = os.path.dirname<span style="">&#40;</span>file<span style="">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #self.__diag<span style="">&#40;</span>'drive = &quot;%s&quot;, file = &quot;%s&quot;' % <span style="">&#40;</span>drive, file<span style="">&#41;</span><span style="">&#41;</span><br />
<span style="color: #991111;">- &nbsp; &nbsp; &nbsp; &nbsp; tagsFile = os.path.join<span style="">&#40;</span>drive, file, self.tags_file<span style="">&#41;</span></span><br />
<span style="color: #00b000;">+ &nbsp; &nbsp; &nbsp; &nbsp; tagsFile = self.tags_file</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #self.__diag<span style="">&#40;</span>'tagsFile &quot;%s&quot;' % tagsFile<span style="">&#41;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if os.path.isfile<span style="">&#40;</span>tagsFile<span style="">&#41;</span>:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;st = os.stat<span style="">&#40;</span>tagsFile<span style="">&#41;</span><br />
<span style="color: #440088;">@@ -184,7 +184,7 @@</span><br />
&nbsp; &nbsp; let g:autotagDisabled=<span style="">0</span><br />
&nbsp;endif<br />
&nbsp;if !exists<span style="">&#40;</span>&quot;g:autotagVerbosityLevel&quot;<span style="">&#41;</span><br />
<span style="color: #991111;">- &nbsp; let g:autotagVerbosityLevel=0</span><br />
<span style="color: #00b000;">+ &nbsp; let g:autotagVerbosityLevel=2</span><br />
&nbsp;endif<br />
&nbsp;if !exists<span style="">&#40;</span>&quot;g:autotagExcludeSuffixes&quot;<span style="">&#41;</span><br />
&nbsp; &nbsp; let g:autotagExcludeSuffixes=&quot;tml.xml.text.txt&quot;</div></td></tr></tbody></table></div>
<p>projtags.vim的话，在</p>
<div class="codecolorer-container vim default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="vim codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #804040;">execute</span> <span style="color: #C5A22D;">'autocmd BufEnter '</span> <span style="color: #000000;">.</span> filepattern <span style="color: #000000;">.</span> <span style="color: #C5A22D;">' :setlocal tags+='</span> <span style="color: #000000;">.</span> tagfile</div></td></tr></tbody></table></div>
<p>前面加上一句：</p>
<div class="codecolorer-container vim default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="vim codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #804040;">let</span> g<span style="color: #000000;">:</span>autotagTagsFile=tagfile</div></td></tr></tbody></table></div>
<p>,然后把其内容直接加到.vimrc里面即可。因为这里要让projtags.vim优先运行以告知autotag.vim tags文件的位置。<br />
<strong>还有要注意的一点是，在给projtags.vim配置项目路径时，要写绝对路径，不能写 $HOME或 ~ ，不然autotag.vim不能更新tags.</strong></p>
<div class="codecolorer-container vim default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="vim codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000;">:</span>scriptnames</div></td></tr></tbody></table></div>
<p>命令会列出你加载的插件列表，按加载顺序排列。不用总结哪个目录的插件先加载了，直接运行这条命令就好，一目了然。</p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5305";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5305" title="Permanent Link to 实现Vim tags自动更新" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5305</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2011年04月30日  //  <a href="http://ihacklog.com/php/drupal/add-category-for-drupal.html" title="给drupal添加分类">给drupal添加分类</a> (2)</li><li>2010年11月24日  //  <a href="http://ihacklog.com/programming/c/recursive-and-iterative.html" title="关于递归与迭代">关于递归与迭代</a> (5)</li><li>2008年12月31日  //  <a href="http://ihacklog.com/php/cpu%e5%9f%ba%e7%a1%80%e7%9f%a5%e8%af%86%ef%bc%9acpu%e9%80%82%e7%94%a8%e7%b1%bb%e5%9e%8b.html" title="CPU基础知识：CPU适用类型">CPU基础知识：CPU适用类型</a> (0)</li><li>2010年11月26日  //  <a href="http://ihacklog.com/software/cool_software_share/free-data-recovery-software-testdisk.html" title="开源数据恢复软件TestDisk">开源数据恢复软件TestDisk</a> (0)</li><li>2009年06月6日  //  <a href="http://ihacklog.com/php/wordpress/june10thwordpress28.html" title="June 10th,WordPress 2.8">June 10th,WordPress 2.8</a> (3)</li><li>2010年07月24日  //  <a href="http://ihacklog.com/server/ubuntu-server/bind-9-dumping-master-file-tmp-xxxx-open-permission-denied.html" title="解决Bind 9 dumping master file tmp-XXXX open permission denied问题">解决Bind 9 dumping master file tmp-XXXX open permission denied问题</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/software/powerfulvim/vim-tags-auto-update.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WP调试插件三款</title>
		<link>http://ihacklog.com/php/wordpress/plugins/three-wp-debuging-plugins.html</link>
		<comments>http://ihacklog.com/php/wordpress/plugins/three-wp-debuging-plugins.html#comments</comments>
		<pubDate>Sat, 07 Jan 2012 12:41:44 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[wp插件]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5303</guid>
		<description><![CDATA[其实是从盘先海童鞋那里瞟到的~~~ BlackBox Debug Bar,此插件详细介绍见《WordPress Debug插件：BlackBox》 Debug Bar Debug Bar Console 喜欢这篇文章吗?请订阅本站 RSS feed 或 作者：荒野无灯 出处：Hacklog【荒野无灯weblog】 声明: 本站遵循 署名-非商业性使用-相同方式共享 2.5 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】 本文链接: http://ihacklog.com/?p=5303 ...]]></description>
			<content:encoded><![CDATA[<p>其实是从盘先海童鞋那里瞟到的~~~<br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwordpress.org%2Fextend%2Fplugins%2Fblackbox-debug-bar%2F" target="_blank">BlackBox Debug Bar</a>,此插件详细介绍见<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwww.panxianhai.com%2Fblackbox-debug-plugin.html" target="_blank">《WordPress Debug插件：BlackBox》</a><br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwordpress.org%2Fextend%2Fplugins%2Fdebug-bar%2F" target="_blank">Debug Bar</a><br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwordpress.org%2Fextend%2Fplugins%2Fdebug-bar-console%2F" target="_blank">Debug Bar Console</a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5303";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5303" title="Permanent Link to WP调试插件三款" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5303</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2011年11月3日  //  <a href="http://ihacklog.com/software/tips/what-is-my-ip.html" title="what is my IP">what is my IP</a> (11)</li><li>2009年08月23日  //  <a href="http://ihacklog.com/php/discuz-forum-bg-music-v4-0.html" title="discuz背景音乐插件v4.0版">discuz背景音乐插件v4.0版</a> (2)</li><li>2008年12月7日  //  <a href="http://ihacklog.com/php/skills/clever-forms-with-php.html" title="Clever forms with PHP">Clever forms with PHP</a> (0)</li><li>2012年01月3日  //  <a href="http://ihacklog.com/php/wordpress/problems/strip-title-attribute-html-tags.html" title="最近文章title属性去除HTML标签">最近文章title属性去除HTML标签</a> (0)</li><li>2011年09月22日  //  <a href="http://ihacklog.com/php/wordpress/wpskills/codecolorer-v0-9-9-js-loading-bug.html" title="CodeColorer v0.9.9 一处JS加载BUG">CodeColorer v0.9.9 一处JS加载BUG</a> (3)</li><li>2009年04月26日  //  <a href="http://ihacklog.com/php/cfchaojitiaobug.html" title=" CF超级跳BUG"> CF超级跳BUG</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/php/wordpress/plugins/three-wp-debuging-plugins.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>这两天在调试评论代码，把各位挡在门外了，不好意思~~</title>
		<link>http://ihacklog.com/memory/hacklog/%e8%bf%99%e4%b8%a4%e5%a4%a9%e5%9c%a8%e8%b0%83%e8%af%95%e8%af%84%e8%ae%ba%e4%bb%a3%e7%a0%81%ef%bc%8c%e6%8a%8a%e5%90%84%e4%bd%8d%e6%8c%a1%e5%9c%a8%e9%97%a8%e5%a4%96%e4%ba%86%ef%bc%8c%e4%b8%8d%e5%a5%bd.html</link>
		<comments>http://ihacklog.com/memory/hacklog/%e8%bf%99%e4%b8%a4%e5%a4%a9%e5%9c%a8%e8%b0%83%e8%af%95%e8%af%84%e8%ae%ba%e4%bb%a3%e7%a0%81%ef%bc%8c%e6%8a%8a%e5%90%84%e4%bd%8d%e6%8c%a1%e5%9c%a8%e9%97%a8%e5%a4%96%e4%ba%86%ef%bc%8c%e4%b8%8d%e5%a5%bd.html#comments</comments>
		<pubDate>Sat, 07 Jan 2012 11:52:45 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5302</guid>
		<description><![CDATA[如题。 喜欢这篇文章吗?请订阅本站 RSS feed 或 作者：荒野无灯 出处：Hacklog【荒野无灯weblog】 声明: 本站遵循 署名-非商业性使用-相同方式共享 2.5 共享协议. 转载请注明转自Hacklog【荒野无灯weblog】 本文链接: http://ihacklog.com/?p=5302 随机日志2011年10月7日 // Linux下用pdnsd做dns缓存服务器 (5)2011年12月7日 // 阿朵《一人一花》微电影版MV (1)2011年07月23日 // 分享一个在线打包...]]></description>
			<content:encoded><![CDATA[<p>如题。</p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5302";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5302" title="Permanent Link to 这两天在调试评论代码，把各位挡在门外了，不好意思~~" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5302</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2011年07月22日  //  <a href="http://ihacklog.com/software/tips/bring-windows-classic-theme-back.html" title="DIY windows经典界面，图标更加清爽——神器Reshacker">DIY windows经典界面，图标更加清爽——神器Reshacker</a> (10)</li><li>2010年10月16日  //  <a href="http://ihacklog.com/linux/ubuntu-desktop/use-diskgenius-find-missing-partition.html" title="LINUX无故丢失4个分区，Diskgenius出马全部找回">LINUX无故丢失4个分区，Diskgenius出马全部找回</a> (8)</li><li>2010年06月8日  //  <a href="http://ihacklog.com/net/powerful-netsh.html" title="windows下的功能强大的netsh命令">windows下的功能强大的netsh命令</a> (0)</li><li>2009年04月9日  //  <a href="http://ihacklog.com/php/wordpress/plugins/ruhexiangwordpressguanwangtijiaozijizuodechajian.html" title="如何向 Wordpress 官网提交自己做的插件">如何向 Wordpress 官网提交自己做的插件</a> (1)</li><li>2008年12月31日  //  <a href="http://ihacklog.com/php/%e6%b6%b2%e6%99%b6%e6%98%be%e7%a4%ba%e5%99%a8%e8%b4%ad%e4%b9%b0%e6%b3%a8%e6%84%8f%e9%97%ae%e9%a2%98.html" title="液晶显示器购买注意问题">液晶显示器购买注意问题</a> (0)</li><li>2011年10月12日  //  <a href="http://ihacklog.com/linux/archlinux/install-cisco-packet-tracer-5-3-on-archlinux.html" title="Archlinux下安装Cisco Packet Tracer 5.3">Archlinux下安装Cisco Packet Tracer 5.3</a> (2)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/memory/hacklog/%e8%bf%99%e4%b8%a4%e5%a4%a9%e5%9c%a8%e8%b0%83%e8%af%95%e8%af%84%e8%ae%ba%e4%bb%a3%e7%a0%81%ef%bc%8c%e6%8a%8a%e5%90%84%e4%bd%8d%e6%8c%a1%e5%9c%a8%e9%97%a8%e5%a4%96%e4%ba%86%ef%bc%8c%e4%b8%8d%e5%a5%bd.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>自制vim php manual</title>
		<link>http://ihacklog.com/software/powerfulvim/self-made-vim-php-manual.html</link>
		<comments>http://ihacklog.com/software/powerfulvim/self-made-vim-php-manual.html#comments</comments>
		<pubDate>Sat, 07 Jan 2012 06:42:23 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5298</guid>
		<description><![CDATA[安装 XML Parser PEAR 1sudo pear install XML_Parser 下载parser脚本 1wget http://blog.planetxml.de/uploads/source/php/phpdoc/parser2.php.txt -Oparser2.php 这个parser对目前的php版本来说，有些地方已经不适应了，我在Gasol patch版的基础上修改了一下。 从php.net docs repo中checkout出文档源码： 1svn co http://svn...]]></description>
			<content:encoded><![CDATA[<p>安装 <a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fpear.php.net%2Fpackage%2FXML_Parser%2F" target="_blank">XML Parser</a> PEAR</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">sudo</span> pear <span style="color: #c20cb9; font-weight: bold;">install</span> XML_Parser</div></td></tr></tbody></table></div>
<p>下载parser脚本</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>blog.planetxml.de<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span>source<span style="color: #000000; font-weight: bold;">/</span>php<span style="color: #000000; font-weight: bold;">/</span>phpdoc<span style="color: #000000; font-weight: bold;">/</span>parser2.php.txt -Oparser2.php</div></td></tr></tbody></table></div>
<p>这个parser对目前的php版本来说，有些地方已经不适应了，我在Gasol patch版的基础上修改了一下。</p>
<p>从php.net docs repo中checkout出文档源码：</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">svn co</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.php.net<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>phpdoc<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>doc-en phpdoc</div></td></tr></tbody></table></div>
<p>生成doc</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">php parser2<span style="color: #339933;">.</span>php</div></td></tr></tbody></table></div>
注意：该页面嵌入了下载文件，请访问 <a href="http://ihacklog.com/software/powerfulvim/self-made-vim-php-manual.html">该页面</a>下载该文件。
<p>注意：该页面嵌入了下载文件，请访问 <a href="http://ihacklog.com/software/powerfulvim/self-made-vim-php-manual.html">该页面</a>下载该文件。<br />
使用方法见我以前的文章<a href="http://ihacklog.com/software/powerfulvim/php-manual-for-vim.html" target="_blank">《PHP Manual for Vim》</a></p>
<hr />
<p>另外一个修改版的parser下载：<br />
<a href="http://ihacklog.com/l.php?url=https%3A%2F%2Fdocs.google.com%2Fleaf%3Fid%3D0B0ORe5N7_r_hOTM4MGEzZTEtMDU5OS00OTc0LWFmOTQtNDkzYTMxZTE4YjU0%26hl%3Den" target="_blank">https://docs.google.com/leaf?id=0B0ORe5N7_r_hOTM4MGEzZTEtMDU5OS00OTc0LWFmOTQtNDkzYTMxZTE4YjU0&#038;hl=en</a><br />
这个parser使用方法：</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #c20cb9; font-weight: bold;">svn co</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.php.net<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>phpdoc<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>doc-en phpdoc<br />
<span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;reference&quot;</span> <span style="color: #660033;">-print</span> <span style="color: #000000; font-weight: bold;">&gt;</span> references.txt<br />
<span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> <span style="color: #ff0000;">&quot;*.ent&quot;</span> <span style="color: #660033;">-print</span> <span style="color: #000000; font-weight: bold;">&gt;</span> ent.txt<br />
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> out <br />
php parser.php<br />
<span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/*</span>.txt ~<span style="color: #000000; font-weight: bold;">/</span>.vim<span style="color: #000000; font-weight: bold;">/</span>doc</div></td></tr></tbody></table></div>
<div class="codecolorer-container vim default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="vim codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #804040;">filetype</span> <span style="color: #25BB4D;">plugin</span> <span style="color: #25BB4D;">on</span><br />
<span style="color: #804040;">au</span> <span style="color: #25BB4D;">FileType</span> php <span style="color: #804040;">set</span> <span style="color: #668080;">keywordprg</span>=<span style="color: #000000;">:</span>help</div></td></tr></tbody></table></div>
<hr />
另外，根据Gasol提示：</p>
<blockquote><p>有用pathogen的話要把pathogen#helptags()拿掉，它會自動執行helptags把tags檔覆蓋過去，我個人是用pathogen擺在$HOME/.vim/bundle/phpdoc/doc底下，接著在.vimrc加上一行autocmd BufNewFile,BufRead *.php set keywordprg=”help”就大功告成了！</p></blockquote>
<p>由于我没有用pathogen,所以，不知道放在~/.vim/phpdoc/doc目录是否会自动覆盖。基于小心的原则，还是把这段话放在这里。毕竟Gasol的博客在墙外。</p>
<p>参考文档：<br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fblog.planetxml.de%2Farchives%2F16-PHP-Manual-in-VIM-einbinden.html" target="_blank">http://blog.planetxml.de/archives/16-PHP-Manual-in-VIM-einbinden.html</a><br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fblog.gasol.tw%2F2011%2F05%2Fphp-manual-in-vim.html" target="_blank">http://blog.gasol.tw/2011/05/php-manual-in-vim.html</a><br />
<a href="http://ihacklog.com/l.php?url=https%3A%2F%2Fgist.github.com%2F993468" target="_blank">https://gist.github.com/993468</a><br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwww.fumbling-in-the-dark.com%2F2011%2F03%2Fviewing-php-manual-in-vim.html" target="_blank">http://www.fumbling-in-the-dark.com/2011/03/viewing-php-manual-in-vim.html</a><br />
<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fvim.wikia.com%2Fwiki%2FPHP_manual_in_Vim_help_format" target="_blank">http://vim.wikia.com/wiki/PHP_manual_in_Vim_help_format</a></p>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5298";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5298" title="Permanent Link to 自制vim php manual" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5298</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2011年10月6日  //  <a href="http://ihacklog.com/software/cool_software_share/pdf-viewer-for-linuxer.html" title="两个Linux下的pdf阅读器">两个Linux下的pdf阅读器</a> (3)</li><li>2010年10月17日  //  <a href="http://ihacklog.com/software/tips/chenfang-usb-driver-system-maintenance-tool-v2-0-512m-maxdos-8-0.html" title="晨枫U盘维护系统 V2.0 512M MaxDos 8.0版 by荒野无灯">晨枫U盘维护系统 V2.0 512M MaxDos 8.0版 by荒野无灯</a> (7)</li><li>2009年09月22日  //  <a href="http://ihacklog.com/net/proficient-ip-address.html" title="精通ip地址之ipv4">精通ip地址之ipv4</a> (5)</li><li>2011年08月20日  //  <a href="http://ihacklog.com/php/habari/hb-smilies.html" title="原创插件：HB smilies">原创插件：HB smilies</a> (3)</li><li>2008年12月31日  //  <a href="http://ihacklog.com/php/%e7%94%b5%e8%84%91%e7%9a%84%e7%a5%9e%e7%bb%8f%e7%b3%bb%e7%bb%9f-%e4%b8%bb%e6%9d%bf%e8%af%a6%e8%a7%a3.html" title="电脑的神经系统&#8212;&#8211;主板详解">电脑的神经系统&#8212;&#8211;主板详解</a> (0)</li><li>2009年11月8日  //  <a href="http://ihacklog.com/php/framework/model-view-controller.html" title="Model-View-Controller">Model-View-Controller</a> (4)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/software/powerfulvim/self-made-vim-php-manual.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpcomplete.vim 比官方版功能强大的全能补全插件</title>
		<link>http://ihacklog.com/software/powerfulvim/phpcomplete-vim-php-omnicomplete-with-extra-support.html</link>
		<comments>http://ihacklog.com/software/powerfulvim/phpcomplete-vim-php-omnicomplete-with-extra-support.html#comments</comments>
		<pubDate>Sat, 07 Jan 2012 02:55:57 +0000</pubDate>
		<dc:creator>荒野无灯</dc:creator>
				<category><![CDATA[Vim]]></category>

		<guid isPermaLink="false">http://ihacklog.com/?p=5297</guid>
		<description><![CDATA[官方自带的全能补全默认vim脚本文件是 /usr/share/vim/vim73/autoload/phpcomplete.vim 经试用，官方的搜索很费时间并且不准确。 还好找到了这个修改版的 phpcomplete.vim Default phpcomplete.vim does not support in-file checking of $var = new Class; so if you don&#8217;t have a tags file with the variable in it...]]></description>
			<content:encoded><![CDATA[<p>官方自带的全能补全默认vim脚本文件是 /usr/share/vim/vim73/autoload/phpcomplete.vim </p>
<p>经试用，官方的搜索很费时间并且不准确。<br />
还好找到了这个修改版的<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fwww.vim.org%2Fscripts%2Fscript.php%3Fscript_id%3D3171" target="_blank"> phpcomplete.vim</a></p>
<blockquote><p>
Default phpcomplete.vim does not support in-file checking of $var = new Class; so if you don&#8217;t have a tags file with the variable in it already you have to hack around it by placing the comment /* @var $yourvar YourClass */ above the line which is really kludgy. </p>
<p>This patch allows for in-file checking so you don&#8217;t need the comment. </p>
<p>$instance = new Class;<br />
&#8230;<br />
$instance->Blah(); // <-- complete without comment </p>
<p>It also allows support for singleton instantiations: </p>
<p>$instance = Class::getInstance();<br />
$instance->completeMe(); // sweet completion </p>
<p>=== Usage ===<br />
// example class which has a TAGS file generated for it somewhere<br />
class SomeClass {<br />
  private function _private_method() {} // never shows up in completion list<br />
  public static function staticMethod() {} // only shows up when using completion on SomeClass::<C-X><C-O><br />
  public function completeMe() {} // only shows up when using completion on $instance_of_someclass-><C-X><C-O><br />
} </p>
<p>== Non-static completion ==<br />
$instance = new SomeClass;<br />
&#8230;<br />
$instance-><C-X><C-O> to display the omnicompletion menu (see :help ins-completion)<br />
$instance->completeMe(); // will autoselect completeMe since it&#8217;s the only public non-static method </p>
<p>== Static completion ==<br />
SomeClass::<C-X><C-O> to display omnicompletion menu<br />
SomeClass::staticMethod(); // once again will autoselect staticMethod since it&#8217;s the only public static method </p>
<p>== Singleton completion ==<br />
$instance = SomeClass::getInstance();<br />
$instance-><C-X><C-O> complete just like non-static </p>
<p>=== Other features ===<br />
 * Correct restriction of static or standard methods based on context ( show only static methods with :: and only standard with ->)<br />
 * Real support for self:: and $this-> with the aforementioned context restriction<br />
 * Constant variable completion (not just define(VARIABLE, 1) but const VARIABLE = 1) </p>
<p>Follow updates: </p>
<p>http://github.com/shawncplus/phpcomplete.vim</p>
<p>install details<br />
Place in $HOME/.vim/autoload/phpcomplete.vim and enable the php ftplugin
</p></blockquote>
<p>另外还有一种<a href="http://ihacklog.com/l.php?url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F1224838%2Fvim-php-omni-completion%2F2316468%232316468" target="_blank">添加注释的方式</a>让vim识别，不过这种方式还是没有上面的全能补全插件爽：</p>
<div class="codecolorer-container php default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&nbsp;<span style="color: #666666; font-style: italic;">/* @var $myVar myClass */</span><br />
<span style="color: #000088;">$myVar</span> <span style="color: #339933;">=</span> <span style="color: #000000; font-weight: bold;">new</span> myClass<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000088;">$myVar</span><span style="color: #339933;">-&gt;</span></div></td></tr></tbody></table></div>

<script type="text/javascript"> 
var cur_host=top.location.hostname;
var huangye_host="ihacklog.com";
if ( huangye_host != cur_host) 
{
	var cur_url=top.location.href;
	//top.location.href = cur_url.replace(cur_host,huangye_host);
	top.location.href = "http://ihacklog.com/?p=5297";
}
</script> 			
<div class='sub'><h4>喜欢这篇文章吗?</h4><p>请订阅本站 <a class="feed" style="font-family:Consolas,'DejaVu Sans Mono',monospace,'Comic Sans MS',Monaco;font-size:14px;" href="http://ihacklog.com/feed" onclick="prompt(&#39;URL:&#39;, this.href); return false;">RSS feed</a> 或<a style="display:inline-block;width:90px;margin-bottom:-8px;" target="_blank" href="http://list.qq.com/cgi-bin/qf_invite?id=5899d1ae341c4fb741adf6648000fbaf3ef47b98e2a163da"><img border="0" alt="填写您的邮件地址，订阅我们的精彩内容：" src="http://rescdn.list.qq.com/zh_CN/htmledition/images/qunfa/manage/picMode_dark_s.png" /></a></p></div>
                <!-- 版权声明开始 -->
   		<div id="permissions">
		作者：<a href="http://ihacklog.com">荒野无灯</a><br/>
		出处：<span style="color: #333300;"><a target="_blank"  href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span><br/>
                <!-- 版权声明结束 -->
                <!-- 协议声明开始 -->
            <p>
            <strong>声明:</strong> 本站遵循 <span style="color: #ff0000;"><a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/" target="_blank"> 署名-非商业性使用-相同方式共享 2.5</a> </span>共享协议. 转载请注明转自<span style="color: #333300;"><a target="_blank" href="http://ihacklog.com"><strong>Hacklog</strong>【荒野无灯weblog】</a></span>
            </p>
                <!-- 协议声明结束 -->
                
             <p>
             本文链接:  <a  target="_blank"  href="http://ihacklog.com/?p=5297" title="Permanent Link to phpcomplete.vim 比官方版功能强大的全能补全插件" onclick="prompt(&#39;URL:&#39;, this.href); return false;">http://ihacklog.com/?p=5297</a>
            </p>
             </div><h3  class="related_post_title">随机日志</h3><ul class="related_post"><li>2009年11月2日  //  <a href="http://ihacklog.com/server/vsftpd-configure.html" title=" vsftpd安装配置"> vsftpd安装配置</a> (3)</li><li>2009年01月17日  //  <a href="http://ihacklog.com/memory/zaibeidaxiaoyuanbbsyinqihongdongdeyipianwenzhang_zhuanzai.html" title="在北大校园BBS引起轰动的一篇文章_转载">在北大校园BBS引起轰动的一篇文章_转载</a> (0)</li><li>2011年07月21日  //  <a href="http://ihacklog.com/software/development-tool/phpdocumentor-chinese-words.html" title="PhpDocumentor中文乱码解决办法">PhpDocumentor中文乱码解决办法</a> (3)</li><li>2009年03月16日  //  <a href="http://ihacklog.com/memory/zaishuodudaodelinghun.html" title="再说读到的灵魂 ">再说读到的灵魂 </a> (0)</li><li>2008年12月31日  //  <a href="http://ihacklog.com/php/%e6%98%be%e5%8d%a1%e5%85%a5%e9%97%a8%e6%95%99%e7%a8%8b.html" title="显卡入门教程">显卡入门教程</a> (0)</li><li>2008年02月21日  //  <a href="http://ihacklog.com/php/skills/php%e4%b8%87%e8%83%bd%e6%92%ad%e6%94%be%e5%99%a8.html" title="php万能播放器">php万能播放器</a> (0)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://ihacklog.com/software/powerfulvim/phpcomplete-vim-php-omnicomplete-with-extra-support.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

