<?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>&#62;William&#124;伍星&#124;小超人&#60; &#187; Wordpress</title>
	<atom:link href="http://eoc.hk/archives/category/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://eoc.hk</link>
	<description>Young superhuman, does my sunlight shines you??</description>
	<lastBuildDate>Sat, 04 Sep 2010 09:43:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>15个扩展装备你的Google Chrome</title>
		<link>http://eoc.hk/archives/560.html</link>
		<comments>http://eoc.hk/archives/560.html#comments</comments>
		<pubDate>Thu, 22 Jul 2010 14:03:47 +0000</pubDate>
		<dc:creator>fivestar</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://eoc.hk/?p=560</guid>
		<description><![CDATA[Chrome Extensions被G FW和谐d .如果你想正常实用Chrome扩展中心请修改Hosts,添加以下内容. #Google Chrome 72.14.203.101 chrome.google.com 72.14.203.101 clients2.google.com 不得不说,Chrome的同步功能给我们的重装省却了很多时间. 这些是我喜欢Google Chrome的一个重要原因… OK,下面推荐扩展. 1.Google Mail Checker Plus 加强型Gmail提醒扩展.支持Google Apps,好用. 2.RSS Subscription Extension Google做的Rss订阅扩展. 3.AdThwart 好用的广告过滤扩展. 4.LastPass 密码保存,如果有两个以上电脑的话这个就很有用了… 5.IE Tab Classic Only Windows的,都知道是干嘛的吧… 6.FlagChrome 看访问的网站IP,所在国家以及PR和排名的. 7.Proxy Switchy! 代理设置扩展,一个在Mac下让我又爱又恨的扩展.配合Autoproxy2pac和SSH可以实现自由浏览网络. 不知道这个软件在Mac下的代理机制是怎么做的,我这两次重装Chrome都是因为这个扩展. 8.Eye Dropper 显然,这是一个给网站开发者做的网页取色器,蛮好用的… 9.Chrowety 这是我目前在Chrome上用到最好的Chrome Twitter扩展… 10.BoogleMarks Google Bookmarks改版后,我就扔掉了Delicious,这个扩展就是管理试用Google Bookmarks的,好用… 11.Monster 给开发者用的.Monster 是 Alipay UED 推出的网站代码分析、质量检测及评分的浏览器扩展，它能智能分析CSS、JS、HTML内容并生动形象展示网页得分情况(类似YSlow)。 [...]]]></description>
		<wfw:commentRss>http://eoc.hk/archives/560.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>如何控制 WordPress 文章标题的长度</title>
		<link>http://eoc.hk/archives/87.html</link>
		<comments>http://eoc.hk/archives/87.html#comments</comments>
		<pubDate>Fri, 29 Jan 2010 22:12:23 +0000</pubDate>
		<dc:creator>fivestar</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[截取]]></category>
		<category><![CDATA[文章标题]]></category>
		<category><![CDATA[长度]]></category>

		<guid isPermaLink="false">http://eoc.hk/?p=87</guid>
		<description><![CDATA[虽然大多数时候我们不需要去管 WordPress 文章标题有多长，因为一般比较长的标题会自动分为两行显示。但是有时候我们为了控制模板的样式整洁，希望文章标题只显示成一行，比如 D&#38;Z Theme Pro CP 主题首页幻灯片右侧的“最新的一篇日志”，这里我首先使用固定长度的摘要来控制文章长度，但是如果有时候文章标题过长而显示成两行的时候，文章摘要就会出现“溢出”。这个时候如果能让标题的长度固定为一行，就能让这里的样式看起来更整洁。在好友 Lee 的帮助下，我解决了这个问题。  其实解决这个问题很简单，只需要一句话就行了。在 WordPress 里，我们使用  &#60;?php the_title(); ?&#62; 来输出文章标题，与其相关的还有一个函数：  &#60;?php get_the_title(); ?&#62; 简单的说说两者的关系，get_the_title() 返回值是一个字符串（文章标题），而 the_title() 就是该字符串通过 echo 输出后的值。 实际上就是 WordPress 自己在输出文章标题时进行了简化，直接用  &#60;?php the_title(); ?&#62; 代替了  &#60;?php echo get_the_title(); ?&#62; 除此之外这里还需要用到另外一个函数：mb_strimwidth(string str, int start, int width, [string trimmarker], [string encoding]);  mb_strimwidth() truncates string str to specified width. It [...]]]></description>
		<wfw:commentRss>http://eoc.hk/archives/87.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
