<?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; wordpress</title>
	<atom:link href="http://laomao.info/teg/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://laomao.info</link>
	<description>Zen Cart,Magento&#124;外贸建站技术支持-http://laomao.info</description>
	<lastBuildDate>Fri, 02 Sep 2011 07:33:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>使用 .htaccess 提高 WordPress 的安全性和可用性</title>
		<link>http://laomao.info/archives/1416.html</link>
		<comments>http://laomao.info/archives/1416.html#comments</comments>
		<pubDate>Sat, 28 Aug 2010 11:15:39 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[zen-cart]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=1416</guid>
		<description><![CDATA[1. 保护 .htaccess 自身的安全性阻止用户通过读取和写入 .htaceess 来更改服务器安全性的设置。 &#60;files .htaccess&#62; order allow,deny deny from all &#60;/files&#62; 2. 隐藏服务器的数字签名隐藏服务器的数字签名之后，入侵者将很难有机会找到安全漏洞，因为他们不知道背后的服务器是什么。 ServerSignature Off 3. 限制上传文件的大小这个能够帮助阻止 DoS 攻击（用户通过上传巨大的文件来冲垮服务器）并且能够节约带宽。 LimitRequestBody 10240000 # limit file uploads to 10mb 4. 停止 mod_security 过滤器这是一个可选的设置并且要小心处理。这些指令告诉服务器不要使用 mod_security 过滤器，因为 mod_security 过滤器不允许用户发表含有这些单词 “curl”，“lynx” 或者 “wget” 等等单词的文章。这个看起来有点琐碎，但是这个让一些站点头痛，因为这些单词几乎那些站点每天都会用到。 SecFilterInheritance Off 5. 保护 wp-config.php 文件我们可以通过 .htaccess 文件阻止用户读取和写入 WordPress 的配置文件。这个指令假设 WordPress 是安装在根目录。 &#60;files [...]]]></description>
		<wfw:commentRss>http://laomao.info/archives/1416.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>zencart中wordpress文章调用的时候出现的错误解决方法</title>
		<link>http://laomao.info/archives/1404.html</link>
		<comments>http://laomao.info/archives/1404.html#comments</comments>
		<pubDate>Thu, 19 Aug 2010 09:40:35 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[Zen cart]]></category>
		<category><![CDATA[互联网]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[WordPress文章调用]]></category>
		<category><![CDATA[zen cart 文章调用]]></category>
		<category><![CDATA[zen-cart]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=1404</guid>
		<description><![CDATA[如果你的网站曾经安装过tabbed_products这个插件的话，你再使用调用可能会出现如下的错误。之所以会出现这个错误，是那个插件中有一句话定义了wordpress的物理路径，如果你已经出现了如下的错误， Warning: require_once(/Warning: require_once(/var/www/zc138/wordpress//wp-includes/classes.php)var/www/zc138/wordpress//wp-includes/classes.php) 就要修改一下那个文件了，路径为： /public_html/includes/functions/extra_functions/class.rlwp.php 打开class.rlwp.php这个文件，找到14行， Line #14 : define (&#8216;ABSPATH&#8217;,'/var/www/zc138/wordpress/&#8217;); // abs-path to wp 修改成你的博客安装路径。。 我的是如下的样子的， define (&#8216;ABSPATH&#8217;,'/home/*****/public_html/blog/&#8217;);   // abs-path to wp 仅供参考！ 关于zen cart中WordPress的调用方法可以参考如下文章：http://laomao.info/?s=WordPress  ]]></description>
		<wfw:commentRss>http://laomao.info/archives/1404.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>老猫博客-zen-cart wordpress 文章调用只显示首页</title>
		<link>http://laomao.info/archives/1113.html</link>
		<comments>http://laomao.info/archives/1113.html#comments</comments>
		<pubDate>Sun, 11 Apr 2010 10:31:36 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[Zen cart]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[woz]]></category>
		<category><![CDATA[zen-cart]]></category>
		<category><![CDATA[博客调用]]></category>
		<category><![CDATA[文章调用]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=1113</guid>
		<description><![CDATA[安装woz失败之后，在自己的网站了 代码，以让网站首页能调用wordpress文章， 以下为代码内容,自己的学习记录！ 其中黑色部分，是定义让文章连接只显示在首页，如果你想让他不在首页显示，可以这样写this_is_home_page ！=  1,这样就是只让他显示在除了首页的部分！ 以下让文章连接只显示在首页为原代码 &#60;code&#62;&#60;?php if ($this_is_home_page) { ?&#62; &#60;div&#62;&#60;?php require(&#8216;./博客文件夹的名字/wp-blog-header.php&#8217;); ?&#62; &#60;?php $rand_posts = get_posts(&#8216;numberposts=8&#38;orderby=rand&#8217;); foreach( $rand_posts as $post ) : ?&#62; &#60;li align=&#8221;left&#8221;&#62;&#60;a href=&#8221;&#60;?php the_permalink(); ?&#62;&#8221;&#62;&#60;?php the_title(); ?&#62;&#60;/a&#62;&#60;/li&#62; &#60;?php endforeach; ?&#62; &#60;/div&#62; &#60;? } ?&#62; &#60;/code&#62; 老猫博客：http://laomao.info]]></description>
		<wfw:commentRss>http://laomao.info/archives/1113.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>老猫博客-zen-cart的WOZ插件能用么？</title>
		<link>http://laomao.info/archives/1111.html</link>
		<comments>http://laomao.info/archives/1111.html#comments</comments>
		<pubDate>Tue, 06 Apr 2010 17:00:14 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[Zen cart]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[woz]]></category>
		<category><![CDATA[zen-cart]]></category>
		<category><![CDATA[老猫]]></category>
		<category><![CDATA[老猫博客]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=1111</guid>
		<description><![CDATA[woz比较直白的是：wordpress on zen-cart 非常好的一个概念 但是我安装了这几天发现，网络上发布的一些安装教程，没有一个能用的，非常纳闷的不知为何！ 不知道哪位高手，能指教一下么？ 老猫博客：http://laomao.info]]></description>
		<wfw:commentRss>http://laomao.info/archives/1111.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Zen-cart 调用WordPress文章方法</title>
		<link>http://laomao.info/archives/1083.html</link>
		<comments>http://laomao.info/archives/1083.html#comments</comments>
		<pubDate>Tue, 23 Mar 2010 13:29:50 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[woz]]></category>
		<category><![CDATA[zen-cart]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=1083</guid>
		<description><![CDATA[Zen-cart 有个WOZ的插件，作用就是调用WordPress 的文章，将这个作为新闻系统来用。 其实，通过WordPress自带的函数调 用，完全可以达到同样的作用，下面介绍两种方法，一种是调用最新的文章；另一种是随机调用Blog文章。 首先，把WordPress安装到zen-cart一个子目录里，设置好固定连接等 一、调 用最新文章 在合适的地方加入下面两行代码,一般会放在产品页面(/includes/templates/你使用的模板文件名 /templates/tpl_product_info_display.php &#60;?php require(&#8216;./wordpress所在目录 /wp-blog-header.php&#8217;); ?&#62; 这行调用WordPress自 带函数，目录地址要随着WordPress安装目录变化而变化.如果你的Zen- cart不是根目录，那么前面就要打两个.['../wordpress所在目录 /wp-blog-header.php'] &#60;?php get_archives(&#8216;postbypost&#8217;, 10); ?&#62; 这里的10指调用的最新文章数量 二、随机 调用Blog文章 随机调用4篇Blog文章 &#60;?php require(&#8216;./wordpress所在目录/wp-blog- header.php&#8217;); ?&#62; &#60;?php $rand_posts = get_posts(&#8216;numberposts=4&#38;orderby=rand&#8217;); foreach( $rand_posts as $post ) : ?&#62; &#60;li&#62;&#60;a href=&#8221;&#60;?php the_permalink(); ?&#62;&#8221;&#62;&#60;?php the_title(); ?&#62;&#60;/a&#62;&#60;/li&#62; &#60;?php endforeach; ?&#62; 原博地址：Zen-cart 调用WordPress文章方法]]></description>
		<wfw:commentRss>http://laomao.info/archives/1083.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DEDECMS果然很猛很强大</title>
		<link>http://laomao.info/archives/1072.html</link>
		<comments>http://laomao.info/archives/1072.html#comments</comments>
		<pubDate>Sun, 07 Mar 2010 08:24:36 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[互联网]]></category>
		<category><![CDATA[dedecms]]></category>
		<category><![CDATA[joomla]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=1072</guid>
		<description><![CDATA[最近要帮哥哥整一个企业演示站，发布一些企业图片之类的东西，企业介绍，偶尔再发点新闻！ 虽然，不难，但是想找个合适的模板实在是有点纠结！ 先是使用joomla，模板有点少，或者适合中文的少！ 后来使用wordpress，发现，现成的模板也不多！ 最后听群里的朋友说 使用DEDECMS，后来查了一下，模板挺多，试着研究了几天，发现着实强大， 不过上手有点慢！官方给的教程太含蓄，不明不白的，有点含糊其辞！ 不过 等一上手，就发现挺简单的了！呵呵！ 有兴趣的试试，目前的演示是http://fm365.net.ru/dede/]]></description>
		<wfw:commentRss>http://laomao.info/archives/1072.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Akismet：Byebye!spam!</title>
		<link>http://laomao.info/archives/1060.html</link>
		<comments>http://laomao.info/archives/1060.html#comments</comments>
		<pubDate>Wed, 10 Feb 2010 06:49:32 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[Akismet]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[垃圾评论]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=1060</guid>
		<description><![CDATA[spam!goodbye!I never want to see you again 推荐大家开启：Akismet，这个插件，目前版本的wordpress已经自带此插件，开启只需要简单注册一下 就行了！基本上可以拦截大部分的垃圾评论]]></description>
		<wfw:commentRss>http://laomao.info/archives/1060.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>最近wordpress的后台怎么这么慢滴？</title>
		<link>http://laomao.info/archives/746.html</link>
		<comments>http://laomao.info/archives/746.html#comments</comments>
		<pubDate>Tue, 03 Nov 2009 07:34:00 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=746</guid>
		<description><![CDATA[难道服务器慢了么？一直使用温州地平线的空间还是不错滴，不知道最近为何？ 打开后台出奇的慢！ 打开博客到是很快！研究来研究去也不知道为何？纳闷中]]></description>
		<wfw:commentRss>http://laomao.info/archives/746.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 随机日志调用代码</title>
		<link>http://laomao.info/archives/529.html</link>
		<comments>http://laomao.info/archives/529.html#comments</comments>
		<pubDate>Thu, 20 Aug 2009 06:59:52 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[随机日志]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=529</guid>
		<description><![CDATA[Google 首页有“手气不错”按钮，如果需要为 WordPress 添加随机文章链接，简单的代码就能实现，并不需要插件支持。每次刷新页面，链接会自动更新，演示效果请点击芒果首页的蓝色按钮。 随机文章代码如下： &#60;?php $rand_post=get_posts('numberposts=1&#38;orderby=rand'); foreach($rand_post as $post) : ?&#62;&#60;a href="&#60;?php the_permalink(); ?&#62;"&#62;随机&#60;/a&#62;&#60;?php endforeach; ?&#62; 以上代码使用 WordPress 默认函数 get_posts 中的 orderby=rand 属性来随机选取文章链接。但如果需要调用多篇文章并以列表形式展示，则代码如下： &#60;?php $rand_post = get_posts('numberposts=10&#38;orderby=rand'); foreach( $rand_post as $post ) : ?&#62; &#60;li&#62;&#60;a href="&#60;?php the_permalink(); ?&#62;" title="&#60;?php the_title(); ?&#62;"&#62;&#60;?php the_title(); ?&#62;&#60;/a&#62;&#60;/li&#62; &#60;?php endforeach; ?&#62; 以上代码随机选择 10 篇文章，列表样式可以根据需要自定义。 转载自 &#60;a href=&#8221;http://www.mangguo.org/wordpress-random-post-call-code/&#8221; title=&#8221;WordPress 随机日志调用代码&#8221; [...]]]></description>
		<wfw:commentRss>http://laomao.info/archives/529.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>一段JS代码,让你的WordPress支持简繁转换</title>
		<link>http://laomao.info/archives/525.html</link>
		<comments>http://laomao.info/archives/525.html#comments</comments>
		<pubDate>Thu, 20 Aug 2009 05:58:18 +0000</pubDate>
		<dc:creator>老猫</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[繁简转换]]></category>

		<guid isPermaLink="false">http://laomao.info/?p=525</guid>
		<description><![CDATA[上网的时候我们会发现很多网站都有繁体版本，通过导航栏上的一个按钮就可以把网页上的文字从简体中文变成繁体中文。很多主机商也提供类似于“简繁通”之类的产品，当然，是需要收费的。那么，怎么让我们的博客不用花钱也能支持简繁转换呢？ 我们看到国内的很多博客用户都在自己的主页上添加了Google的翻译挂件，通过简单的设置让Google来为我们把网页从简体中文翻译成繁体中文或英语。而我介绍的这个简繁转换，是通过js的方式实现的。下面我就以WordPress为例说明一下： 1、下载文件tw_cn.js，下载方式：右键另存为；备用地址 2、修改变量。拥记事本打开文件，对前几行有标注的变量进行更改； 3、上传文件tw_cn.js到网站根目录； 4、修改主题，在你想要显示简繁转换按钮的地方加上代码： &#60;a id=&#8221;translateLink&#8221;&#62;繁體&#60;/a&#62; 5、然后在footer里加上如下代码： &#60;script type=&#8221;text/javascript&#8221; src=&#8221;http://yourdomainname.com/tw_cn.js&#8221; mce_src=&#8221;http://yourdomainname.com/tw_cn.js&#8221;&#62;&#60;/script&#62; &#60;script type=&#8221;text/javascript&#8221;&#62; var defaultEncoding = 0; //默认是否繁体，0-简体，1-繁体 var translateDelay = 0; //延迟时间,若不在前, 要设定延迟翻译时间, 如100表示100ms,默认为0 var cookieDomain = &#8220;http://yourdomainname.com&#8221;; //Cookie地址, 一定要设定, 通常为你的网址 var msgToTraditionalChinese = &#8220;繁體&#8221;; //默认切换为繁体时显示的中文字符 var msgToSimplifiedChinese = &#8220;简体&#8221;; //默认切换为简体时显示的中文字符 var translateButtonId = &#8220;translateLink&#8221;; //默认互换id translateInitilization(); &#60;/script&#62;]]></description>
		<wfw:commentRss>http://laomao.info/archives/525.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

