<?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>UKoom &#187; Wordpress</title>
	<atom:link href="http://www.ukoom.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ukoom.com</link>
	<description>Documentum, SharePoint, Alfresco, ECM...</description>
	<lastBuildDate>Tue, 25 Oct 2011 15:11:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>WordPress 显示摘要信息</title>
		<link>http://www.ukoom.com/wordpress-%e6%98%be%e7%a4%ba%e6%91%98%e8%a6%81%e4%bf%a1%e6%81%af.htm</link>
		<comments>http://www.ukoom.com/wordpress-%e6%98%be%e7%a4%ba%e6%91%98%e8%a6%81%e4%bf%a1%e6%81%af.htm#comments</comments>
		<pubDate>Mon, 30 Nov 2009 02:57:06 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Computer Skill]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=871</guid>
		<description><![CDATA[为什么要显示摘要信息？ 增加用户体验，使用户快速了解文章信息，决定是否阅读，在单位屏幕空间内显示更多的文章，减少用户不断的下拉屏幕的动作； 节省带宽，加快网站访问速度，当然，也节省了搜索引擎spider的带宽付出； 避免搜索引擎认为的“网页复制”问题。 关于第三点，很多博客默认设置为显示全文，并未受到搜索引擎“复制网页”的惩罚。显示摘要为了解决搜索引擎的“复制网页”问题，是一种“精益求精”的行为。我倒认为显示摘要信息重点是基于前面两个吧！ 关于“文章列表”页面 内 容网站的结构一般是“文章列表—-&#62;文章内容”，对于搜索引擎来说，一个“无序”的“文章列表”对其索引是没有意义的，只有“文章内容”才 是有意义的。为什么要说“无序”呢？因为对于一个专题性比较强的“链接集合”，对于用户来说是有“用处”的，这体现了制作网页者的思考和整理过程。诚然， 搜索引擎对于某个关键字的SERP也提供了这样的一个“链接集合”，但是它完美吗？它只是“关键字”的集合，一个关键字可以引申很多的关键字，这要人类的 “发散性思维”或者“相关联想”加上其本身的知识结构才能做到，机器算法的搜索引擎是帮不到的。这就能搜索引擎为啥要收录那些很多链接的页面，如果它自身 有人类的智慧，早就把文章列表全部noindex。 我看到有的文章为了解决“复制网页”问题，他们建议在网页的meta里面加上robots，对这些“列表网页”加上 “follow,noindex”，意思是搜索引擎的机器人可以爬行，但不要索引这个网页，可惜百度是不支持这个的，对于中文网页来说，只能弃用这种方 式。直接在robots文件里面设置，发现很难。方法就只有一个了，对“文章列表”页采取显示摘要的方式。 WordPress文章列表页显示摘要信息 网上有很多wordpress显示摘要信息的插件，都不是太好，如“点石博客”就采取了，他的功能主要是截取第一段作为摘要信息，这个有两大缺陷： 第一段并不能完全说明文章的内容概要，当然可以通过写手有意识地写作可以达到，但有些时候会发现特别别扭； 在摘要里面无法显示html格式的东西，如链接和图片； rss无法全文输出。 其实wordpress本身已经提供了这个功能，可以在选项Optional Excerpt里面填入相关html代码，然后在模板里面修改一下即可。这样就做到了摘要自由撰写，rss全文输出。（不推荐使用more标签，因为它不 自由，只能截前面，不能截中间或者最后的文字。） 模板修改代码示例： 要修改的三个文件： index.php 首页文件以及首页开始的上一页下一页等页面； archive.php 存档页，如按月份、分类存档等； search.php 搜索结果页。 上述页面里面遇到 &#60;?php  the_content(__(’(more…)’)); ?&#62; 改成 &#60;?php if(!is_single()) { the_excerpt(); } else { the_content(__(’(more…)’)); } ?&#62; 说明，the_excerpt()表示显示摘要信息，the_content()表示显示全文，the_content(__(’(more…)’))表示启用more标签。 打开WordPress的wp-includes\formatting.php，找到其中的function wp_trim_excerpt(about line 900)，将如下代码 $excerpt_length = 55; $words [...]]]></description>
			<content:encoded><![CDATA[<p><strong>为什么要显示摘要信息？</strong></p>
<ol>
<li>增加用户体验，使用户快速了解文章信息，决定是否阅读，在单位屏幕空间内显示更多的文章，减少用户不断的下拉屏幕的动作；</li>
<li>节省带宽，加快网站访问速度，当然，也节省了搜索引擎spider的带宽付出；</li>
<li>避免搜索引擎认为的“网页复制”问题。</li>
</ol>
<p>关于第三点，很多博客默认设置为显示全文，并未受到搜索引擎“复制网页”的惩罚。显示摘要为了解决搜索引擎的“复制网页”问题，是一种“精益求精”的行为。我倒认为显示摘要信息重点是基于前面两个吧！</p>
<p><strong>关于“文章列表”页面</strong></p>
<p>内 容网站的结构一般是“文章列表—-&gt;文章内容”，对于搜索引擎来说，一个“无序”的“文章列表”对其索引是没有意义的，只有“文章内容”才 是有意义的。为什么要说“无序”呢？因为对于一个专题性比较强的“链接集合”，对于用户来说是有“用处”的，这体现了制作网页者的思考和整理过程。诚然， 搜索引擎对于某个关键字的SERP也提供了这样的一个“链接集合”，但是它完美吗？它只是“关键字”的集合，一个关键字可以引申很多的关键字，这要人类的 “发散性思维”或者“相关联想”加上其本身的知识结构才能做到，机器算法的搜索引擎是帮不到的。这就能搜索引擎为啥要收录那些很多链接的页面，如果它自身 有人类的智慧，早就把文章列表全部noindex。</p>
<p>我看到有的文章为了解决“复制网页”问题，他们建议在网页的meta里面加上robots，对这些“列表网页”加上 “follow<span><a href="http://www.bigdogonline.cn/" target="_blank">,</a></span>noindex”，意思是搜索引擎的机器人可以爬行，但不要索引这个网页，可惜百度是不支持这个的，对于中文网页来说，只能弃用这种方 式。直接在robots文件里面设置，发现很难。方法就只有一个了，对“文章列表”页采取显示摘要的方式。</p>
<p><strong><a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">WordPress</a>文章列表页显示摘要信息</strong></p>
<p>网上有很多<a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">wordpress</a>显示摘要信息的插件，都不是太好，如“点石博客”就采取了，他的功能主要是截取第一段作为摘要信息，这个有两大缺陷：</p>
<ol>
<li>第一段并不能完全说明文章的内容概要，当然可以通过写手有意识地写作可以达到，但有些时候会发现特别别扭；</li>
<li>在摘要里面无法显示html格式的东西，如链接和图片；</li>
<li>rss无法全文输出。</li>
</ol>
<p>其实<a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">wordpress</a>本身已经提供了这个功能，可以在选项Optional Excerpt里面填入相关html代码，然后在模板里面修改一下即可。这样就做到了摘要自由撰写，rss全文输出。（不推荐使用more标签，因为它不 自由，只能截前面，不能截中间或者最后的文字。）</p>
<p><strong>模板修改代码示例：</strong></p>
<p>要修改的三个文件：</p>
<p>index.php 首页文件以及首页开始的上一页下一页等页面；</p>
<p>archive.php 存档页，如按月份、分类存档等；</p>
<p>search.php 搜索结果页。</p>
<p>上述页面里面遇到</p>
<ol title="Double click to hide line number." ondblclick="linenumber(this)">
<li><span>&lt;?php  the_content(__(’(more…)’)); ?&gt; </span></li>
</ol>
<p>改成</p>
<ol title="Double click to hide line number." ondblclick="linenumber(this)"><span></p>
<li>&lt;?php if(!is_single()) {</li>
<li>the_excerpt();</li>
<li>} else {</li>
<li>the_content(__(’(more…)’));</li>
<li>} ?&gt;</li>
<p></span></ol>
<p>说明，the_excerpt()表示显示摘要信息，the_content()表示显示全文，the_content(__(’(more…)’))表示启用more标签。</p>
<hr />打开<a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">WordPress</a>的wp-includes\formatting.php，找到其中的function wp_trim_excerpt(about line 900)，将如下代码</p>
<p>$excerpt_length = 55;<br />
$words = explode(’ ‘, $text, $excerpt_length + 1);<br />
if (count($words) &gt; $excerpt_length) {<br />
array_pop($words);<br />
array_push($words, ‘[…]’);<br />
$text = implode(’ ‘, $words);<br />
}</p>
<p>更改为</p>
<p>$excerpt_length = 3;<br />
$words = explode(’\n’, $text, $excerpt_length + 1);<br />
if (count($words) &gt; $excerpt_length) {<br />
array_pop($words);<br />
array_push($words, ‘&lt;p /&gt;……&lt;a href=”’ . get_permalink($post-&gt;ID) . ‘”&gt;[阅读全文]&lt;/a&gt;’);<br />
$text = implode(’\n’, $words);<br />
}</p>
<p>就可以了，<a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">WordPress</a>默认的生成摘要是用空格来判断的，就是取到55个空格结束，这适用于西方采用空格作为词间隔的语言，但中文是不分词的，所以我使用读取3行的方式，取前3行，对哪种语言都是适用的。</p>
<hr />在<a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">WordPress</a>系统中，默认的首页和目录页使用的书全文输出，这对于文章内容较长的博客来说很不方面，下面我介绍一个方法，可以简单的实现在<a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">WordPress</a>首页和目录页显示摘要而非全文。<br />
首先找到wp-content/themes下你使用的模板目录，查找目录中的文件，如果有home.php则修改home.php，没有的话就修改index.php，找到&lt;?php the_content(); ?&gt;这一行，将其修改为以下代码：<br />
<span>&lt;?php if (function_exists(’the_excerpt_reloaded’)) { ?&gt;<br />
&lt;?php the_excerpt_reloaded(120, ‘&lt;p&gt;&lt;a&gt;&lt;ul&gt;&lt;ol&gt;&lt;li&gt;&lt;img&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;em&gt;&lt;strong&gt;&lt;div&gt;’, ‘content’, FALSE, ”, FALSE, 1, TRUE); ?&gt;<br />
&lt;?php } else { ?&gt;<br />
&lt;?php the_excerpt(); ?&gt;<br />
&lt;?php } ?&gt;<br />
&lt;div class=”details”&gt;&lt;div class=”inside”&gt;&lt;?php comments_popup_link(’No Comments’, ‘1 Comment’, ‘% Comments’); ?&gt; so far | &lt;a href=”&lt;?php the_permalink() ?&gt;”&gt;Read On »&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;</span><br />
这时，你的<a title="标签 wordpress 下的日志" rel="nofollow" href="http://www.newsundays.com/?tag=wordpress">WordPress</a>首页和分类就显示为摘要信息而不是全文信息了。<br />
这段代码可以使用一个插件the_excerpt_reloaded，也可以不使用，我以前就被误导了，其实不安装the_excerpt_reloaded插件这段代码也可以输出摘要，如果安装了插件，则会使用上面的函数输出摘要。</p>
<p>This article is from http://www.newsundays.com/?p=86&amp;&amp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-%e6%98%be%e7%a4%ba%e6%91%98%e8%a6%81%e4%bf%a1%e6%81%af.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress plugin Akismet</title>
		<link>http://www.ukoom.com/wordpress-plugin-akismet.htm</link>
		<comments>http://www.ukoom.com/wordpress-plugin-akismet.htm#comments</comments>
		<pubDate>Fri, 19 Dec 2008 00:02:23 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Documentum]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=310</guid>
		<description><![CDATA[Akismet is a spam-fighting service that is different from others such as Spam Karma 2 or Bad Behavior in that it checks the content of the comment anonymously with an online server, to determine whether it is spam or not. The Akismet WordPress plugin ships with WordPress 2.0 and later by default, but if you [...]]]></description>
			<content:encoded><![CDATA[<p>Akismet is a spam-fighting service that is different from others such as Spam Karma 2 or Bad Behavior in that it checks the content of the comment anonymously with an online server, to determine whether it is spam or not.<br />
The Akismet WordPress plugin ships with WordPress 2.0 and later by default, but if you don&#8217;t have it for some reason, you can download it from the official page.<br />
After downloading, go to the Plugins page in your administration panel, and click the Activate link in the same row as the Akismet plugin entry. After you&#8217;ve activated it, it will come up with a box below the main navigation saying that the Akismet plugin is not active, and you need to enter your WordPress.com API key.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-plugin-akismet.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress plugin sitemap generators</title>
		<link>http://www.ukoom.com/wordpress-plugin-sitemap-generators.htm</link>
		<comments>http://www.ukoom.com/wordpress-plugin-sitemap-generators.htm#comments</comments>
		<pubDate>Sun, 16 Nov 2008 15:31:54 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Documentum]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=110</guid>
		<description><![CDATA[I use two wordpress plugins to generate the sitemap. One is Google sitemap generator, the other is Dagon design sitemap generator. The former is more popular, the latter is easy to install and customize. The benefits with these two generators are tremendous when it comes to internal linking, helping make a site user friendly, and [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_166" class="wp-caption alignnone" style="width: 229px"><a href="http://www.ukoom.com/wp-content/uploads/2008/11/site-map.jpg"><img class="size-medium wp-image-166" title="site-map" src="http://www.ukoom.com/wp-content/uploads/2008/11/site-map-219x300.jpg" alt="site-map" width="219" height="300" /></a><p class="wp-caption-text">site-map</p></div>
<p>I use two wordpress plugins to generate the sitemap. One is Google sitemap generator, the other is Dagon design sitemap generator. The former is more popular, the latter is easy to install and customize.<br />
The benefits with these two generators are tremendous when it comes to internal linking, helping make a site user friendly, and giving a bonus for search engines to crawl.<br />
For the Dagon desgin sitemap generator:<br />
Simply add the following line to a WordPress page (where you would like the sitemap to display):</p>
<p>&lt;!&#8211; ddsitemapgen &#8211;&gt;</p>
<p>Note: For those of you using the new rich-text editor &#8211; be sure to click the ‘html’ button to edit the page source directly. Otherwise WordPress will wrap code tags around the line which generates the sitemap and it will not work properly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-plugin-sitemap-generators.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress plugin Flash Video Player</title>
		<link>http://www.ukoom.com/wordpress-plugin-flash-video-player.htm</link>
		<comments>http://www.ukoom.com/wordpress-plugin-flash-video-player.htm#comments</comments>
		<pubDate>Sun, 16 Nov 2008 15:18:23 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Documentum]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=108</guid>
		<description><![CDATA[There are many video plugin for WordPress. My recommendation is Flash Video Player. It is convenient to add youtube video by using it. [flashvideo filename=http://www.youtube.com/watch?v=sSHVQ2m1Bdk /] Here are some useful links: Please refer to the comprehensive list of options for a complete list of what is configurable for this plugin. Read the F.A.Q. if you’re [...]]]></description>
			<content:encoded><![CDATA[<p>There are many video plugin for WordPress. My recommendation is Flash Video Player.</p>
<p>It is convenient to add youtube video by using it.<br />
[flashvideo filename=http://www.youtube.com/watch?v=sSHVQ2m1Bdk /]<br />
Here are some useful links:</p>
<p>Please refer to the <a href="http://mac-dev.net/blog/flash-video-player-plugin-customization/">comprehensive list of options</a> for a complete list of what is configurable for this plugin. <a href="http://www.mac-dev.net/blog/frequently-asked-questions/">Read the F.A.Q.</a> if you’re having trouble. Chances are your question has already been answered. Also check out the <a href="http://mac-dev.net/blog/flash-video-player-plugin-custom-color-examples/">sample color combinations</a> for the player to help get you started. Finally, there is a <a href="http://mac-dev.net/blog/forum/">forum</a> available for any questions, problems or feature requests that might arise while using the plugin.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-plugin-flash-video-player.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress plugin – addbookmarks</title>
		<link>http://www.ukoom.com/wordpress-plugin-%e2%80%93-addbookmarks.htm</link>
		<comments>http://www.ukoom.com/wordpress-plugin-%e2%80%93-addbookmarks.htm#comments</comments>
		<pubDate>Sun, 16 Nov 2008 07:49:07 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Documentum]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=102</guid>
		<description><![CDATA[注意，widget中的wp_addbookmarks的图片超级链接的html代码是被嵌套在&#60;div class=”wp_addbookmarks”&#62;&#60;/div&#62;块中。通过定义该div块的css来修改html显示效果。 如果模板不支持widget，或在除侧边栏以外放置按钮，请修改模板，在拟放置添加按钮的位置，加入如下代码。可到插件文件夹中的readme文件中复制下面代码。 注，为了方便用户自定义显示效果，本插件仅输出图片超级链接的html代码，您可以自行将该html代码嵌套在&#60;div&#62;块中，然后通过定义该&#60;div&#62;的css来控制显示效果。]]></description>
			<content:encoded><![CDATA[<p><span style="font-family: 宋体;" lang="ZH-CN">注意，</span>widget<span style="font-family: 宋体;" lang="ZH-CN">中的</span>wp_addbookmarks<span style="font-family: 宋体;" lang="ZH-CN">的图片超级链接的</span>html<span style="font-family: 宋体;" lang="ZH-CN">代码是被嵌套在</span>&lt;div class=”wp_addbookmarks”&gt;&lt;/div&gt;<span style="font-family: 宋体;" lang="ZH-CN">块中。通过定义该</span>div<span style="font-family: 宋体;" lang="ZH-CN">块的</span>css<span style="font-family: 宋体;" lang="ZH-CN">来修改</span>html<span style="font-family: 宋体;" lang="ZH-CN">显示效果。</span><span lang="ZH-CN"> </span></p>
<p><span style="font-family: 宋体;" lang="ZH-CN">如果模板不支持</span>widget<span style="font-family: 宋体;" lang="ZH-CN">，或在除侧边栏以外放置按钮，请修改模板，在拟放置添加按钮的位置，加入如下代码。可到插件文件夹中的</span>readme<span style="font-family: 宋体;" lang="ZH-CN">文件中复制下面代码。</span><span lang="ZH-CN"> </span><span class="copyright-831"><a title="ThinkAgain原创文章|Originally wrote by Thinkagain" href="http://www.thinkagain.cn/archives/831.html"><span style="text-decoration: none;"></span></a></span></p>
<div id="attachment_103" class="wp-caption alignnone" style="width: 310px"><a href="http://www.ukoom.com/wp-content/uploads/2008/11/wp_addbookmarks.jpg"><img class="size-medium wp-image-103" title="wp_addbookmarks" src="http://www.ukoom.com/wp-content/uploads/2008/11/wp_addbookmarks-300x40.jpg" alt="wp_addbookmarks" width="300" height="40" /></a><p class="wp-caption-text">wp_addbookmarks</p></div>
<p><!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600"  o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f"  stroked="f"> <v:stroke joinstyle="miter" /> <v:formulas> <v:f eqn="if lineDrawn pixelLineWidth 0" /> <v:f eqn="sum @0 1 0" /> <v:f eqn="sum 0 0 @1" /> <v:f eqn="prod @2 1 2" /> <v:f eqn="prod @3 21600 pixelWidth" /> <v:f eqn="prod @3 21600 pixelHeight" /> <v:f eqn="sum @0 0 1" /> <v:f eqn="prod @6 1 2" /> <v:f eqn="prod @7 21600 pixelWidth" /> <v:f eqn="sum @8 21600 0" /> <v:f eqn="prod @7 21600 pixelHeight" /> <v:f eqn="sum @10 21600 0" /> </v:formulas> <v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect" /> <o:lock v:ext="edit" aspectratio="t" /> </v:shapetype><v:shape id="_x0000_i1025" type="#_x0000_t75" alt="wp_addbookmarks widget代码"  style='width:298.5pt;height:40.5pt'> <v:imagedata src="file:///C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\msohtml1\01\clip_image001.jpg"   o:href="http://www.thinkagain.cn/wp-content/uploads/2007/10/wp_addbookmarks.jpg" /> </v:shape><![endif]--><!--[if !vml]--><img src="file:///C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/msohtml1/01/clip_image001.jpg" border="0" alt="wp_addbookmarks widget代码" width="165" height="17" /></p>
<p><span style="font-family: 宋体;" lang="ZH-CN">注，为了方便用户自定义显示效果，本插件仅输出图片超级链接的</span>html<span style="font-family: 宋体;" lang="ZH-CN">代码，您可以自行将该</span>html<span style="font-family: 宋体;" lang="ZH-CN">代码嵌套在</span>&lt;div&gt;<span style="font-family: 宋体;" lang="ZH-CN">块中，然后通过定义该</span>&lt;div&gt;<span style="font-family: 宋体;" lang="ZH-CN">的</span>css<span style="font-family: 宋体;" lang="ZH-CN">来控制显示效果。</span><span lang="ZH-CN"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-plugin-%e2%80%93-addbookmarks.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress plugin &#8211; ThickBox</title>
		<link>http://www.ukoom.com/wordpress-plugin-thickbox.htm</link>
		<comments>http://www.ukoom.com/wordpress-plugin-thickbox.htm#comments</comments>
		<pubDate>Wed, 12 Nov 2008 10:33:23 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Documentum]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=86</guid>
		<description><![CDATA[ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library.Its function is to show a single image, multiple images, inline content, iframed content, or content served through Ajax in a bybrid modal&#8230; How to Once you activate the plugin it’ll include the CSS and JavaScript for ThickBox into each [...]]]></description>
			<content:encoded><![CDATA[<p>ThickBox is a webpage UI dialog widget written in JavaScript on top of the jQuery library.Its function is to show a single image, multiple images, inline content, iframed content, or content served through Ajax in a<br />
bybrid modal&#8230;</p>
<h2><a name="howto">How to</a></h2>
<p>Once you activate the plugin it’ll include the CSS and JavaScript for ThickBox into each and every page on your blog. This way you can put ThickBox compliant markup wherever you want and everything should work as expected.</p>
<p>If you don’t want to include the CSS and JavaScript for ThickBox in every page on your blog but just on those pages that actually use ThickBox that’s possible too. Just open the file thickbox.php and change INCLUDE_JS_AND_CSS_EVERYWHERE (on line 40) to false.<br />
Now the plugin will not include the JavaScript and CSS in ever page on your website you’ll have to enable it for specific posts or pages.</p>
<p>You just have to add a custom field named thickbox with the value set to any non empty string. Once you’ve done that the CSS should appear in the header of your page and the JavaScript in the footer.</p>
<p>This isn’t the default behavior because it caused some hassle. But if you’re running a blog with a serious amount of visitors this will save you a lot of bandwidth.</p>
<p>Reference sites:</p>
<p>http://jquery.com/demo/thickbox/</p>
<p>http://www.christianschenk.org/projects/wordpress-thickbox-plugin/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-plugin-thickbox.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress plugin &#8211; google syntax highlighter usage</title>
		<link>http://www.ukoom.com/wordpress-plugin-google-syntax-highlighter-usage.htm</link>
		<comments>http://www.ukoom.com/wordpress-plugin-google-syntax-highlighter-usage.htm#comments</comments>
		<pubDate>Wed, 12 Nov 2008 10:16:14 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Documentum]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[IT Leading News]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=84</guid>
		<description><![CDATA[How to use SyntaxHighlighter. Placing the code Place your code on the page and surround it with &#60;pre&#62; tag. Set name attribute to code and class attribute to one of the language aliases you wish to use. &#60;pre name="code" class="c-sharp"&#62; ... some code here ... &#60;/pre&#62; NOTE: One important thing to watch out for is [...]]]></description>
			<content:encoded><![CDATA[<h2>How to use SyntaxHighlighter.</h2>
<h2>Placing the code</h2>
<p>Place your code on the page and surround it with <tt>&lt;pre&gt;</tt> tag. Set <tt>name</tt> attribute to <tt>code</tt> and <tt>class</tt> attribute to one of the language aliases you wish to use.</p>
<pre class="code" style="border-left: 3px solid #cccccc; padding: 0.5em; margin-left: 2em;">&lt;pre name="code" class="c-sharp"&gt;
... some code here ...
&lt;/pre&gt;</pre>
<p><strong>NOTE:</strong> One important thing to watch out for is opening triangular bracket <tt>&lt;</tt>. It must be replaced with an HTML equivalent of <tt>&amp;lt;</tt> in all cases. Failure to do won&#8217;t break the page, but might break the source code displayed.</p>
<p>An alternative to <tt>&lt;pre&gt;</tt> is to use <tt>&lt;textarea&gt;</tt> tag. There are no problems with <tt>&lt;</tt> character in that case. The main problem is that it doesn&#8217;t look as good as <tt>&lt;pre&gt;</tt> tag if for some reason JavaScript didn&#8217;t work (in RSS feed for example).</p>
<pre class="code" style="border-left: 3px solid #cccccc; padding: 0.5em; margin-left: 2em;">&lt;textarea name="code" class="c#" cols="60" rows="10"&gt;
... some code here ...
&lt;/textarea&gt;</pre>
<h2>Extended configuration</h2>
<p>There&#8217;s a way to pass a few configuration options to the code block. It&#8217;s done via colon separated arguments.</p>
<pre class="code" style="border-left: 3px solid #cccccc; padding: 0.5em; margin-left: 2em;">&lt;pre name="code" class="html:collapse"&gt;
... some code here ...
&lt;/pre&gt;</pre>
<h2>Making it work</h2>
<p>Finally, to get the whole thing to render properly on the page, you have to add JavaScript to the page.</p>
<pre name="code" class="html:collapse">&lt;link type="text/css" rel="stylesheet" href="css/SyntaxHighlighter.css"&gt;&lt;/link&gt;
&lt;script language="javascript" src="js/shCore.js"&gt;&lt;/script&gt;
&lt;script language="javascript" src="js/shBrushCSharp.js"&gt;&lt;/script&gt;
&lt;script language="javascript" src="js/shBrushXml.js"&gt;&lt;/script&gt;
&lt;script language="javascript"&gt;
dp.SyntaxHighlighter.ClipboardSwf = '/flash/clipboard.swf';
dp.SyntaxHighlighter.HighlightAll('code');
&lt;/script&gt;</pre>
<p>For optimal result, place this code at the very end of your page. Check <a href="http://code.google.com/p/syntaxhighlighter/wiki/HighlightAll">HighlightAll</a> for more details about the function.</p>
<p>Here&#8217;s a list of supported languages and their aliases:</p>
<table style="border-collapse: collapse;" border="0">
<tbody>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><strong>Language</strong></td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><strong>Aliases</strong></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">C++</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>cpp</tt>, <tt>c</tt>, <tt>c++</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">C#</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>c#</tt>, <tt>c-sharp</tt>, <tt>csharp</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">CSS</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>css</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Delphi</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>delphi</tt>, <tt>pascal</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Java</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>java</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Java Script</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>js</tt>, <tt>jscript</tt>, <tt>javascript</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">PHP</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>php</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Python</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>py</tt>, <tt>python</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Ruby</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>rb</tt>, <tt>ruby</tt>, <tt>rails</tt>, <tt>ror</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Sql</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>sql</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">VB</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>vb</tt>, <tt>vb.net</tt></td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;">XML/HTML</td>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>xml</tt>, <tt>html</tt>, <tt>xhtml</tt>,</td>
</tr>
</tbody>
</table>
<p><a name="Configuration_option">These options allow you to individually configure text blocks. </a></p>
<table border="0">
<tbody>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>nogutter</tt></td>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Will display no gutter.</td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>nocontrols</tt></td>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Will display no controls at the top.</td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>collapse</tt></td>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Will collapse the block by default.</td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>firstline[value]</tt></td>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Will begin line count at <tt>value</tt>. Default value is 1.</td>
</tr>
<tr>
<td style="border: 1px solid #aaaaaa; padding: 5px;"><tt>showcolumns</tt></td>
<td style="border: 1px solid #aaaaaa; padding: 5px;">Will show row columns in the first line.</td>
</tr>
</tbody>
</table>
<p><a name="Configuration_option">The options are passed together with the </a>alias and are separated by a colon <tt>:</tt> character.</p>
<pre class="prettyprint"><span class="pun">&lt;</span><span class="tag">pre</span><span class="pln"> </span><span class="atn">name</span><span class="pun">=</span><span class="atv">"code"</span><span class="pln"> </span><span class="atn">class</span><span class="pun">=</span><span class="atv">"html:nocontrols:firstline[10]"</span><span class="pun">&gt;</span><span class="pln">
... some code here ...
</span><span class="pun">&lt;/</span><span class="tag">pre</span><span class="pun">&gt;</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-plugin-google-syntax-highlighter-usage.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress plugins</title>
		<link>http://www.ukoom.com/wordpress-plugins.htm</link>
		<comments>http://www.ukoom.com/wordpress-plugins.htm#comments</comments>
		<pubDate>Tue, 11 Nov 2008 14:55:06 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Documentum]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=57</guid>
		<description><![CDATA[WP-DownloadManager It seems that the author is a student. &#8220;I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks as my school allowance, I will really appericiate it. If not feel free to use it without any [...]]]></description>
			<content:encoded><![CDATA[<p>WP-DownloadManager   It seems that the author is a student. &#8220;I spent most of my free time creating, updating, maintaining and supporting these plugins, if you really love my plugins and could spare me a couple of bucks as my school allowance, I will really appericiate it. If not feel free to use it without any obligations.&#8221;  is the &#8220;Donations&#8221; part in its readme.txt.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-plugins.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>wordpress themes</title>
		<link>http://www.ukoom.com/wordpress-themes.htm</link>
		<comments>http://www.ukoom.com/wordpress-themes.htm#comments</comments>
		<pubDate>Tue, 11 Nov 2008 14:37:47 +0000</pubDate>
		<dc:creator>ukoom</dc:creator>
				<category><![CDATA[Web x.0]]></category>
		<category><![CDATA[CMS]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.ukoom.com/?p=53</guid>
		<description><![CDATA[Blue Zinfandel is a 2 or 3-column Widget-ready theme, made especially for online newspapers or magazines.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.briangardner.com/themes/" target="_blank">Blue Zinfandel</a> is a 2 or 3-column Widget-ready theme, made especially for online newspapers or magazines.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ukoom.com/wordpress-themes.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

