<?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>干草博客</title>
	<atom:link href="http://www.tmper.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tmper.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 12 May 2012 03:55:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>上传的图片后自动添加Logo &#8211; WordPress开发事例</title>
		<link>http://www.tmper.com/blog/blog-url-to-pictures/</link>
		<comments>http://www.tmper.com/blog/blog-url-to-pictures/#comments</comments>
		<pubDate>Fri, 11 May 2012 16:45:50 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress插件开发]]></category>
		<category><![CDATA[wp_handle_upload使用事例]]></category>

		<guid isPermaLink="false">http://www.tmper.com/blog/?p=789</guid>
		<description><![CDATA[该插件涉及到的函数有 wp_handle_upload ( $file ) 以上函数的详细用法可去http://codex.wordpress.org/Function_Reference/查看 在wp-content/plugins目录下创建一个logo2image.php文件. 然后把以下代码复制到该文件. 然后进入WP后台激活插件即可. 或者点击此处下载, 然后上传到你的博客安装. [code]]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/blog-url-to-pictures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>自动清除修订版本插件 &#8211; WordPress开发事例</title>
		<link>http://www.tmper.com/blog/clean-version/</link>
		<comments>http://www.tmper.com/blog/clean-version/#comments</comments>
		<pubDate>Sun, 06 May 2012 03:49:54 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[add_action使用事例]]></category>
		<category><![CDATA[add_filter使用事例]]></category>
		<category><![CDATA[register_activation_hook使用事例]]></category>
		<category><![CDATA[register_deactivation_hook使用事例]]></category>
		<category><![CDATA[Wordpress插件开发]]></category>
		<category><![CDATA[wp_clear_scheduled_hook使用事例]]></category>
		<category><![CDATA[wp_schedule_event使用事例]]></category>

		<guid isPermaLink="false">http://www.tmper.com/blog/?p=773</guid>
		<description><![CDATA[博客文章不断修改, 慢慢地发现. 修订版本越来越多. 特别在迁移数据库的时候才发现. 明明博客才那么几篇文章. 为什么表里有百来条记录呢? 进去看了看才发现. 哦!! 原来很多都是旧的版本数据. 没用的了. 唉, 想了想. 还是自己弄个插件. 自动清理一下吧. 所以就出现了一下的简单插件.  顺便把程序代码放在博客上, 就当时一个事例教程吧. 呵呵^^ 该插件涉及到的函数有 register_activation_hook ( $file, $function ) register_deactivation_hook ($file, $function ) wp_clear_scheduled_hook ( &#8216;my_schedule_hook&#8217; ) wp_schedule_event ( $timestamp, $recurrence, $hook, $args ) add_filter ( $tag, $function_to_add, $priority, $accepted_args ) add_action ( $tag, $function_to_add, $priority, $accepted_args ) 以上函数的详细用法可去http://codex.wordpress.org/Function_Reference/查看 在wp-content/plugins目录下创建一个cleanVersion.php文件. 然后把以下代码复制到该文件. 然后进入WP后台激活插件即可. [code]]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/clean-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpexcel使用方法事例</title>
		<link>http://www.tmper.com/blog/phpexcel-demo/</link>
		<comments>http://www.tmper.com/blog/phpexcel-demo/#comments</comments>
		<pubDate>Tue, 17 Apr 2012 13:31:46 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php xls 下載]]></category>
		<category><![CDATA[php 下載文件]]></category>
		<category><![CDATA[phpexcel]]></category>

		<guid isPermaLink="false">http://www.tmper.com/blog/?p=752</guid>
		<description><![CDATA[官方的PHPExcel源程序实在太大了，大概有17M。里面很多功能是我们不需要的。所以我筛选了一下。把excel常用的功能提取出来。详细见附件。文件大小889k。点击下载PHPExcel精简版 如果你想下载完整版，可以到http://phpexcel.codeplex.com/releases/view/45412 下载。 以下是excel功能的基本用法代码示例 [code] 该博文涉及到的代码文件: phpexcel-demo]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/phpexcel-demo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Windows 7自动登录设置</title>
		<link>http://www.tmper.com/blog/windows-7-auto-login/</link>
		<comments>http://www.tmper.com/blog/windows-7-auto-login/#comments</comments>
		<pubDate>Wed, 01 Feb 2012 14:26:28 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[经验]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.tmper.com/blog/?p=743</guid>
		<description><![CDATA[操作过程如下： 1. 在开始菜单搜索框输入 “netplwiz” 按回车，打开高级用户控制面板； [img] 2. 在高级用户控制面板中，取消对”要使用本机，用户需输入用户名和密码(E)”项的勾选； 3. 系统将弹出窗口要求输入默认登录系统的用户名和密码，输入完成后点击确定； [img] 4. 重启Windows 7，即可发现系统自动以默认用户登录。 注：由于Windows 7与Vista的核心相差不大，此方法对Vista同样适用。]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/windows-7-auto-login/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>安装PHP开发环境(window xp版)</title>
		<link>http://www.tmper.com/blog/php-window-xp/</link>
		<comments>http://www.tmper.com/blog/php-window-xp/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 09:00:33 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[apache php mysql]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.tmper.com/blog/?p=734</guid>
		<description><![CDATA[前期准备 开发工具 目前所以代码编码均是UTF-8, 使用 Netbeans和Dreamweaver开发软件编写网站代码. Netbeans可到官方网站http://netbeans.org/ 下载. 安装完成后, 需要修改配置文件使其默认编码是UTF-8 进入Netbeans安装后的所在目录, 打开/etc/netbeans.conf [img] 在netbeans_default_options值中添加以下代码-J-Dfile.encoding=UTF-8 [img] 编辑代码方法, 直接创建一个文档文件, 然后把后缀名修改为.php. 再拖到Netbeans中即可进行编辑. 常用软件 [img] 常用手册 [img] 相关插件 在调试相关html或javascript程序时, 需要用于firebug插件, 该插件结合firefox使用. [img] 安装完成后会在firefox浏览器右上角出现小图标 [img] 点击在下面会出现调整界面 [img] 安装Apache apache目前是web服务器使用最广泛的软件, 可以在Linux系统中安装, 同样都可以在window系统中使用, 此处将使用的是apache的window版. 到apache官网http://httpd.apache.org/download.cgi下载最新稳定版本. Win32 Binary including OpenSSL 0.9.8r (MSI Installer): httpd-2.2.21-win32-x86-openssl-0.9.8r.msi [PGP] [MD5] [SHA1] 安装过程可以选择默认选项. 下面讲解一下安装过程遇到的一些选项或填写项都是一些什么东西吧. [img] Netword Domain与Server Name这2项填写你的默认域名. 不过由于是本地测试, [...]]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/php-window-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用PHP批量转码</title>
		<link>http://www.tmper.com/blog/php-utf8-gbk/</link>
		<comments>http://www.tmper.com/blog/php-utf8-gbk/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 03:33:23 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[批量转码]]></category>

		<guid isPermaLink="false">http://www.tmper.com/blog/%e4%bd%bf%e7%94%a8php%e6%89%b9%e9%87%8f%e8%bd%ac%e7%a0%81/</guid>
		<description><![CDATA[有时候, 需要对某个文件夹中的文件进行编码转换. 不过文件过多, 懒得一个一个地去转换. 所以就用PHP写佐一个简单的批量把文件的编码由UTF-8转换成GBK的小程序. 不过, 考虑到由于文件夹太大. 如果直接使用http形式去执行PHP的话, 可能会出现超时的情况. 所以就改成bat批处理文档的形式去执行PHP了. 要使用批处理执行PHP程序. 要知道如何使用批处理去执行一个PHP文件, 可以参考http://www.tmper.com/blog/php-bat/ 以下部分为实现转换编码的核心程序, 注: 此处贴出的代码, 不能直接copy执行. 只提供算法参考. 读取文件夹中的文件到数组中的函数为: [code]]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/php-utf8-gbk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用批处理执行PHP文件的方法</title>
		<link>http://www.tmper.com/blog/php-bat/</link>
		<comments>http://www.tmper.com/blog/php-bat/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 03:21:49 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php bat]]></category>
		<category><![CDATA[批处理]]></category>

		<guid isPermaLink="false">http://www.tmper.com/blog/?p=686</guid>
		<description><![CDATA[PHP作为服务端的脚本语言, 它通过浏览器访问才会执行. 但是有时候, 如果程序太多复杂或需要的数据太过庞大. 使用浏览器访问的方法经常会出现卡机或超时的情况. 而且这种方式也限制了PHP的使用, 例如, 你当需要使用PHP连续几日都在执行的话, 普通方式是不可行的. 所以我们就需要用到了批处理, 方法见下: 要使用批处理执行PHP程序. 你可以直接按以下方式执行: [code]]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/php-bat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>为你的CSS文件减减肥!</title>
		<link>http://www.tmper.com/blog/lose-weight-for-css-file/</link>
		<comments>http://www.tmper.com/blog/lose-weight-for-css-file/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 20:31:19 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[css压缩]]></category>
		<category><![CDATA[站长工具]]></category>

		<guid isPermaLink="false">http://developer.tmper.com/?p=645</guid>
		<description><![CDATA[可能部份程序员在编辑CSS文件的时候, 并不在意使用换行或空格. 但随着代码越来越多, CSS会慢慢变得越来越大. 这个时候, 你可以删除这些换行符和空格符, 对文件进行减减肥. 使用以下代码可以删除你的当前文件夹的所有CSS文件中多余的空格和换行符. [code]]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/lose-weight-for-css-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpdocument使用方法</title>
		<link>http://www.tmper.com/blog/phpdocument/</link>
		<comments>http://www.tmper.com/blog/phpdocument/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 20:48:12 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpdocument]]></category>

		<guid isPermaLink="false">http://developer.tmper.com/?p=627</guid>
		<description><![CDATA[有时候, 编写程序多了. 有些函数一时记不起是如何使用的. 这个时候就要经常重新打开个源文件查看个函数的使用方法. 后来多了就觉得有D麻烦. 于是就使用了PhpDocument为自己的程序生成了一份帮助文档. 注意: 我的环境是Window 7 + PHP5.2.8, 如果你的系统都是window的, 可以尝试一下. 另外, 在编写程序的时候, 要正确使用好注释. 可参考http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.pkg.html 了解这些注释的使用规范. 在PHP安装文件夹中点击go-pear.bat安装Pear. [img] 安装过程, 一直保持默认并回车就可以了. [img] 然后开始&#62;执行&#62;输入CMD打开CMD命令窗口, 然后进入你的PHP安装文件夹, 输入以下命令: pear install –o PhpDocumentor [img] 即可下载PhpDocument. 完成后, 你可以在PHP安装目录下的PEAR目录中发现多了一个PhpDocument文件夹. [img] 完成之后就可以使用CMD命令执行生成帮助文档啦. 具体命令如下: phpdoc &#8211;parseprivate -o HTML:Smarty:PHP -d E:\project\php_project -t E:\project\php_projectdocs 如果你想生成CHM文件之类或其它格式的话, 把HTML:Smarty:PHP修改成对应的, 目前PhpDocument 1.4.3可以有以下几种格式: [img] 如果你系生成CHM的话, 你需要使用其它软件进行编译. 目前我是使用微软提供的HTML Help Workshop. [...]]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/phpdocument/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux系统中SVN命令使用指南</title>
		<link>http://www.tmper.com/blog/linux-svn-command/</link>
		<comments>http://www.tmper.com/blog/linux-svn-command/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 10:22:28 +0000</pubDate>
		<dc:creator>悠闲hay</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux命令学习]]></category>
		<category><![CDATA[SVN命令]]></category>

		<guid isPermaLink="false">http://developer.tmper.com/?p=580</guid>
		<description><![CDATA[将文件checkout到本地目录svn checkoutpath（path是服务器上的目录） 简写：svn co 例如: [code] 目标[@版本]&#8230;如果指定了版本，将从指定的版本开始查找。 svn cat -r PREV filename &#62; filename (PREV 是上一版本,也可以写具体版本号,这样输出结果是可以提交的)]]></description>
		<wfw:commentRss>http://www.tmper.com/blog/linux-svn-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

